mytbk / radare-uefi

helper radare2 script to analyze UEFI firmware modules
GNU General Public License v3.0
15 stars 1 forks source link

KeyError: 'disasm' #1

Open KingBonecrusher opened 5 years ago

KingBonecrusher commented 5 years ago

File "./uefi_anal.py", line 95, in <module> g = find_tables("$$") File "./uefi_anal.py", line 45, in find_tables if ('qword [rdx + 0x60]' in insn['disasm']): KeyError: 'disasm'

Did i miss something? I do the following steps:

radare2 -d uefi.efi #!pipe python3 ./uefi_anal.py

mytbk commented 5 years ago

Every instruction should have a disasm key. You may need to print out this instruction to debug this.