#include <kernwin.hpp> // For askaddr() definition
#include <funcs.hpp> // For funcs definition
#include <area.hpp>
ea_t addr;
// Ask the user for an address (see section 5.3.7) askaddr(&addr, "Find the function owner of address:");
// Get the function that owns that address. You could use segs.get_area(addr) to get the segment that
// owned to address here too.
area_t *area = funcs.get_area(addr);
msg("Area holding %a starts at %a, ends at %a\n", addr, area->startEA, area->endEA);







