Flag: Tornado! Hurricane!

OpenRCE IDA SDK >> get_prev_area

get_prev_area
Category: Areas

int
get_prev_area(ea_t ea)
Returns the number of the area preceding the area containing address ea.

Examples:
#include <segment.hpp> // For segs definition
#include <area.hpp>

// Loop through segments as areas from last to first
int i = segs.get_area_qty();
for (area_t *seg = segs.getn_area(0); i > 0; i--)
{
    msg ("Area start: %a, end: %a\n", seg->startEA, seg->endEA);
    int segNo = segs.get_next_area(seg->startEA);
    seg = segs.getn_area(segNo);
}


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 29,954 total registered users.


Recently Created Topics
pydbg bp_set_mem
Jun/18
Disassembling Motoro...
Jun/13
ida plugin writing f...
Jun/02
New version of RE-Go...
May/29
Decompiling raw bina...
May/22
Incorrect bitness wh...
May/20
PaiMei stalker modul...
May/19
Attach to program us...
May/13
IDA PRO how to make ...
May/12
FACT: OpenRCE is dead.
May/08


Recent Forum Posts
pydbg bp_set_mem
kitochou
pydbg, memory breakp...
kitochou
Good Binary Code Pro...
alton
Int 3 anti debug?
SteveIRQL
Attach to program us...
SteveIRQL
Ollydbg 2.0 - Plugin...
openrce...
IDA PRO how to make ...
codeinject
FACT: OpenRCE is dead.
codeinject
IDA Resource Viewer ...
r2x64
FACT: OpenRCE is dead.
djnemo


Recent Blog Entries
kitochou
Jun/18
pydbg

lowpriority
Apr/13
OllyMigrate Plugin for Olly...

everdox
Mar/08
2 anti-trace mechanisms spe...

everdox
Mar/07
Advanced debugging techniques

everdox
Mar/06
Branch tracing and LBR acce...

More ...


Recent Blog Comments
newlulu on:
Jun/10
Branch tracing and LBR acce...

newlulu on:
Jun/10
Advanced debugging techniques

newlulu on:
Jun/10
2 anti-trace mechanisms spe...

newlulu on:
Jun/10
OllyMigrate Plugin for Olly...

clarisonic on:
Apr/03
New version of Ollydbg!

More ...


Imagery
SoySauce Blueprint
Jun 6, 2008

[+] expand

View Gallery (11) / Submit