Flag: Tornado! Hurricane!

Error: Authentication required to access requested resource.

OpenRCE IDA SDK >> isUnknown

isUnknown
Category: Flags

inline bool idaapi
isUnknown(flags_t F)
Does the flagset, F, denote a byte that hasn't been successfully analysed by IDA?

Examples:
#include <segment.hpp> // For segment functions
#include <bytes.hpp>

// Loop through every segment
for (int i = 0; i < get_segm_qty(); i++)
{
    segment_t *seg = getnseg(i);
    
    // Look for any unexplored bytes in this segment
    for (ea_t a = seg->startEA; a < seg->endEA; a++)
    {
        flags_t flags = getFlags(a);
        
        if (isUnknown(flags))
            msg("Unknown bytes at %a in segment: %s.\n", a, get_segm_name(seg));
    }
}


Related: getFlags, isCode, isData, isEnabled, isHead, isUnknown

Note: You must be logged in to add notes to the IDA SDK reference manual.
Active in Last 5 Minutes
dennis

There are 20,335 total registered users.


Recently Created Topics
Career: Threat Inte...
Jul/30
Career: Security Res...
Jul/30
Library Debugging Pr...
Jul/29
Pydbg attach Vs load?
Jul/29
IDA and MIPS (emulat...
Jul/27
UK Cyber Security ch...
Jul/26
System Service Descr...
Jul/26
LD_PRELOAD Question
Jul/23
Patching Application...
Jul/22
Contract: Research E...
Jul/19


Recent Forum Posts
Pydbg attach Vs load?
aMIr
LD_PRELOAD Question
monarch
LD_PRELOAD Question
justano...
LD_PRELOAD Question
monarch
Patching Application...
hughhan
Patching Application...
jduck
immunity debugger pl...
Malware...
paimei installation ...
wishi
IDA Pro customization
wishi
how to chnage an ins...
ConsoleFx


Recent Blog Entries
ResearchAviator
Jul/28
Installation procedure for ...

artemblagodarenko
Jul/27
Common function prototype

dennis
Jul/24
Dr. Gadget IDAPython plugin

trufae
Jul/23
radare2 0.5 released

AmrThabet
Jul/21
Pokas x86 Emulator for Gene...

More ...


Recent Blog Comments
omeg on:
Jul/29
Windows 7 syscall list

renzosilv on:
Jul/26
Windows 7 syscall list

renzosilv on:
Jul/26
Windows 7 syscall list

Dreg on:
Jul/21
HiperDrop 0.0.1

djnemo on:
Jul/20
HiperDrop 0.0.1

More ...


Imagery
SoySauce Blueprint
Jun 6, 2008

[+] expand

View Gallery (11) / Submit