Flag: Tornado! Hurricane!

 Forums >>  IDA Pro  >>  Problem with align

Topic created on: March 27, 2010 17:11 CDT by digi .

Hi, i'm working on a IDA-Plugin (IDA 5.0), and want find "basic blocks", but have a problem with "align". How function need apply, that "align" not identity as instruction.

I use the next code for go on code function and check all instructions:

if(ua_ana0(addr)>0)
{...}
else
{
prev_addr=addr;
addr++;
}

but next problem code:

.text:7900D60A inc edi
.text:7900D60B jmp short loc_7900D5AB <- end previous BB
.text:7900D60B ; --------------------------------------------------------------------------- <- problem
.text:7900D60D align 10h <- start align
.text:7900D610 dword_7900D610 dd 0FFFFFFFEh, 0 ; DATA XREF: __fcloseall+2 o
.text:7900D618 dd 0FFFFFFD0h, 0
.text:7900D620 dd 0FFFFFFFEh, 0
.text:7900D628 dd offset sub_7900D641
.text:7900D62C ; ---------------------------------------------------------------------------
.text:7900D62C <- start new BB
.text:7900D62C loc_7900D62C: ; CODE XREF: __fcloseall+28 j
.text:7900D62C mov [ebp+ms_exc.disabled], 0FFFFFFFEh
.text:7900D633 call sub_7900D641


May be has more easy way to find BB.

No posts found under this topic.
Note: Registration is required to post to the forums.

There are 28,224 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