#include <funcs.hpp> // For funcs definition #include <segment.hpp> // For segs definition #include <area.hpp> // funcs represents all functions, so get the first function area (0). area_t *firstFunc = funcs.getn_area(0); msg("First func starts: %a, ends: %a\n", firstFunc->startEA, firstFunc->endEA); // segs represents all segments, so get the first segment area (0). area_t *firstSeg = segs.getn_area(0); msg("First seg starts: %a, ends: %a\n", firstSeg->startEA, firstSeg->endEA);