sqlite3.c
lines 80890 to 80899 of 262899
80890
SQLITE_PRIVATE
int
sqlite3BtreeInsert
(
80891
BtCursor
*
pCur
,
/* Insert data into the table
…
80892
const
BtreePayload
*
pX
,
/* Content of the row to be in
…
80893
int
flags
,
/* True if this is likely an a
…
80894
int
seekResult
/* Result of prior IndexMoveto
…
80895
)
{
80896
int
rc
;
80897
int
loc
=
seekResult
;
/* -1: before desired location
…
80898
int
szNew
=
0
;
80899
int
idx
;
disassembly
sqlite3BtreeInsert
448d
80
80895
push
rbp
448d
81
mov
rbp, rsp
448d
84
push
r15
448d
86
push
r14
448d
88
push
r13
448d
8a
push
r12
448d
8c
push
rbx
448d
8d
sub
rsp, 0xa8
448d
94
mov
r14d, ecx
registers
stack
heap
code
data
rwx
read-only
rax
5226d0
0
rbx
1
rcx
0
rdx
8
rsi
7fffffffea60
0
rdi
521978
0x101
257
rbp
7fffffffe980
7fffffffeb90
7fffffffec60
7fffffffece0
rsp
7fffffffe980
7fffffffeb90
7fffffffec60
7fffffffece0
r8
0x38
56
r9
0
r10
7
r11
0xffffffff
r12
0
r13
5222d0
0x39fb80
r14
5218f8
0x40100010000
r15
0
rip
448d84
sqlite3BtreeInsert+4
cf
pf
af
zf
sf
IF
df
of
stack
six words from rsp · the frames they belong to
rbp rsp
7fffffffe9
80
7fffffffeb90
7fffffffec60
7fffffffe9
88
43e029
sqlite3VdbeExec+18905
7fffffffe9
90
7ffff7c0ed60
0xd001200000f05
7fffffffe9
98
7fffffffea18
517378
513010
7fffffffe9
a0
521ed0
0
7fffffffe9
a8
7fffffffea18
517378
513010
sqlite3BtreeInsert
sqlite3VdbeExec
backtrace
newest on top
#0
sqlite3BtreeInsert+4
sqlite3.c:80895
#1
sqlite3VdbeExec+18905
#2
sqlite3_step+910
#3
sqlite3_exec+394
#4
main+56
#5
libc.so.6+27781
#6
__libc_start_main+137
#7
_start+37
its bytes
pX, the row: a BtreePayload, at rsi
7fffffffea
60
00
00
00
00
00
00
00
00
NULL
01
00
00
00
00
00
00
00
1
7fffffffea
70
88
4d
52
00
00
00
00
00
524d88
00
00
00
00
00
00
00
00
NULL
7fffffffea
80
00
00
0
00
00
07
00
00
00
7
00
00
00
00
0
01
00
00
00
moment 9 of 58
sqlite3VdbeExec, the bytecode's loop, calls the B-tree: rdi is
the table's cursor, rsi the row: rowid 1, a record of 7 bytes.