Is there a way, as ollydbg provides, to run untill user code (programmer code) with IDA PRO ? You can do that in several ways in olly, like setting a breakpoint on the .text section of main module.

  • What do you mean by user code ?
    – w s
    Feb 14 '17 at 8:54
  • @ws I guess OP means non-standard-library-code
    – Nordwald
    Feb 14 '17 at 11:20
  • @Nordwald There are different users(programmers), some of them are writing standard libraries :)
    – w s
    Feb 14 '17 at 11:28
  • @ws This is just the way ollydbg implements this function. Every code in the mapped executable is considered 'user code'
    – Nordwald
    Feb 14 '17 at 12:47

The answer to this question is that IDA provides the exact same option : Open the segment view subwindow and set a breakpoint on a memory region. Whenever non-library code (thanks to a comment on question for rephrasing with more accuracy what i meant) is hit, the debugger will break. Very usefull for instance for resuming after user input or IPC WM_COPYDATA procedure calls.

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.