Binary Inspector
inspect_binaryRead the structure of a program file: Windows PE (EXE or DLL, 32 or 64-bit), Linux ELF or Mac Mach-O (thin or universal), given as base64, at most 2,000,000 bytes. Returns the format, type, architecture, bitness and entry point; sections with file offset, size, address, access flags and entropy (bits per byte); imports per library and exports; PE resources, whether a PE certificate table or Mach-O code signature is present (never checked) and whether the file is a .NET assembly. Reads headers and tables only; runs nothing. Pure standard library, no network or model.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| arch | No | For a Mac universal binary: the architecture to describe, such as ARM64 or x86-64. Default: the first one. | |
| file | Yes | Required. The program file (Windows EXE or DLL, Linux ELF, or Mac Mach-O), as base64 or a base64 data URL; at most 2,000,000 bytes once decoded. | |
| filename | No | Optional file name, used only in the result text. |