Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

KeyError: 'bw' #11

Open
kcufId opened this issue Jan 25, 2024 · 1 comment
Open

KeyError: 'bw' #11

kcufId opened this issue Jan 25, 2024 · 1 comment

Comments

@kcufId
Copy link

kcufId commented Jan 25, 2024

First of all thank you very much for this tool.
Some errors occurred during my use.

`KeyError:'bw',`

I used arm files, error stackclll: ins_b_jmp_hex_arm(), called:
line(243), patch_value = ins_b_jmp_hex_arm(instr.address, children[0], bx_cond)

bx_cond = 'b' + instr.mnemonic[len('mov'):]
Then I added a new print below: print('[x] b: {:#x}'.format(instr.address))
Then, the assembly corresponding to the address is:
MOVW R2, #0xBA7B,
How to deal with this?

@cq674350529
Copy link
Owner

@kcufId Sorry for the later response. Can you provide more information? Such as how you run the script, and your binary if possible.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants