#include <dbg.hpp> // Get the address of where the function named 'myfunc' is. ea_t addr = get_name_ea(BADADDR, "myfunc"); if (addr != BADADDR) { // Run until execution hits myfunc (queued) request_run_to(addr); // Step into the function (queued) request_step_into(); // Continue executing until myfunc returns (queued) request_step_until_ret(); // Run through the queue run_requests(); }