4

How do I get to the entry point of a .exe file using radare2? I tried using aa then pdf@sym.main, but a prompt showed saying "Cannot find function at 0x00000000"

9

The entrypoint can be found using the info command i? especially the entrypoint info command ie

[0x00404890]> ie
[Entrypoints]
vaddr=0x00404890 paddr=0x00004890 baddr=0x00400000 laddr=0x00000000

1 entrypoints

Alternatively you can use rabin2 -e <file>.

| improve this answer | |

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.