Skip to main content

Module ida-is

Shortcut functions for quickly checking or manipulating an address or function's flags.

Flag checks

Usage:

from ida_is import *

if HasAnyName(0x140000000) or HasAnyName('__ImageBase') or \
        HasAnyName(ida_funcs.get_func(0x140000000)):
    # ...

# Effectively identical to:
#     return idc.get_full_flags(_get_ea_by_any(ea)) & idc.FF_ANYNAME != 0

Functions

 def HasAnyName(ea)
 def HasLabel(ea)
 def HasName(ea)
 def HasUserName(ea)
 def IsAlign(ea)
 def IsBin0(ea)
 def IsBin1(ea)
 def IsByte(ea)
 def IsChar0(ea)
 def IsChar1(ea)
 def IsChunkHead(ea)
 def IsChunkStart(ea)
 def IsCode_(ea)
 def IsData(ea)
 def IsDec0(ea)
 def IsDec1(ea)
 def IsDefarg0(ea)
 def IsDefarg1(ea)
 def IsDouble(ea)
 def IsDword(ea)
 def IsEnum0(ea)
 def IsEnum1(ea)
 def IsExtern(ea)
 def IsExtra(ea)
 def IsFloat(ea)
 def IsFlow(ea)
 
 def IsFunc_(ea)
 def IsHead(ea)
 def IsHex0(ea)
 def IsHex1(ea)
 def IsManual0(ea)
 def IsManual1(ea)
 def IsOct0(ea)
 def IsOct1(ea)
 def IsOff0(ea)
 def IsOff1(ea)
 def IsOword(ea)
 def IsPackReal(ea)
 def IsQword(ea)
 def IsRef(ea)
 def IsSeg0(ea)
 def IsSeg1(ea)
 def IsStkvar0(ea)
 def IsStkvar1(ea)
 def IsStrlit(ea)
 def IsStroff0(ea)
 def IsStroff1(ea)
 def IsStruct(ea)
 def IsTail(ea)
 def IsTbyte(ea)
 def IsUnknown(ea)
 def IsWord(ea)

Function Flag Checking

 def IsFuncBottomBP(ea)
 def IsFuncEntry(ea)
 def IsFuncFar(ea)
 def IsFuncFrame(ea)
 def IsFuncFuzzySp(ea)
 def IsFuncHead(ea)
 def IsFuncHidden(ea)
 def IsFuncLib(ea)
 def IsFuncLumina(ea)
 def IsFuncNoRet(ea)
 def IsFuncNoRetPending(ea)
 def IsFuncPrologOk(ea)
 def IsFuncPurgedOk(ea)
 def IsFuncSpReady(ea)
 def IsFuncStart(ea)
 def IsFuncStaticDef(ea)
 def IsFuncTail(ea)
 def IsFuncThunk(ea)
 def IsFuncUserFar(ea)

Function Flags Setting

Usage:

from ida_is import *

SetFuncFar(0x140000000, true), SetFuncFar('__ImageBase', true), \
        SetFuncFar(ida_funcs.get_func(0x140000000), true)

# Effectively:
#     def SetFuncFar(ea, v):
#         if v:
#             _SetFuncFlags(_get_ea_by_any(ea), lambda x: x | ida_funcs.FUNC_FAR)
#         else:
#             _SetFuncFlags(_get_ea_by_any(ea), lambda x: x & ida_funcs.FUNC_FAR)

Functions

 def SetFuncBottomBP(ea, v)
 def SetFuncFar(ea, v)
 def SetFuncFrame(ea, v)
 def SetFuncFuzzySp(ea, v)
 def SetFuncHidden(ea, v)
 def SetFuncLib(ea, v)
 def SetFuncLumina(ea, v)
 def SetFuncNoRet(ea, v)
 def SetFuncNoRetPending(ea, v)
 def SetFuncPrologOk(ea, v)
 def SetFuncPurgedOk(ea, v)
 def SetFuncSpReady(ea, v)
 def SetFuncStaticDef(ea, v)
 def SetFuncTail(ea, v)
 def SetFuncThunk(ea, v)
 def SetFuncUserFar(ea, v)

Generated by pdoc 0.10.0 (https://pdoc3.github.io).

Metadata

Release files for ida-is 0.0.6

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for ida-is 0.0.6
File Size Uploaded Provenance Actions
ida-is-0.0.6.tar.gz 4.8 kB Without provenance Details for ida-is-0.0.6.tar.gz

Release files / ida-is-0.0.6.tar.gz

Download URL ida-is-0.0.6.tar.gz
Size 4.8 kB
Tags Source
SHA-256 checksum
How to use checksums
a72b9d21cef256349d9fe5feeb26194e78a76900b51295ac311b93f71c5bf840
BLAKE2b-256 checksum
How to use checksums
ef564f7c49d1d39468d23ea3c0a0f2fcb2317a7c328bda85be7764216464750f
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.4.2 importlib_metadata/4.8.1 pkginfo/1.7.1 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.2 CPython/3.7.9

Security for ida-is 0.0.6

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Release history Release notifications | RSS feed

This release

0.0.6 This release

1 release file No provenance

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page