Fixed som small dumb errors.
This commit is contained in:
parent
9397c8cc56
commit
b783b22bc4
|
@ -3,7 +3,7 @@ import re
|
|||
import sys
|
||||
|
||||
REGISTERS=["%rax", "%rbx", "%rcx", "%rdx", "%rsp", "%rbp", "%rsi", "%rdi",
|
||||
"%r8," "%r9," "%r10", "%r11", "%r12", "%r13", "%r14", "%r15"]
|
||||
"%r8", "%r9", "%r10", "%r11", "%r12", "%r13", "%r14", "%r15"]
|
||||
REG_STATUS_TO_COLOR = {
|
||||
"insert": "green",
|
||||
"change": "yellow",
|
||||
|
|
|
@ -61,8 +61,8 @@ if __name__ == "__main__":
|
|||
|
||||
# Setup
|
||||
registers = ["%rip","%rbp","%rsp","","%rax","%rdi","%r8","%r9"]
|
||||
emu = infernal.Emulator(fib_prog, registers)
|
||||
painter = infernal.TikzPainter()
|
||||
emu = infernal.Emulator(fib_prog)
|
||||
painter = infernal.TikzPainter(registers)
|
||||
emu.setStack("junk...", "calling eip")
|
||||
emu.setRegs( rip = 0, rbp = 'old bp', rdi = a )
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user