> ## Documentation Index
> Fetch the complete documentation index at: https://docs.kong.fyi/llms.txt
> Use this file to discover all available pages before exploring further.

# Binary Info

> Inspect binary metadata without running a full analysis

## Usage

```bash theme={null}
kong info ./path/to/binary
```

`kong info` opens the binary in Ghidra and displays metadata without running the analysis pipeline. It's useful for checking architecture, format, and function count before committing to a full analysis.

## Example output

```
Binary: libc.so.6
Path: /lib64/libc.so.6
Arch: x86-64
Format: ELF
Endianness: little
Word Size: 64-bit
Compiler: GCC
Functions: 2842
  imported: 156
  thunk: 89
  trivial: 220
  small: 987
  medium: 1203
  large: 187
```

## Classification breakdown

The function count is broken down by size classification:

| Classification | Description                                     |
| -------------- | ----------------------------------------------- |
| **imported**   | External library functions (linked dynamically) |
| **thunk**      | Single-instruction wrappers (jump stubs)        |
| **trivial**    | ≤16 bytes — too small for meaningful analysis   |
| **small**      | ≤64 bytes                                       |
| **medium**     | ≤256 bytes                                      |
| **large**      | >256 bytes                                      |

Imported and thunk functions are skipped during analysis. Trivial functions are usually skipped as well. The remaining functions (small + medium + large) make up the analysis queue.

## Options

| Flag           | Description                       |
| -------------- | --------------------------------- |
| `--ghidra-dir` | Override Ghidra installation path |

## Further reading

* [CLI Reference: `kong info`](/reference/cli/info) — full flag reference
* [Analyzing a Binary](/usage/analyzing-a-binary) — run the full analysis
* [Supported Architectures](/reference/supported-architectures) — what Kong can analyze
