set gdb variables Flashcards

1
Q

set {char} <address> = ‘’

set {char} <address> = ‘’</address></address>

A

Change 1 byte of memory. Can substitute int, other data types, etc. for char.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

set var = int

A

Change value of variable

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q

set $eax = 10

A

Change value in register

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
4
Q

set $i=
set $dyn = (char *) malloc 10
$demo =
set argv[1] = $demo

A

Set convenience variables

How well did you know this?
1
Not at all
2
3
4
5
Perfectly