When loading a .exe file within OllyDbg how can I step into the 'User Code' section?

Pressing 'Execute till User Code' (alt-f9) does nothing unfortunately for me.

If you need more information don't hesitate to ask

  • I am pretty sure You better to start from Entry point. Statically look into binary PE, find Entry Point address [AddressOfEntryPoint - usually RVA from Base]. When execute it with Olly, set breakpoint on EntryPointAddress and press Run. – Denis Laskov Aug 10 '15 at 6:46

Hit Ctrl+G and enter the address of the code you want to execute. Then press Ctrl+* (the numeric keypad * key, not the Shift+F8 key).

| improve this answer | |
  • How do I know what address translates to what section of the code within the interface? If WpMain is on address ex 'xxxxx' how can I tell what address the User Code section is? – Sad CRUD Developer Aug 10 '15 at 0:01
  • Open the Memory Map (View->Memory or Alt+M) to get all the sections. – Dillinur Aug 10 '15 at 8:34
  • @BDillan, you might need to explain what you mean by "User Code". – Jason Geffner Aug 10 '15 at 13:19

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.