SkillAgentSearch skills...

ALIEN

ALIEN: idA Local varIables/inLine functIons rEcogNizer

Install / Use

/learn @P1umer/ALIEN
About this skill

Quality Score

0/100

Supported Platforms

Universal

README

ALIEN: idA Local varIables(or inLine functIons) rEcogNizer

ALIEN is an IDA Pro plugin that allows the user to get more information about ida local variables and inline functions with the help of corresponding DWARF information.

Usage

python3 dwarf_parser.py <path_of_the_ELF>

This script will analysis the DWARF information of the given ELF file, and will produce .dwarf.json file contains the analytical result in the same folder.

<path_of_idat/idat64> -A -c -S"ida_parse_f5.py" <path_of_the_ELF>

This IDA-python script will produce .ida.json file contains the analytical result of IDA in the same folder.

python3 module_analysis.py <path_of_the_ELF>

If you run the first two steps and successfully get .dwarf.json as well as .ida.json file, then this module_analysis.py script will perform comprehensive analysis of these two. The result will be stored in .ans.json file.

This is an example of the .ans.json file:

{
    "ModuleInfo": {
        "ida_num_total": 4831,
        "ida_none_num_total": 683,
        "ida_has_dwarf_total": 306,
        "ida_reg_num_total": 4357,
        "ida_stack_num_total": 474,
        "dwarf_num_total": 2156,
        "dwarf_none_num_total": 585,
        "dwarf_reg_num_total": 1128,
        "dwarf_stack_num_total": 215,
        "dwarf_poly_num_total": 78,
        "dwarf_unknown_num_total": 150,
        "ans_ida_identified_num_total": 194
    },
    "FunctionInfo": [
        {
            "func_name": "errorlimit",
            "ida_num": 6,
            "ida_none_num": 1,
            "ida_has_dwarf": 0,
            "ida_reg_num": 6,
            "ida_stack_num": 0,
            "dwarf_num": 0,
            "dwarf_none_num": 0,
            "dwarf_reg_num": 0,
            "dwarf_stack_num": 0,
            "dwarf_poly_num": 0,
            "dwarf_unknown_num": 0,
            "ans_ida_identified_num": 0
        }
    ···
    ]

Related Skills

View on GitHub
GitHub Stars18
CategoryDevelopment
Updated11mo ago
Forks5

Languages

Python

Security Score

67/100

Audited on May 4, 2025

No findings