Question: struct lnode { struct lnode * prev; struct lnode * next; char first; char * word; int length; } ; We decide to look at
struct lnode
struct lnode prev;
struct lnode next;
char first;
char word;
int length;
;
We decide to look at the node in gdb and see the following:
gdb xxg x
x: xfxcb
x: xbbfc xc
gdb xxg $rsp
xfffffffea: xfffffffebxe
xfffffffea: xfffffffeax
xfffffffea: xx
xfffffffea: xc xd
xfffffffea: xxfffffffea
xfffffffea: xx
xfffffffea: xxaaddbb
Fillin the following blanks for the node starting at address xfffffffea
The field length is stored at address Blank copy the value and paste it here including x
The field next is stored at address Blank copy the value and paste it here including x
The value stored in the field prev is Blank copy the value and paste it here including x
the second ASCII character referenced by word is Blank you can use an ASCII table
The value stored in the field length is Blank number in decimal
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
