trim_pe
Shrink unpacked PE files for analysis by keeping only a prefix of oversized protector sections, reducing image size for inspection.
Instructions
Shrink an unpacked PE for analysis: huge protector arenas keep only a prefix.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"rebuilt_path": "<rebuilt_path>",
"out": "<out>"
},
"name": "trim_pe"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| out | Yes | ||
| entry_rva | No | ||
| rebuilt_path | Yes | ||
| scratch_prefix_end | No | ||
| huge_section_threshold | No |