get_imports_exports
Retrieve symbol-level import and export tables from PE, ELF, or MachO binaries. Control output size with optional limits and filter by library name.
Instructions
Return symbol-level import and export tables for path.
Args:
path: PE / ELF / MachO to analyze.
max_imports: cap the returned imports list to this many
entries. 0 = no cap (the v2.9.0 default).
max_exports: same cap for the exports list.
library_filter: optional substring filter against the
library name (pipe-separated for OR). e.g.
"kernel32|user32" to keep only those two.
Added in v2.9.1+ to fix Gap 27 (the response-size ceiling
on the 4 large VM-protected targets). The response includes
a truncated flag + original_count / returned_count
when the caps fire. The v2.9.0 callers (no kwargs) are
unaffected.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| path | Yes | ||
| max_imports | No | ||
| max_exports | No | ||
| library_filter | No |