[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill-trail-of-bits-ghidra-headless":3,"mdc--ioupg-key":34,"related-org-trail-of-bits-ghidra-headless":1472,"related-repo-trail-of-bits-ghidra-headless":1627},{"slug":4,"name":4,"fn":5,"description":6,"org":7,"tags":12,"stars":23,"repoUrl":24,"updatedAt":25,"license":26,"forks":27,"topics":28,"repo":29,"sourceUrl":32,"mdContent":33},"ghidra-headless","reverse engineer binaries with Ghidra","Reverse engineers binaries using Ghidra's headless analyzer. Use when decompiling executables, extracting functions, strings, symbols, or analyzing call graphs from compiled binaries without the Ghidra GUI.",{"slug":8,"name":9,"logoUrl":10,"githubOrg":11},"trail-of-bits","Trail of Bits","https:\u002F\u002Fpexgzepcugksgbtrxkhf.supabase.co\u002Fstorage\u002Fv1\u002Fobject\u002Fpublic\u002Forg-logos\u002Ftrail-of-bits.png","trailofbits",[13,17,20],{"name":14,"slug":15,"type":16},"Security","security","tag",{"name":18,"slug":19,"type":16},"Code Analysis","code-analysis",{"name":21,"slug":22,"type":16},"Debugging","debugging",460,"https:\u002F\u002Fgithub.com\u002Ftrailofbits\u002Fskills-curated","2026-07-18T05:47:30.015093",null,29,[],{"repoUrl":24,"stars":23,"forks":27,"topics":30,"description":31},[],"Curated, community-vetted Claude Code plugin marketplace","https:\u002F\u002Fgithub.com\u002Ftrailofbits\u002Fskills-curated\u002Ftree\u002FHEAD\u002Fplugins\u002Fghidra-headless\u002Fskills\u002Fghidra-headless","---\nname: ghidra-headless\ndescription: >-\n  Reverse engineers binaries using Ghidra's headless analyzer. Use when\n  decompiling executables, extracting functions, strings, symbols, or\n  analyzing call graphs from compiled binaries without the Ghidra GUI.\nallowed-tools:\n  - Bash\n  - Read\n  - Grep\n  - Glob\n---\n\n# Ghidra Headless Analysis\n\nPerform automated reverse engineering using Ghidra's `analyzeHeadless` tool.\nImport binaries, run analysis, decompile to C code, and extract useful\ninformation.\n\n## When to Use\n\n- Decompiling a binary to C pseudocode for review\n- Extracting function signatures, strings, or symbols from executables\n- Analyzing call graphs to understand binary control flow\n- Triaging unknown binaries or firmware images\n- Batch-analyzing multiple binaries for comparison\n- Security auditing compiled code without source access\n\n## When NOT to Use\n\n- Source code is available — read it directly instead\n- Interactive debugging is needed — use GDB, LLDB, or Ghidra GUI\n- The binary is a .NET assembly — use dnSpy or ILSpy\n- The binary is Java bytecode — use jadx or cfr\n- Dynamic analysis is required — use a debugger or sandbox\n\n## Quick Reference\n\n| Task | Command |\n|------|---------|\n| Full analysis with all exports | `{baseDir}\u002Fscripts\u002Fghidra-analyze.sh -s ExportAll.java -o .\u002Foutput binary` |\n| Decompile to C code | `{baseDir}\u002Fscripts\u002Fghidra-analyze.sh -s ExportDecompiled.java -o .\u002Foutput binary` |\n| List functions | `{baseDir}\u002Fscripts\u002Fghidra-analyze.sh -s ExportFunctions.java -o .\u002Foutput binary` |\n| Extract strings | `{baseDir}\u002Fscripts\u002Fghidra-analyze.sh -s ExportStrings.java -o .\u002Foutput binary` |\n| Get call graph | `{baseDir}\u002Fscripts\u002Fghidra-analyze.sh -s ExportCalls.java -o .\u002Foutput binary` |\n| Export symbols | `{baseDir}\u002Fscripts\u002Fghidra-analyze.sh -s ExportSymbols.java -o .\u002Foutput binary` |\n| Find Ghidra path | `{baseDir}\u002Fscripts\u002Ffind-ghidra.sh` |\n\n## Prerequisites\n\n- **Ghidra** must be installed. On macOS: `brew install --cask ghidra`\n- **Java** (OpenJDK 17+) must be available\n\nThe skill automatically locates Ghidra in common installation paths. Set\n`GHIDRA_HOME` environment variable if Ghidra is installed in a non-standard\nlocation.\n\n## Main Wrapper Script\n\n```bash\n{baseDir}\u002Fscripts\u002Fghidra-analyze.sh [options] \u003Cbinary>\n```\n\nWrapper that handles project creation\u002Fcleanup and provides a simpler\ninterface to `analyzeHeadless`.\n\n**Options:**\n- `-o, --output \u003Cdir>` — Output directory for results (default: current dir)\n- `-s, --script \u003Cname>` — Post-analysis script to run (can be repeated)\n- `-a, --script-args \u003Cargs>` — Arguments for the last specified script\n- `--script-path \u003Cpath>` — Additional script search path\n- `-p, --processor \u003Cid>` — Processor\u002Farchitecture (e.g., `x86:LE:32:default`)\n- `-c, --cspec \u003Cid>` — Compiler spec (e.g., `gcc`, `windows`)\n- `--no-analysis` — Skip auto-analysis (faster, but less info)\n- `--timeout \u003Cseconds>` — Analysis timeout per file\n- `--keep-project` — Keep the Ghidra project after analysis\n- `--project-dir \u003Cdir>` — Directory for Ghidra project (default: \u002Ftmp)\n- `--project-name \u003Cname>` — Project name (default: auto-generated)\n- `-v, --verbose` — Verbose output\n\n## Built-in Export Scripts\n\n### ExportAll.java\n\nRuns summary, decompilation, function list, strings, and interesting-pattern\nexports. Does not include call graph or symbols — run ExportCalls.java and\nExportSymbols.java separately if needed. Best for initial analysis.\n\n**Output files:**\n- `{name}_summary.txt` — Overview: architecture, memory sections, function counts\n- `{name}_decompiled.c` — All functions decompiled to C\n- `{name}_functions.json` — Function list with signatures and calls\n- `{name}_strings.txt` — All strings found (plain text; use ExportStrings.java for JSON)\n- `{name}_interesting.txt` — Functions matching security-relevant patterns\n\n```bash\n{baseDir}\u002Fscripts\u002Fghidra-analyze.sh -s ExportAll.java -o .\u002Fanalysis firmware.bin\n```\n\n### ExportDecompiled.java\n\nDecompile all functions to C pseudocode.\n\n**Output:** `{name}_decompiled.c`\n\n### ExportFunctions.java\n\nExport function list as JSON with addresses, signatures, parameters, and\ncall relationships.\n\n**Output:** `{name}_functions.json`\n\n### ExportStrings.java\n\nExtract all strings (ASCII, Unicode) with addresses.\n\n**Output:** `{name}_strings.json`\n\n### ExportCalls.java\n\nExport function call graph showing caller\u002Fcallee relationships. Includes\nfull call graph, potential entry points, and most frequently called functions.\n\n**Output:** `{name}_calls.json`\n\n### ExportSymbols.java\n\nExport all symbols: imports, exports, and internal symbols.\n\n**Output:** `{name}_symbols.json`\n\n## Common Workflows\n\n### Analyze an Unknown Binary\n\n```bash\nmkdir -p .\u002Fanalysis\n{baseDir}\u002Fscripts\u002Fghidra-analyze.sh -s ExportAll.java -o .\u002Fanalysis unknown_binary\ncat .\u002Fanalysis\u002Funknown_binary_summary.txt\ncat .\u002Fanalysis\u002Funknown_binary_interesting.txt\n```\n\n### Analyze Firmware\n\n```bash\n{baseDir}\u002Fscripts\u002Fghidra-analyze.sh \\\n    -p \"ARM:LE:32:v7\" \\\n    -s ExportAll.java \\\n    -o .\u002Ffirmware_analysis \\\n    firmware.bin\n```\n\n### Quick Function Listing\n\n```bash\n{baseDir}\u002Fscripts\u002Fghidra-analyze.sh --no-analysis -s ExportFunctions.java -o . program\ncat program_functions.json | jq '.functions[] | \"\\(.address): \\(.name)\"'\n```\n\n### Find Specific Patterns\n\n```bash\n# After running ExportDecompiled, search for patterns\ngrep -n \"password\\|secret\\|key\" output_decompiled.c\ngrep -n \"strcpy\\|sprintf\\|gets\" output_decompiled.c\n```\n\n## Architecture\u002FProcessor IDs\n\nCommon processor IDs for the `-p` option:\n\n| Architecture | Processor ID |\n|-------------|--------------|\n| x86 32-bit | `x86:LE:32:default` |\n| x86 64-bit | `x86:LE:64:default` |\n| ARM 32-bit | `ARM:LE:32:v7` |\n| ARM 64-bit | `AARCH64:LE:64:v8A` |\n| MIPS 32-bit | `MIPS:BE:32:default` or `MIPS:LE:32:default` |\n| PowerPC | `PowerPC:BE:32:default` |\n\n## Troubleshooting\n\n### Ghidra Not Found\n\n```bash\n{baseDir}\u002Fscripts\u002Ffind-ghidra.sh\n# Or set GHIDRA_HOME if in non-standard location\nexport GHIDRA_HOME=\u002Fpath\u002Fto\u002Fghidra_11.x_PUBLIC\n```\n\n### Analysis Takes Too Long\n\n```bash\n{baseDir}\u002Fscripts\u002Fghidra-analyze.sh --timeout 300 -s ExportAll.java binary\n# Or skip analysis for quick export\n{baseDir}\u002Fscripts\u002Fghidra-analyze.sh --no-analysis -s ExportSymbols.java binary\n```\n\n### Out of Memory\n\nSet before running:\n```bash\nexport MAXMEM=4G\n```\n\n### Wrong Architecture Detected\n\nExplicitly specify the processor:\n```bash\n{baseDir}\u002Fscripts\u002Fghidra-analyze.sh -p \"ARM:LE:32:v7\" -s ExportAll.java firmware.bin\n```\n\n## Tips\n\n1. **Start with ExportAll.java** — gives everything; the summary helps orient\n2. **Check interesting.txt** — highlights security-relevant functions automatically\n3. **Use jq for JSON parsing** — JSON exports are designed to be machine-readable\n4. **Decompilation isn't perfect** — use as a guide, cross-reference with disassembly\n5. **Large binaries take time** — use `--timeout` and consider `--no-analysis` for quick scans\n",{"data":35,"body":41},{"name":4,"description":6,"allowed-tools":36},[37,38,39,40],"Bash","Read","Grep","Glob",{"type":42,"children":43},"root",[44,53,68,75,110,116,144,150,297,303,333,346,352,374,386,394,552,558,565,570,578,636,650,656,661,676,682,687,700,706,711,725,731,736,750,756,761,775,781,787,850,856,943,949,1001,1007,1082,1088,1101,1231,1237,1243,1290,1296,1327,1333,1338,1366,1372,1377,1391,1397,1466],{"type":45,"tag":46,"props":47,"children":49},"element","h1",{"id":48},"ghidra-headless-analysis",[50],{"type":51,"value":52},"text","Ghidra Headless Analysis",{"type":45,"tag":54,"props":55,"children":56},"p",{},[57,59,66],{"type":51,"value":58},"Perform automated reverse engineering using Ghidra's ",{"type":45,"tag":60,"props":61,"children":63},"code",{"className":62},[],[64],{"type":51,"value":65},"analyzeHeadless",{"type":51,"value":67}," tool.\nImport binaries, run analysis, decompile to C code, and extract useful\ninformation.",{"type":45,"tag":69,"props":70,"children":72},"h2",{"id":71},"when-to-use",[73],{"type":51,"value":74},"When to Use",{"type":45,"tag":76,"props":77,"children":78},"ul",{},[79,85,90,95,100,105],{"type":45,"tag":80,"props":81,"children":82},"li",{},[83],{"type":51,"value":84},"Decompiling a binary to C pseudocode for review",{"type":45,"tag":80,"props":86,"children":87},{},[88],{"type":51,"value":89},"Extracting function signatures, strings, or symbols from executables",{"type":45,"tag":80,"props":91,"children":92},{},[93],{"type":51,"value":94},"Analyzing call graphs to understand binary control flow",{"type":45,"tag":80,"props":96,"children":97},{},[98],{"type":51,"value":99},"Triaging unknown binaries or firmware images",{"type":45,"tag":80,"props":101,"children":102},{},[103],{"type":51,"value":104},"Batch-analyzing multiple binaries for comparison",{"type":45,"tag":80,"props":106,"children":107},{},[108],{"type":51,"value":109},"Security auditing compiled code without source access",{"type":45,"tag":69,"props":111,"children":113},{"id":112},"when-not-to-use",[114],{"type":51,"value":115},"When NOT to Use",{"type":45,"tag":76,"props":117,"children":118},{},[119,124,129,134,139],{"type":45,"tag":80,"props":120,"children":121},{},[122],{"type":51,"value":123},"Source code is available — read it directly instead",{"type":45,"tag":80,"props":125,"children":126},{},[127],{"type":51,"value":128},"Interactive debugging is needed — use GDB, LLDB, or Ghidra GUI",{"type":45,"tag":80,"props":130,"children":131},{},[132],{"type":51,"value":133},"The binary is a .NET assembly — use dnSpy or ILSpy",{"type":45,"tag":80,"props":135,"children":136},{},[137],{"type":51,"value":138},"The binary is Java bytecode — use jadx or cfr",{"type":45,"tag":80,"props":140,"children":141},{},[142],{"type":51,"value":143},"Dynamic analysis is required — use a debugger or sandbox",{"type":45,"tag":69,"props":145,"children":147},{"id":146},"quick-reference",[148],{"type":51,"value":149},"Quick Reference",{"type":45,"tag":151,"props":152,"children":153},"table",{},[154,173],{"type":45,"tag":155,"props":156,"children":157},"thead",{},[158],{"type":45,"tag":159,"props":160,"children":161},"tr",{},[162,168],{"type":45,"tag":163,"props":164,"children":165},"th",{},[166],{"type":51,"value":167},"Task",{"type":45,"tag":163,"props":169,"children":170},{},[171],{"type":51,"value":172},"Command",{"type":45,"tag":174,"props":175,"children":176},"tbody",{},[177,195,212,229,246,263,280],{"type":45,"tag":159,"props":178,"children":179},{},[180,186],{"type":45,"tag":181,"props":182,"children":183},"td",{},[184],{"type":51,"value":185},"Full analysis with all exports",{"type":45,"tag":181,"props":187,"children":188},{},[189],{"type":45,"tag":60,"props":190,"children":192},{"className":191},[],[193],{"type":51,"value":194},"{baseDir}\u002Fscripts\u002Fghidra-analyze.sh -s ExportAll.java -o .\u002Foutput binary",{"type":45,"tag":159,"props":196,"children":197},{},[198,203],{"type":45,"tag":181,"props":199,"children":200},{},[201],{"type":51,"value":202},"Decompile to C code",{"type":45,"tag":181,"props":204,"children":205},{},[206],{"type":45,"tag":60,"props":207,"children":209},{"className":208},[],[210],{"type":51,"value":211},"{baseDir}\u002Fscripts\u002Fghidra-analyze.sh -s ExportDecompiled.java -o .\u002Foutput binary",{"type":45,"tag":159,"props":213,"children":214},{},[215,220],{"type":45,"tag":181,"props":216,"children":217},{},[218],{"type":51,"value":219},"List functions",{"type":45,"tag":181,"props":221,"children":222},{},[223],{"type":45,"tag":60,"props":224,"children":226},{"className":225},[],[227],{"type":51,"value":228},"{baseDir}\u002Fscripts\u002Fghidra-analyze.sh -s ExportFunctions.java -o .\u002Foutput binary",{"type":45,"tag":159,"props":230,"children":231},{},[232,237],{"type":45,"tag":181,"props":233,"children":234},{},[235],{"type":51,"value":236},"Extract strings",{"type":45,"tag":181,"props":238,"children":239},{},[240],{"type":45,"tag":60,"props":241,"children":243},{"className":242},[],[244],{"type":51,"value":245},"{baseDir}\u002Fscripts\u002Fghidra-analyze.sh -s ExportStrings.java -o .\u002Foutput binary",{"type":45,"tag":159,"props":247,"children":248},{},[249,254],{"type":45,"tag":181,"props":250,"children":251},{},[252],{"type":51,"value":253},"Get call graph",{"type":45,"tag":181,"props":255,"children":256},{},[257],{"type":45,"tag":60,"props":258,"children":260},{"className":259},[],[261],{"type":51,"value":262},"{baseDir}\u002Fscripts\u002Fghidra-analyze.sh -s ExportCalls.java -o .\u002Foutput binary",{"type":45,"tag":159,"props":264,"children":265},{},[266,271],{"type":45,"tag":181,"props":267,"children":268},{},[269],{"type":51,"value":270},"Export symbols",{"type":45,"tag":181,"props":272,"children":273},{},[274],{"type":45,"tag":60,"props":275,"children":277},{"className":276},[],[278],{"type":51,"value":279},"{baseDir}\u002Fscripts\u002Fghidra-analyze.sh -s ExportSymbols.java -o .\u002Foutput binary",{"type":45,"tag":159,"props":281,"children":282},{},[283,288],{"type":45,"tag":181,"props":284,"children":285},{},[286],{"type":51,"value":287},"Find Ghidra path",{"type":45,"tag":181,"props":289,"children":290},{},[291],{"type":45,"tag":60,"props":292,"children":294},{"className":293},[],[295],{"type":51,"value":296},"{baseDir}\u002Fscripts\u002Ffind-ghidra.sh",{"type":45,"tag":69,"props":298,"children":300},{"id":299},"prerequisites",[301],{"type":51,"value":302},"Prerequisites",{"type":45,"tag":76,"props":304,"children":305},{},[306,323],{"type":45,"tag":80,"props":307,"children":308},{},[309,315,317],{"type":45,"tag":310,"props":311,"children":312},"strong",{},[313],{"type":51,"value":314},"Ghidra",{"type":51,"value":316}," must be installed. On macOS: ",{"type":45,"tag":60,"props":318,"children":320},{"className":319},[],[321],{"type":51,"value":322},"brew install --cask ghidra",{"type":45,"tag":80,"props":324,"children":325},{},[326,331],{"type":45,"tag":310,"props":327,"children":328},{},[329],{"type":51,"value":330},"Java",{"type":51,"value":332}," (OpenJDK 17+) must be available",{"type":45,"tag":54,"props":334,"children":335},{},[336,338,344],{"type":51,"value":337},"The skill automatically locates Ghidra in common installation paths. Set\n",{"type":45,"tag":60,"props":339,"children":341},{"className":340},[],[342],{"type":51,"value":343},"GHIDRA_HOME",{"type":51,"value":345}," environment variable if Ghidra is installed in a non-standard\nlocation.",{"type":45,"tag":69,"props":347,"children":349},{"id":348},"main-wrapper-script",[350],{"type":51,"value":351},"Main Wrapper Script",{"type":45,"tag":353,"props":354,"children":359},"pre",{"className":355,"code":356,"language":357,"meta":358,"style":358},"language-bash shiki shiki-themes material-theme-lighter material-theme material-theme-palenight","{baseDir}\u002Fscripts\u002Fghidra-analyze.sh [options] \u003Cbinary>\n","bash","",[360],{"type":45,"tag":60,"props":361,"children":362},{"__ignoreMap":358},[363],{"type":45,"tag":364,"props":365,"children":368},"span",{"class":366,"line":367},"line",1,[369],{"type":45,"tag":364,"props":370,"children":372},{"style":371},"--shiki-light:#90A4AE;--shiki-default:#EEFFFF;--shiki-dark:#BABED8",[373],{"type":51,"value":356},{"type":45,"tag":54,"props":375,"children":376},{},[377,379,384],{"type":51,"value":378},"Wrapper that handles project creation\u002Fcleanup and provides a simpler\ninterface to ",{"type":45,"tag":60,"props":380,"children":382},{"className":381},[],[383],{"type":51,"value":65},{"type":51,"value":385},".",{"type":45,"tag":54,"props":387,"children":388},{},[389],{"type":45,"tag":310,"props":390,"children":391},{},[392],{"type":51,"value":393},"Options:",{"type":45,"tag":76,"props":395,"children":396},{},[397,408,419,430,441,460,486,497,508,519,530,541],{"type":45,"tag":80,"props":398,"children":399},{},[400,406],{"type":45,"tag":60,"props":401,"children":403},{"className":402},[],[404],{"type":51,"value":405},"-o, --output \u003Cdir>",{"type":51,"value":407}," — Output directory for results (default: current dir)",{"type":45,"tag":80,"props":409,"children":410},{},[411,417],{"type":45,"tag":60,"props":412,"children":414},{"className":413},[],[415],{"type":51,"value":416},"-s, --script \u003Cname>",{"type":51,"value":418}," — Post-analysis script to run (can be repeated)",{"type":45,"tag":80,"props":420,"children":421},{},[422,428],{"type":45,"tag":60,"props":423,"children":425},{"className":424},[],[426],{"type":51,"value":427},"-a, --script-args \u003Cargs>",{"type":51,"value":429}," — Arguments for the last specified script",{"type":45,"tag":80,"props":431,"children":432},{},[433,439],{"type":45,"tag":60,"props":434,"children":436},{"className":435},[],[437],{"type":51,"value":438},"--script-path \u003Cpath>",{"type":51,"value":440}," — Additional script search path",{"type":45,"tag":80,"props":442,"children":443},{},[444,450,452,458],{"type":45,"tag":60,"props":445,"children":447},{"className":446},[],[448],{"type":51,"value":449},"-p, --processor \u003Cid>",{"type":51,"value":451}," — Processor\u002Farchitecture (e.g., ",{"type":45,"tag":60,"props":453,"children":455},{"className":454},[],[456],{"type":51,"value":457},"x86:LE:32:default",{"type":51,"value":459},")",{"type":45,"tag":80,"props":461,"children":462},{},[463,469,471,477,479,485],{"type":45,"tag":60,"props":464,"children":466},{"className":465},[],[467],{"type":51,"value":468},"-c, --cspec \u003Cid>",{"type":51,"value":470}," — Compiler spec (e.g., ",{"type":45,"tag":60,"props":472,"children":474},{"className":473},[],[475],{"type":51,"value":476},"gcc",{"type":51,"value":478},", ",{"type":45,"tag":60,"props":480,"children":482},{"className":481},[],[483],{"type":51,"value":484},"windows",{"type":51,"value":459},{"type":45,"tag":80,"props":487,"children":488},{},[489,495],{"type":45,"tag":60,"props":490,"children":492},{"className":491},[],[493],{"type":51,"value":494},"--no-analysis",{"type":51,"value":496}," — Skip auto-analysis (faster, but less info)",{"type":45,"tag":80,"props":498,"children":499},{},[500,506],{"type":45,"tag":60,"props":501,"children":503},{"className":502},[],[504],{"type":51,"value":505},"--timeout \u003Cseconds>",{"type":51,"value":507}," — Analysis timeout per file",{"type":45,"tag":80,"props":509,"children":510},{},[511,517],{"type":45,"tag":60,"props":512,"children":514},{"className":513},[],[515],{"type":51,"value":516},"--keep-project",{"type":51,"value":518}," — Keep the Ghidra project after analysis",{"type":45,"tag":80,"props":520,"children":521},{},[522,528],{"type":45,"tag":60,"props":523,"children":525},{"className":524},[],[526],{"type":51,"value":527},"--project-dir \u003Cdir>",{"type":51,"value":529}," — Directory for Ghidra project (default: \u002Ftmp)",{"type":45,"tag":80,"props":531,"children":532},{},[533,539],{"type":45,"tag":60,"props":534,"children":536},{"className":535},[],[537],{"type":51,"value":538},"--project-name \u003Cname>",{"type":51,"value":540}," — Project name (default: auto-generated)",{"type":45,"tag":80,"props":542,"children":543},{},[544,550],{"type":45,"tag":60,"props":545,"children":547},{"className":546},[],[548],{"type":51,"value":549},"-v, --verbose",{"type":51,"value":551}," — Verbose output",{"type":45,"tag":69,"props":553,"children":555},{"id":554},"built-in-export-scripts",[556],{"type":51,"value":557},"Built-in Export Scripts",{"type":45,"tag":559,"props":560,"children":562},"h3",{"id":561},"exportalljava",[563],{"type":51,"value":564},"ExportAll.java",{"type":45,"tag":54,"props":566,"children":567},{},[568],{"type":51,"value":569},"Runs summary, decompilation, function list, strings, and interesting-pattern\nexports. Does not include call graph or symbols — run ExportCalls.java and\nExportSymbols.java separately if needed. Best for initial analysis.",{"type":45,"tag":54,"props":571,"children":572},{},[573],{"type":45,"tag":310,"props":574,"children":575},{},[576],{"type":51,"value":577},"Output files:",{"type":45,"tag":76,"props":579,"children":580},{},[581,592,603,614,625],{"type":45,"tag":80,"props":582,"children":583},{},[584,590],{"type":45,"tag":60,"props":585,"children":587},{"className":586},[],[588],{"type":51,"value":589},"{name}_summary.txt",{"type":51,"value":591}," — Overview: architecture, memory sections, function counts",{"type":45,"tag":80,"props":593,"children":594},{},[595,601],{"type":45,"tag":60,"props":596,"children":598},{"className":597},[],[599],{"type":51,"value":600},"{name}_decompiled.c",{"type":51,"value":602}," — All functions decompiled to C",{"type":45,"tag":80,"props":604,"children":605},{},[606,612],{"type":45,"tag":60,"props":607,"children":609},{"className":608},[],[610],{"type":51,"value":611},"{name}_functions.json",{"type":51,"value":613}," — Function list with signatures and calls",{"type":45,"tag":80,"props":615,"children":616},{},[617,623],{"type":45,"tag":60,"props":618,"children":620},{"className":619},[],[621],{"type":51,"value":622},"{name}_strings.txt",{"type":51,"value":624}," — All strings found (plain text; use ExportStrings.java for JSON)",{"type":45,"tag":80,"props":626,"children":627},{},[628,634],{"type":45,"tag":60,"props":629,"children":631},{"className":630},[],[632],{"type":51,"value":633},"{name}_interesting.txt",{"type":51,"value":635}," — Functions matching security-relevant patterns",{"type":45,"tag":353,"props":637,"children":639},{"className":355,"code":638,"language":357,"meta":358,"style":358},"{baseDir}\u002Fscripts\u002Fghidra-analyze.sh -s ExportAll.java -o .\u002Fanalysis firmware.bin\n",[640],{"type":45,"tag":60,"props":641,"children":642},{"__ignoreMap":358},[643],{"type":45,"tag":364,"props":644,"children":645},{"class":366,"line":367},[646],{"type":45,"tag":364,"props":647,"children":648},{"style":371},[649],{"type":51,"value":638},{"type":45,"tag":559,"props":651,"children":653},{"id":652},"exportdecompiledjava",[654],{"type":51,"value":655},"ExportDecompiled.java",{"type":45,"tag":54,"props":657,"children":658},{},[659],{"type":51,"value":660},"Decompile all functions to C pseudocode.",{"type":45,"tag":54,"props":662,"children":663},{},[664,669,671],{"type":45,"tag":310,"props":665,"children":666},{},[667],{"type":51,"value":668},"Output:",{"type":51,"value":670}," ",{"type":45,"tag":60,"props":672,"children":674},{"className":673},[],[675],{"type":51,"value":600},{"type":45,"tag":559,"props":677,"children":679},{"id":678},"exportfunctionsjava",[680],{"type":51,"value":681},"ExportFunctions.java",{"type":45,"tag":54,"props":683,"children":684},{},[685],{"type":51,"value":686},"Export function list as JSON with addresses, signatures, parameters, and\ncall relationships.",{"type":45,"tag":54,"props":688,"children":689},{},[690,694,695],{"type":45,"tag":310,"props":691,"children":692},{},[693],{"type":51,"value":668},{"type":51,"value":670},{"type":45,"tag":60,"props":696,"children":698},{"className":697},[],[699],{"type":51,"value":611},{"type":45,"tag":559,"props":701,"children":703},{"id":702},"exportstringsjava",[704],{"type":51,"value":705},"ExportStrings.java",{"type":45,"tag":54,"props":707,"children":708},{},[709],{"type":51,"value":710},"Extract all strings (ASCII, Unicode) with addresses.",{"type":45,"tag":54,"props":712,"children":713},{},[714,718,719],{"type":45,"tag":310,"props":715,"children":716},{},[717],{"type":51,"value":668},{"type":51,"value":670},{"type":45,"tag":60,"props":720,"children":722},{"className":721},[],[723],{"type":51,"value":724},"{name}_strings.json",{"type":45,"tag":559,"props":726,"children":728},{"id":727},"exportcallsjava",[729],{"type":51,"value":730},"ExportCalls.java",{"type":45,"tag":54,"props":732,"children":733},{},[734],{"type":51,"value":735},"Export function call graph showing caller\u002Fcallee relationships. Includes\nfull call graph, potential entry points, and most frequently called functions.",{"type":45,"tag":54,"props":737,"children":738},{},[739,743,744],{"type":45,"tag":310,"props":740,"children":741},{},[742],{"type":51,"value":668},{"type":51,"value":670},{"type":45,"tag":60,"props":745,"children":747},{"className":746},[],[748],{"type":51,"value":749},"{name}_calls.json",{"type":45,"tag":559,"props":751,"children":753},{"id":752},"exportsymbolsjava",[754],{"type":51,"value":755},"ExportSymbols.java",{"type":45,"tag":54,"props":757,"children":758},{},[759],{"type":51,"value":760},"Export all symbols: imports, exports, and internal symbols.",{"type":45,"tag":54,"props":762,"children":763},{},[764,768,769],{"type":45,"tag":310,"props":765,"children":766},{},[767],{"type":51,"value":668},{"type":51,"value":670},{"type":45,"tag":60,"props":770,"children":772},{"className":771},[],[773],{"type":51,"value":774},"{name}_symbols.json",{"type":45,"tag":69,"props":776,"children":778},{"id":777},"common-workflows",[779],{"type":51,"value":780},"Common Workflows",{"type":45,"tag":559,"props":782,"children":784},{"id":783},"analyze-an-unknown-binary",[785],{"type":51,"value":786},"Analyze an Unknown Binary",{"type":45,"tag":353,"props":788,"children":790},{"className":355,"code":789,"language":357,"meta":358,"style":358},"mkdir -p .\u002Fanalysis\n{baseDir}\u002Fscripts\u002Fghidra-analyze.sh -s ExportAll.java -o .\u002Fanalysis unknown_binary\ncat .\u002Fanalysis\u002Funknown_binary_summary.txt\ncat .\u002Fanalysis\u002Funknown_binary_interesting.txt\n",[791],{"type":45,"tag":60,"props":792,"children":793},{"__ignoreMap":358},[794,814,823,837],{"type":45,"tag":364,"props":795,"children":796},{"class":366,"line":367},[797,803,809],{"type":45,"tag":364,"props":798,"children":800},{"style":799},"--shiki-light:#E2931D;--shiki-default:#FFCB6B;--shiki-dark:#FFCB6B",[801],{"type":51,"value":802},"mkdir",{"type":45,"tag":364,"props":804,"children":806},{"style":805},"--shiki-light:#91B859;--shiki-default:#C3E88D;--shiki-dark:#C3E88D",[807],{"type":51,"value":808}," -p",{"type":45,"tag":364,"props":810,"children":811},{"style":805},[812],{"type":51,"value":813}," .\u002Fanalysis\n",{"type":45,"tag":364,"props":815,"children":817},{"class":366,"line":816},2,[818],{"type":45,"tag":364,"props":819,"children":820},{"style":371},[821],{"type":51,"value":822},"{baseDir}\u002Fscripts\u002Fghidra-analyze.sh -s ExportAll.java -o .\u002Fanalysis unknown_binary\n",{"type":45,"tag":364,"props":824,"children":826},{"class":366,"line":825},3,[827,832],{"type":45,"tag":364,"props":828,"children":829},{"style":799},[830],{"type":51,"value":831},"cat",{"type":45,"tag":364,"props":833,"children":834},{"style":805},[835],{"type":51,"value":836}," .\u002Fanalysis\u002Funknown_binary_summary.txt\n",{"type":45,"tag":364,"props":838,"children":840},{"class":366,"line":839},4,[841,845],{"type":45,"tag":364,"props":842,"children":843},{"style":799},[844],{"type":51,"value":831},{"type":45,"tag":364,"props":846,"children":847},{"style":805},[848],{"type":51,"value":849}," .\u002Fanalysis\u002Funknown_binary_interesting.txt\n",{"type":45,"tag":559,"props":851,"children":853},{"id":852},"analyze-firmware",[854],{"type":51,"value":855},"Analyze Firmware",{"type":45,"tag":353,"props":857,"children":859},{"className":355,"code":858,"language":357,"meta":358,"style":358},"{baseDir}\u002Fscripts\u002Fghidra-analyze.sh \\\n    -p \"ARM:LE:32:v7\" \\\n    -s ExportAll.java \\\n    -o .\u002Ffirmware_analysis \\\n    firmware.bin\n",[860],{"type":45,"tag":60,"props":861,"children":862},{"__ignoreMap":358},[863,871,900,917,934],{"type":45,"tag":364,"props":864,"children":865},{"class":366,"line":367},[866],{"type":45,"tag":364,"props":867,"children":868},{"style":371},[869],{"type":51,"value":870},"{baseDir}\u002Fscripts\u002Fghidra-analyze.sh \\\n",{"type":45,"tag":364,"props":872,"children":873},{"class":366,"line":816},[874,879,885,890,895],{"type":45,"tag":364,"props":875,"children":876},{"style":799},[877],{"type":51,"value":878},"    -p",{"type":45,"tag":364,"props":880,"children":882},{"style":881},"--shiki-light:#39ADB5;--shiki-default:#89DDFF;--shiki-dark:#89DDFF",[883],{"type":51,"value":884}," \"",{"type":45,"tag":364,"props":886,"children":887},{"style":805},[888],{"type":51,"value":889},"ARM:LE:32:v7",{"type":45,"tag":364,"props":891,"children":892},{"style":881},[893],{"type":51,"value":894},"\"",{"type":45,"tag":364,"props":896,"children":897},{"style":371},[898],{"type":51,"value":899}," \\\n",{"type":45,"tag":364,"props":901,"children":902},{"class":366,"line":825},[903,908,913],{"type":45,"tag":364,"props":904,"children":905},{"style":805},[906],{"type":51,"value":907},"    -s",{"type":45,"tag":364,"props":909,"children":910},{"style":805},[911],{"type":51,"value":912}," ExportAll.java",{"type":45,"tag":364,"props":914,"children":915},{"style":371},[916],{"type":51,"value":899},{"type":45,"tag":364,"props":918,"children":919},{"class":366,"line":839},[920,925,930],{"type":45,"tag":364,"props":921,"children":922},{"style":805},[923],{"type":51,"value":924},"    -o",{"type":45,"tag":364,"props":926,"children":927},{"style":805},[928],{"type":51,"value":929}," .\u002Ffirmware_analysis",{"type":45,"tag":364,"props":931,"children":932},{"style":371},[933],{"type":51,"value":899},{"type":45,"tag":364,"props":935,"children":937},{"class":366,"line":936},5,[938],{"type":45,"tag":364,"props":939,"children":940},{"style":805},[941],{"type":51,"value":942},"    firmware.bin\n",{"type":45,"tag":559,"props":944,"children":946},{"id":945},"quick-function-listing",[947],{"type":51,"value":948},"Quick Function Listing",{"type":45,"tag":353,"props":950,"children":952},{"className":355,"code":951,"language":357,"meta":358,"style":358},"{baseDir}\u002Fscripts\u002Fghidra-analyze.sh --no-analysis -s ExportFunctions.java -o . program\ncat program_functions.json | jq '.functions[] | \"\\(.address): \\(.name)\"'\n",[953],{"type":45,"tag":60,"props":954,"children":955},{"__ignoreMap":358},[956,964],{"type":45,"tag":364,"props":957,"children":958},{"class":366,"line":367},[959],{"type":45,"tag":364,"props":960,"children":961},{"style":371},[962],{"type":51,"value":963},"{baseDir}\u002Fscripts\u002Fghidra-analyze.sh --no-analysis -s ExportFunctions.java -o . program\n",{"type":45,"tag":364,"props":965,"children":966},{"class":366,"line":816},[967,971,976,981,986,991,996],{"type":45,"tag":364,"props":968,"children":969},{"style":799},[970],{"type":51,"value":831},{"type":45,"tag":364,"props":972,"children":973},{"style":805},[974],{"type":51,"value":975}," program_functions.json",{"type":45,"tag":364,"props":977,"children":978},{"style":881},[979],{"type":51,"value":980}," |",{"type":45,"tag":364,"props":982,"children":983},{"style":799},[984],{"type":51,"value":985}," jq",{"type":45,"tag":364,"props":987,"children":988},{"style":881},[989],{"type":51,"value":990}," '",{"type":45,"tag":364,"props":992,"children":993},{"style":805},[994],{"type":51,"value":995},".functions[] | \"\\(.address): \\(.name)\"",{"type":45,"tag":364,"props":997,"children":998},{"style":881},[999],{"type":51,"value":1000},"'\n",{"type":45,"tag":559,"props":1002,"children":1004},{"id":1003},"find-specific-patterns",[1005],{"type":51,"value":1006},"Find Specific Patterns",{"type":45,"tag":353,"props":1008,"children":1010},{"className":355,"code":1009,"language":357,"meta":358,"style":358},"# After running ExportDecompiled, search for patterns\ngrep -n \"password\\|secret\\|key\" output_decompiled.c\ngrep -n \"strcpy\\|sprintf\\|gets\" output_decompiled.c\n",[1011],{"type":45,"tag":60,"props":1012,"children":1013},{"__ignoreMap":358},[1014,1023,1054],{"type":45,"tag":364,"props":1015,"children":1016},{"class":366,"line":367},[1017],{"type":45,"tag":364,"props":1018,"children":1020},{"style":1019},"--shiki-light:#90A4AE;--shiki-light-font-style:italic;--shiki-default:#546E7A;--shiki-default-font-style:italic;--shiki-dark:#676E95;--shiki-dark-font-style:italic",[1021],{"type":51,"value":1022},"# After running ExportDecompiled, search for patterns\n",{"type":45,"tag":364,"props":1024,"children":1025},{"class":366,"line":816},[1026,1031,1036,1040,1045,1049],{"type":45,"tag":364,"props":1027,"children":1028},{"style":799},[1029],{"type":51,"value":1030},"grep",{"type":45,"tag":364,"props":1032,"children":1033},{"style":805},[1034],{"type":51,"value":1035}," -n",{"type":45,"tag":364,"props":1037,"children":1038},{"style":881},[1039],{"type":51,"value":884},{"type":45,"tag":364,"props":1041,"children":1042},{"style":805},[1043],{"type":51,"value":1044},"password\\|secret\\|key",{"type":45,"tag":364,"props":1046,"children":1047},{"style":881},[1048],{"type":51,"value":894},{"type":45,"tag":364,"props":1050,"children":1051},{"style":805},[1052],{"type":51,"value":1053}," output_decompiled.c\n",{"type":45,"tag":364,"props":1055,"children":1056},{"class":366,"line":825},[1057,1061,1065,1069,1074,1078],{"type":45,"tag":364,"props":1058,"children":1059},{"style":799},[1060],{"type":51,"value":1030},{"type":45,"tag":364,"props":1062,"children":1063},{"style":805},[1064],{"type":51,"value":1035},{"type":45,"tag":364,"props":1066,"children":1067},{"style":881},[1068],{"type":51,"value":884},{"type":45,"tag":364,"props":1070,"children":1071},{"style":805},[1072],{"type":51,"value":1073},"strcpy\\|sprintf\\|gets",{"type":45,"tag":364,"props":1075,"children":1076},{"style":881},[1077],{"type":51,"value":894},{"type":45,"tag":364,"props":1079,"children":1080},{"style":805},[1081],{"type":51,"value":1053},{"type":45,"tag":69,"props":1083,"children":1085},{"id":1084},"architectureprocessor-ids",[1086],{"type":51,"value":1087},"Architecture\u002FProcessor IDs",{"type":45,"tag":54,"props":1089,"children":1090},{},[1091,1093,1099],{"type":51,"value":1092},"Common processor IDs for the ",{"type":45,"tag":60,"props":1094,"children":1096},{"className":1095},[],[1097],{"type":51,"value":1098},"-p",{"type":51,"value":1100}," option:",{"type":45,"tag":151,"props":1102,"children":1103},{},[1104,1120],{"type":45,"tag":155,"props":1105,"children":1106},{},[1107],{"type":45,"tag":159,"props":1108,"children":1109},{},[1110,1115],{"type":45,"tag":163,"props":1111,"children":1112},{},[1113],{"type":51,"value":1114},"Architecture",{"type":45,"tag":163,"props":1116,"children":1117},{},[1118],{"type":51,"value":1119},"Processor ID",{"type":45,"tag":174,"props":1121,"children":1122},{},[1123,1139,1156,1172,1189,1214],{"type":45,"tag":159,"props":1124,"children":1125},{},[1126,1131],{"type":45,"tag":181,"props":1127,"children":1128},{},[1129],{"type":51,"value":1130},"x86 32-bit",{"type":45,"tag":181,"props":1132,"children":1133},{},[1134],{"type":45,"tag":60,"props":1135,"children":1137},{"className":1136},[],[1138],{"type":51,"value":457},{"type":45,"tag":159,"props":1140,"children":1141},{},[1142,1147],{"type":45,"tag":181,"props":1143,"children":1144},{},[1145],{"type":51,"value":1146},"x86 64-bit",{"type":45,"tag":181,"props":1148,"children":1149},{},[1150],{"type":45,"tag":60,"props":1151,"children":1153},{"className":1152},[],[1154],{"type":51,"value":1155},"x86:LE:64:default",{"type":45,"tag":159,"props":1157,"children":1158},{},[1159,1164],{"type":45,"tag":181,"props":1160,"children":1161},{},[1162],{"type":51,"value":1163},"ARM 32-bit",{"type":45,"tag":181,"props":1165,"children":1166},{},[1167],{"type":45,"tag":60,"props":1168,"children":1170},{"className":1169},[],[1171],{"type":51,"value":889},{"type":45,"tag":159,"props":1173,"children":1174},{},[1175,1180],{"type":45,"tag":181,"props":1176,"children":1177},{},[1178],{"type":51,"value":1179},"ARM 64-bit",{"type":45,"tag":181,"props":1181,"children":1182},{},[1183],{"type":45,"tag":60,"props":1184,"children":1186},{"className":1185},[],[1187],{"type":51,"value":1188},"AARCH64:LE:64:v8A",{"type":45,"tag":159,"props":1190,"children":1191},{},[1192,1197],{"type":45,"tag":181,"props":1193,"children":1194},{},[1195],{"type":51,"value":1196},"MIPS 32-bit",{"type":45,"tag":181,"props":1198,"children":1199},{},[1200,1206,1208],{"type":45,"tag":60,"props":1201,"children":1203},{"className":1202},[],[1204],{"type":51,"value":1205},"MIPS:BE:32:default",{"type":51,"value":1207}," or ",{"type":45,"tag":60,"props":1209,"children":1211},{"className":1210},[],[1212],{"type":51,"value":1213},"MIPS:LE:32:default",{"type":45,"tag":159,"props":1215,"children":1216},{},[1217,1222],{"type":45,"tag":181,"props":1218,"children":1219},{},[1220],{"type":51,"value":1221},"PowerPC",{"type":45,"tag":181,"props":1223,"children":1224},{},[1225],{"type":45,"tag":60,"props":1226,"children":1228},{"className":1227},[],[1229],{"type":51,"value":1230},"PowerPC:BE:32:default",{"type":45,"tag":69,"props":1232,"children":1234},{"id":1233},"troubleshooting",[1235],{"type":51,"value":1236},"Troubleshooting",{"type":45,"tag":559,"props":1238,"children":1240},{"id":1239},"ghidra-not-found",[1241],{"type":51,"value":1242},"Ghidra Not Found",{"type":45,"tag":353,"props":1244,"children":1246},{"className":355,"code":1245,"language":357,"meta":358,"style":358},"{baseDir}\u002Fscripts\u002Ffind-ghidra.sh\n# Or set GHIDRA_HOME if in non-standard location\nexport GHIDRA_HOME=\u002Fpath\u002Fto\u002Fghidra_11.x_PUBLIC\n",[1247],{"type":45,"tag":60,"props":1248,"children":1249},{"__ignoreMap":358},[1250,1258,1266],{"type":45,"tag":364,"props":1251,"children":1252},{"class":366,"line":367},[1253],{"type":45,"tag":364,"props":1254,"children":1255},{"style":371},[1256],{"type":51,"value":1257},"{baseDir}\u002Fscripts\u002Ffind-ghidra.sh\n",{"type":45,"tag":364,"props":1259,"children":1260},{"class":366,"line":816},[1261],{"type":45,"tag":364,"props":1262,"children":1263},{"style":1019},[1264],{"type":51,"value":1265},"# Or set GHIDRA_HOME if in non-standard location\n",{"type":45,"tag":364,"props":1267,"children":1268},{"class":366,"line":825},[1269,1275,1280,1285],{"type":45,"tag":364,"props":1270,"children":1272},{"style":1271},"--shiki-light:#9C3EDA;--shiki-default:#C792EA;--shiki-dark:#C792EA",[1273],{"type":51,"value":1274},"export",{"type":45,"tag":364,"props":1276,"children":1277},{"style":371},[1278],{"type":51,"value":1279}," GHIDRA_HOME",{"type":45,"tag":364,"props":1281,"children":1282},{"style":881},[1283],{"type":51,"value":1284},"=",{"type":45,"tag":364,"props":1286,"children":1287},{"style":371},[1288],{"type":51,"value":1289},"\u002Fpath\u002Fto\u002Fghidra_11.x_PUBLIC\n",{"type":45,"tag":559,"props":1291,"children":1293},{"id":1292},"analysis-takes-too-long",[1294],{"type":51,"value":1295},"Analysis Takes Too Long",{"type":45,"tag":353,"props":1297,"children":1299},{"className":355,"code":1298,"language":357,"meta":358,"style":358},"{baseDir}\u002Fscripts\u002Fghidra-analyze.sh --timeout 300 -s ExportAll.java binary\n# Or skip analysis for quick export\n{baseDir}\u002Fscripts\u002Fghidra-analyze.sh --no-analysis -s ExportSymbols.java binary\n",[1300],{"type":45,"tag":60,"props":1301,"children":1302},{"__ignoreMap":358},[1303,1311,1319],{"type":45,"tag":364,"props":1304,"children":1305},{"class":366,"line":367},[1306],{"type":45,"tag":364,"props":1307,"children":1308},{"style":371},[1309],{"type":51,"value":1310},"{baseDir}\u002Fscripts\u002Fghidra-analyze.sh --timeout 300 -s ExportAll.java binary\n",{"type":45,"tag":364,"props":1312,"children":1313},{"class":366,"line":816},[1314],{"type":45,"tag":364,"props":1315,"children":1316},{"style":1019},[1317],{"type":51,"value":1318},"# Or skip analysis for quick export\n",{"type":45,"tag":364,"props":1320,"children":1321},{"class":366,"line":825},[1322],{"type":45,"tag":364,"props":1323,"children":1324},{"style":371},[1325],{"type":51,"value":1326},"{baseDir}\u002Fscripts\u002Fghidra-analyze.sh --no-analysis -s ExportSymbols.java binary\n",{"type":45,"tag":559,"props":1328,"children":1330},{"id":1329},"out-of-memory",[1331],{"type":51,"value":1332},"Out of Memory",{"type":45,"tag":54,"props":1334,"children":1335},{},[1336],{"type":51,"value":1337},"Set before running:",{"type":45,"tag":353,"props":1339,"children":1341},{"className":355,"code":1340,"language":357,"meta":358,"style":358},"export MAXMEM=4G\n",[1342],{"type":45,"tag":60,"props":1343,"children":1344},{"__ignoreMap":358},[1345],{"type":45,"tag":364,"props":1346,"children":1347},{"class":366,"line":367},[1348,1352,1357,1361],{"type":45,"tag":364,"props":1349,"children":1350},{"style":1271},[1351],{"type":51,"value":1274},{"type":45,"tag":364,"props":1353,"children":1354},{"style":371},[1355],{"type":51,"value":1356}," MAXMEM",{"type":45,"tag":364,"props":1358,"children":1359},{"style":881},[1360],{"type":51,"value":1284},{"type":45,"tag":364,"props":1362,"children":1363},{"style":371},[1364],{"type":51,"value":1365},"4G\n",{"type":45,"tag":559,"props":1367,"children":1369},{"id":1368},"wrong-architecture-detected",[1370],{"type":51,"value":1371},"Wrong Architecture Detected",{"type":45,"tag":54,"props":1373,"children":1374},{},[1375],{"type":51,"value":1376},"Explicitly specify the processor:",{"type":45,"tag":353,"props":1378,"children":1380},{"className":355,"code":1379,"language":357,"meta":358,"style":358},"{baseDir}\u002Fscripts\u002Fghidra-analyze.sh -p \"ARM:LE:32:v7\" -s ExportAll.java firmware.bin\n",[1381],{"type":45,"tag":60,"props":1382,"children":1383},{"__ignoreMap":358},[1384],{"type":45,"tag":364,"props":1385,"children":1386},{"class":366,"line":367},[1387],{"type":45,"tag":364,"props":1388,"children":1389},{"style":371},[1390],{"type":51,"value":1379},{"type":45,"tag":69,"props":1392,"children":1394},{"id":1393},"tips",[1395],{"type":51,"value":1396},"Tips",{"type":45,"tag":1398,"props":1399,"children":1400},"ol",{},[1401,1411,1421,1431,1441],{"type":45,"tag":80,"props":1402,"children":1403},{},[1404,1409],{"type":45,"tag":310,"props":1405,"children":1406},{},[1407],{"type":51,"value":1408},"Start with ExportAll.java",{"type":51,"value":1410}," — gives everything; the summary helps orient",{"type":45,"tag":80,"props":1412,"children":1413},{},[1414,1419],{"type":45,"tag":310,"props":1415,"children":1416},{},[1417],{"type":51,"value":1418},"Check interesting.txt",{"type":51,"value":1420}," — highlights security-relevant functions automatically",{"type":45,"tag":80,"props":1422,"children":1423},{},[1424,1429],{"type":45,"tag":310,"props":1425,"children":1426},{},[1427],{"type":51,"value":1428},"Use jq for JSON parsing",{"type":51,"value":1430}," — JSON exports are designed to be machine-readable",{"type":45,"tag":80,"props":1432,"children":1433},{},[1434,1439],{"type":45,"tag":310,"props":1435,"children":1436},{},[1437],{"type":51,"value":1438},"Decompilation isn't perfect",{"type":51,"value":1440}," — use as a guide, cross-reference with disassembly",{"type":45,"tag":80,"props":1442,"children":1443},{},[1444,1449,1451,1457,1459,1464],{"type":45,"tag":310,"props":1445,"children":1446},{},[1447],{"type":51,"value":1448},"Large binaries take time",{"type":51,"value":1450}," — use ",{"type":45,"tag":60,"props":1452,"children":1454},{"className":1453},[],[1455],{"type":51,"value":1456},"--timeout",{"type":51,"value":1458}," and consider ",{"type":45,"tag":60,"props":1460,"children":1462},{"className":1461},[],[1463],{"type":51,"value":494},{"type":51,"value":1465}," for quick scans",{"type":45,"tag":1467,"props":1468,"children":1469},"style",{},[1470],{"type":51,"value":1471},"html .light .shiki span {color: var(--shiki-light);background: var(--shiki-light-bg);font-style: var(--shiki-light-font-style);font-weight: var(--shiki-light-font-weight);text-decoration: var(--shiki-light-text-decoration);}html.light .shiki span {color: var(--shiki-light);background: var(--shiki-light-bg);font-style: var(--shiki-light-font-style);font-weight: var(--shiki-light-font-weight);text-decoration: var(--shiki-light-text-decoration);}html .default .shiki span {color: var(--shiki-default);background: var(--shiki-default-bg);font-style: var(--shiki-default-font-style);font-weight: var(--shiki-default-font-weight);text-decoration: var(--shiki-default-text-decoration);}html .shiki span {color: var(--shiki-default);background: var(--shiki-default-bg);font-style: var(--shiki-default-font-style);font-weight: var(--shiki-default-font-weight);text-decoration: var(--shiki-default-text-decoration);}html .dark .shiki span {color: var(--shiki-dark);background: var(--shiki-dark-bg);font-style: var(--shiki-dark-font-style);font-weight: var(--shiki-dark-font-weight);text-decoration: var(--shiki-dark-text-decoration);}html.dark .shiki span {color: var(--shiki-dark);background: var(--shiki-dark-bg);font-style: var(--shiki-dark-font-style);font-weight: var(--shiki-dark-font-weight);text-decoration: var(--shiki-dark-text-decoration);}",{"items":1473,"total":1626},[1474,1491,1501,1519,1534,1547,1559,1569,1581,1592,1604,1615],{"slug":1475,"name":1475,"fn":1476,"description":1477,"org":1478,"tags":1479,"stars":1488,"repoUrl":1489,"updatedAt":1490},"address-sanitizer","detect memory errors during fuzzing","AddressSanitizer detects memory errors during fuzzing. Use when fuzzing C\u002FC++ code to find buffer overflows and use-after-free bugs.\n",{"slug":8,"name":9,"logoUrl":10,"githubOrg":11},[1480,1483,1484,1485],{"name":1481,"slug":1482,"type":16},"C#","c",{"name":21,"slug":22,"type":16},{"name":14,"slug":15,"type":16},{"name":1486,"slug":1487,"type":16},"Testing","testing",6139,"https:\u002F\u002Fgithub.com\u002Ftrailofbits\u002Fskills","2026-07-17T06:05:14.925095",{"slug":1492,"name":1492,"fn":1493,"description":1494,"org":1495,"tags":1496,"stars":1488,"repoUrl":1489,"updatedAt":1500},"aflpp","perform multi-core fuzzing of C\u002FC++ projects","AFL++ is a fork of AFL with better fuzzing performance and advanced features. Use for multi-core fuzzing of C\u002FC++ projects.\n",{"slug":8,"name":9,"logoUrl":10,"githubOrg":11},[1497,1498,1499],{"name":1481,"slug":1482,"type":16},{"name":14,"slug":15,"type":16},{"name":1486,"slug":1487,"type":16},"2026-07-17T06:05:12.433192",{"slug":1502,"name":1502,"fn":1503,"description":1504,"org":1505,"tags":1506,"stars":1488,"repoUrl":1489,"updatedAt":1518},"agentic-actions-auditor","audit GitHub Actions for security vulnerabilities","Audits GitHub Actions workflows for security vulnerabilities in AI agent integrations including Claude Code Action, Gemini CLI, OpenAI Codex, and GitHub AI Inference. Detects attack vectors where attacker-controlled input reaches AI agents running in CI\u002FCD pipelines, including env var intermediary patterns, direct expression injection, dangerous sandbox configurations, and wildcard user allowlists. Use when reviewing workflow files that invoke AI coding agents, auditing CI\u002FCD pipeline security for prompt injection risks, or evaluating agentic action configurations.",{"slug":8,"name":9,"logoUrl":10,"githubOrg":11},[1507,1510,1513,1514,1517],{"name":1508,"slug":1509,"type":16},"Agents","agents",{"name":1511,"slug":1512,"type":16},"CI\u002FCD","ci-cd",{"name":18,"slug":19,"type":16},{"name":1515,"slug":1516,"type":16},"GitHub Actions","github-actions",{"name":14,"slug":15,"type":16},"2026-07-18T05:47:48.564744",{"slug":1520,"name":1520,"fn":1521,"description":1522,"org":1523,"tags":1524,"stars":1488,"repoUrl":1489,"updatedAt":1533},"algorand-vulnerability-scanner","scan Algorand smart contracts for vulnerabilities","Scans Algorand smart contracts for 11 common vulnerabilities including rekeying attacks, unchecked transaction fees, missing field validations, and access control issues. Use when auditing Algorand projects (TEAL\u002FPyTeal).",{"slug":8,"name":9,"logoUrl":10,"githubOrg":11},[1525,1528,1529,1530],{"name":1526,"slug":1527,"type":16},"Audit","audit",{"name":18,"slug":19,"type":16},{"name":14,"slug":15,"type":16},{"name":1531,"slug":1532,"type":16},"Smart Contracts","smart-contracts","2026-07-18T05:47:43.989063",{"slug":1535,"name":1535,"fn":1536,"description":1537,"org":1538,"tags":1539,"stars":1488,"repoUrl":1489,"updatedAt":1546},"ask-questions-if-underspecified","clarify requirements before implementation","Clarify requirements before implementing. Use when serious doubts arise.",{"slug":8,"name":9,"logoUrl":10,"githubOrg":11},[1540,1543],{"name":1541,"slug":1542,"type":16},"Engineering","engineering",{"name":1544,"slug":1545,"type":16},"Productivity","productivity","2026-07-17T06:05:33.543262",{"slug":1548,"name":1548,"fn":1549,"description":1550,"org":1551,"tags":1552,"stars":1488,"repoUrl":1489,"updatedAt":1558},"atheris","fuzz Python code with Atheris","Atheris is a coverage-guided Python fuzzer based on libFuzzer. Use for fuzzing pure Python code and Python C extensions.\n",{"slug":8,"name":9,"logoUrl":10,"githubOrg":11},[1553,1556,1557],{"name":1554,"slug":1555,"type":16},"Python","python",{"name":14,"slug":15,"type":16},{"name":1486,"slug":1487,"type":16},"2026-07-17T06:05:14.575191",{"slug":1560,"name":1560,"fn":1561,"description":1562,"org":1563,"tags":1564,"stars":1488,"repoUrl":1489,"updatedAt":1568},"audit-augmentation","augment code graphs with audit findings","Augments Trailmark code graphs with external audit findings from SARIF static analysis results, weAudit annotation files, and version-gated Trailmark 0.4.x binary-analysis graph exports. Maps findings to graph nodes by file and line overlap, creates severity-based subgraphs, and enables cross-referencing findings with pre-analysis data (blast radius, taint, etc.). Use when projecting SARIF results onto a code graph, overlaying weAudit annotations, importing binary graph findings, cross-referencing Semgrep, CodeQL, or binary-analysis findings with call graph data, or visualizing audit findings in the context of code structure.\n",{"slug":8,"name":9,"logoUrl":10,"githubOrg":11},[1565,1566,1567],{"name":1526,"slug":1527,"type":16},{"name":18,"slug":19,"type":16},{"name":14,"slug":15,"type":16},"2026-08-01T05:44:54.920542",{"slug":1570,"name":1570,"fn":1571,"description":1572,"org":1573,"tags":1574,"stars":1488,"repoUrl":1489,"updatedAt":1580},"audit-context-building","build architectural context for code analysis","Enables ultra-granular, line-by-line code analysis to build deep architectural context before vulnerability or bug finding.",{"slug":8,"name":9,"logoUrl":10,"githubOrg":11},[1575,1577,1578,1579],{"name":1114,"slug":1576,"type":16},"architecture",{"name":1526,"slug":1527,"type":16},{"name":18,"slug":19,"type":16},{"name":1541,"slug":1542,"type":16},"2026-07-18T05:47:40.122449",{"slug":1582,"name":1582,"fn":1583,"description":1584,"org":1585,"tags":1586,"stars":1488,"repoUrl":1489,"updatedAt":1591},"audit-prep-assistant","prepare codebases for security audits","Prepares codebases for security review using Trail of Bits' checklist. Helps set review goals, runs static analysis tools, increases test coverage, removes dead code, ensures accessibility, and generates documentation (flowcharts, user stories, inline comments).",{"slug":8,"name":9,"logoUrl":10,"githubOrg":11},[1587,1588,1589,1590],{"name":1526,"slug":1527,"type":16},{"name":18,"slug":19,"type":16},{"name":1541,"slug":1542,"type":16},{"name":14,"slug":15,"type":16},"2026-07-18T05:47:39.210985",{"slug":1593,"name":1593,"fn":1594,"description":1595,"org":1596,"tags":1597,"stars":1488,"repoUrl":1489,"updatedAt":1603},"burpsuite-project-parser","parse Burp Suite project files","Searches and explores Burp Suite project files (.burp) from the command line. Use when searching response headers or bodies with regex patterns, extracting security audit findings, dumping proxy history or site map data, or analyzing HTTP traffic captured in a Burp project.",{"slug":8,"name":9,"logoUrl":10,"githubOrg":11},[1598,1599,1602],{"name":1526,"slug":1527,"type":16},{"name":1600,"slug":1601,"type":16},"CLI","cli",{"name":14,"slug":15,"type":16},"2026-07-17T06:05:33.198077",{"slug":1605,"name":1605,"fn":1606,"description":1607,"org":1608,"tags":1609,"stars":1488,"repoUrl":1489,"updatedAt":1614},"c-review","audit C and C++ code","Performs comprehensive C\u002FC++ security review for memory corruption, integer overflows, race conditions, and platform-specific vulnerabilities. Use when auditing native C\u002FC++ applications, reviewing daemons or services for memory safety, or hunting integer overflow \u002F use-after-free \u002F race conditions in userspace code.",{"slug":8,"name":9,"logoUrl":10,"githubOrg":11},[1610,1611,1612,1613],{"name":1526,"slug":1527,"type":16},{"name":1481,"slug":1482,"type":16},{"name":18,"slug":19,"type":16},{"name":14,"slug":15,"type":16},"2026-07-17T06:05:11.333374",{"slug":1616,"name":1616,"fn":1617,"description":1618,"org":1619,"tags":1620,"stars":1488,"repoUrl":1489,"updatedAt":1625},"cairo-vulnerability-scanner","scan Cairo and StarkNet contracts for vulnerabilities","Scans Cairo\u002FStarkNet smart contracts for 6 critical vulnerabilities including felt252 arithmetic overflow, L1-L2 messaging issues, address conversion problems, and signature replay. Use when auditing StarkNet projects.",{"slug":8,"name":9,"logoUrl":10,"githubOrg":11},[1621,1622,1623,1624],{"name":1526,"slug":1527,"type":16},{"name":18,"slug":19,"type":16},{"name":14,"slug":15,"type":16},{"name":1531,"slug":1532,"type":16},"2026-07-18T05:47:42.84568",111,{"items":1628,"total":1725},[1629,1639,1645,1664,1676,1692,1706],{"slug":1630,"name":1630,"fn":1631,"description":1632,"org":1633,"tags":1634,"stars":23,"repoUrl":24,"updatedAt":1638},"ffuf-web-fuzzing","perform web fuzzing with ffuf","Expert guidance for ffuf web fuzzing during authorized penetration testing. Covers directory discovery, subdomain enumeration, parameter fuzzing, authenticated fuzzing with raw requests, auto-calibration, and result analysis. Use when running ffuf scans, analyzing ffuf output, or building fuzzing strategies for web targets.",{"slug":8,"name":9,"logoUrl":10,"githubOrg":11},[1635,1636,1637],{"name":18,"slug":19,"type":16},{"name":14,"slug":15,"type":16},{"name":1486,"slug":1487,"type":16},"2026-07-17T06:05:08.247908",{"slug":4,"name":4,"fn":5,"description":6,"org":1640,"tags":1641,"stars":23,"repoUrl":24,"updatedAt":25},{"slug":8,"name":9,"logoUrl":10,"githubOrg":11},[1642,1643,1644],{"name":18,"slug":19,"type":16},{"name":21,"slug":22,"type":16},{"name":14,"slug":15,"type":16},{"slug":1646,"name":1646,"fn":1647,"description":1648,"org":1649,"tags":1650,"stars":23,"repoUrl":24,"updatedAt":1663},"grilling","stress-test plans and decisions","Interviews the user relentlessly about a plan, decision, or idea until every branch of the decision tree is resolved. Use when the user wants to stress-test their thinking, sharpen a plan or design before acting, or uses any 'grill' trigger phrase (e.g. \"grill me on this\").",{"slug":8,"name":9,"logoUrl":10,"githubOrg":11},[1651,1654,1657,1660],{"name":1652,"slug":1653,"type":16},"Analysis","analysis",{"name":1655,"slug":1656,"type":16},"Coaching","coaching",{"name":1658,"slug":1659,"type":16},"Ideation","ideation",{"name":1661,"slug":1662,"type":16},"Strategy","strategy","2026-07-18T05:48:12.46583",{"slug":1665,"name":1665,"fn":1666,"description":1667,"org":1668,"tags":1669,"stars":23,"repoUrl":24,"updatedAt":1675},"handoff","compact conversation for session handoff","Compacts the current conversation into a handoff document so a fresh agent can continue the work in a new session.",{"slug":8,"name":9,"logoUrl":10,"githubOrg":11},[1670,1671,1674],{"name":1508,"slug":1509,"type":16},{"name":1672,"slug":1673,"type":16},"Context","context",{"name":1544,"slug":1545,"type":16},"2026-07-18T05:47:03.196098",{"slug":1677,"name":1677,"fn":1678,"description":1679,"org":1680,"tags":1681,"stars":23,"repoUrl":24,"updatedAt":1691},"humanizer","edit text to sound human-written","Remove signs of AI-generated writing from text. Use when editing or reviewing\ntext to make it sound more natural and human-written. Based on Wikipedia's\ncomprehensive \"Signs of AI writing\" guide. Detects and fixes patterns including:\ninflated symbolism, promotional language, superficial -ing analyses, vague\nattributions, em dash overuse, rule of three, AI vocabulary words, negative\nparallelisms, and excessive conjunctive phrases. 30c5c8d (Update humanizer plugin to upstream v2.2.0)\n",{"slug":8,"name":9,"logoUrl":10,"githubOrg":11},[1682,1685,1688],{"name":1683,"slug":1684,"type":16},"Content Creation","content-creation",{"name":1686,"slug":1687,"type":16},"Editing","editing",{"name":1689,"slug":1690,"type":16},"Writing","writing","2026-07-18T05:47:18.1749",{"slug":1693,"name":1693,"fn":1694,"description":1695,"org":1696,"tags":1697,"stars":23,"repoUrl":24,"updatedAt":1705},"last30days","research recent community discussions and trends","Researches a topic from the last 30 days on Reddit, X, and the web. Surfaces real community discussions with engagement metrics and synthesizes findings into actionable insights. Use when the user wants to know what people are saying about a topic right now.",{"slug":8,"name":9,"logoUrl":10,"githubOrg":11},[1698,1699,1702],{"name":1652,"slug":1653,"type":16},{"name":1700,"slug":1701,"type":16},"Research","research",{"name":1703,"slug":1704,"type":16},"Social Media","social-media","2026-07-17T06:04:39.744471",{"slug":1707,"name":1707,"fn":1708,"description":1709,"org":1710,"tags":1711,"stars":23,"repoUrl":24,"updatedAt":1724},"openai-cloudflare-deploy","deploy applications to Cloudflare","Deploy applications and infrastructure to Cloudflare using Workers, Pages, and related platform services. Use when the user asks to deploy, host, publish, or set up a project on Cloudflare. Originally from OpenAI's curated skills catalog.",{"slug":8,"name":9,"logoUrl":10,"githubOrg":11},[1712,1715,1718,1721],{"name":1713,"slug":1714,"type":16},"Cloudflare","cloudflare",{"name":1716,"slug":1717,"type":16},"Cloudflare Pages","cloudflare-pages",{"name":1719,"slug":1720,"type":16},"Cloudflare Workers","cloudflare-workers",{"name":1722,"slug":1723,"type":16},"Deployment","deployment","2026-07-17T06:04:46.574433",31]