-
I have start learning pwntools as i was writing my program and try to disassemble elf i got this error. I try to edit and convert it to same value after some try it work starting to got error in another script. Anyway i can't make it work. |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 6 replies
-
What type is b? is it an ELF? Maybe this deserves opening an issue? |
Beta Was this translation helpful? Give feedback.
Alright, I now had a closer look and I think that this makes no sense:
ELF.disasm
takes address and size; you gave it some binary data and size, so it is no wonder that it didn't work.Maybe you meant b.disasm(b.address, 16)? Or b.disasm(b.sym.data, 16)?