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.
2
Q
set var = int
A
Change value of variable
3
Q
set $eax = 10
A
Change value in register
4
Q
set $i=
set $dyn = (char *) malloc 10
$demo =
set argv[1] = $demo
A
Set convenience variables