Flag: Tornado! Hurricane!

Error: Authentication required to access requested resource.

OpenRCE IDA SDK >> getn_area

getn_area
Category: Areas

area_t *
getn_area(unsigned int n)
Returns a pointer to an area_t struct for the area number supplied as n.

Examples:
#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);


Related: getn_area, get_area, get_area_qty, get_first_cref_to, get_next_area, get_prev_area, prev_not_tail, set_item_color

Note: You must be logged in to add notes to the IDA SDK reference manual.

There are 28,229 total registered users.


Recently Created Topics
Reverse Engineering ...
Jan/23
Career: DoD Agency I...
Jan/22
"Disappearing&q...
Jan/17
Career: Software Sec...
Jan/11
Where is the call st...
Jan/07
IDA Pro 6.1 Breakpoi...
Jan/01
How to create data s...
Dec/30
can i search all mod...
Dec/23
IDA symbol table exp...
Dec/20
An anti-attach trick
Dec/17


Recent Forum Posts
Reverse Engineering ...
NirIzr
"Disappearing&q...
NirIzr
Reverse Engineering ...
charlie
"Disappearing&q...
charlie
An anti-attach trick
Bass
An anti-attach trick
waleeda...
An anti-attach trick
Bass
An anti-attach trick
waleeda...
An anti-attach trick
Bass
Looking for value in...
NirIzr


Recent Blog Entries
cmathieu
Feb/07
Hacker Carnival

waleedassar
Feb/06
OllyDbg v1.10 And Hardware ...

waleedassar
Jan/31
Yet Another Anti-Debug Trick

RolfRolles
Jan/22
Finding Bugs in VMs with a ...

waleedassar
Jan/13
An OllyDbg Bug Disables Sof...

More ...


Recent Blog Comments
waleedassar on:
Feb/07
OllyDbg v1.10 And Hardware ...

NirIzr on:
Feb/07
OllyDbg v1.10 And Hardware ...

NirIzr on:
Feb/05
Yet Another Anti-Debug Trick

trolotou on:
Feb/05
Doudoune Moncler -Pennies F...

waleedassar on:
Feb/01
Yet Another Anti-Debug Trick

More ...


Imagery
SoySauce Blueprint
Jun 6, 2008

[+] expand

View Gallery (11) / Submit