fix small mistake in r2_analyze.py

This commit is contained in:
Daniel S. 2020-01-03 04:21:06 +01:00
parent 7f34e298b8
commit 3fca2cd438

View file

@ -101,7 +101,7 @@ for addr, name in config.functions.items():
x64_dbg_label(addr,name,"fcn") x64_dbg_label(addr,name,"fcn")
r2_cmd(f"afr fcn.{name} {hex(addr)}") r2_cmd(f"afr fcn.{name} {hex(addr)}")
for addr,sig in config.function_signatures: for addr,sig in config.function_signatures.items():
r2_cmd(f'"afs {config.function_signatures[addr]}" @{hex(addr)}') r2_cmd(f'"afs {config.function_signatures[addr]}" @{hex(addr)}')