XRef
Documentation menu
xrefcode.com / docs / cli / stats

$ xref stats

On this page
  1. Usage
  2. Arguments and options
  3. Examples
  4. Stats
  5. Reading the output
  6. Limits
  7. Provenance

Functions, code size, data pointers, imports and panic locations.

Summarizes .eh_frame function boundaries, code bytes, relocated pointers, imports, symbol count, and Rust panic locations without writing an index.

Usage

xref stats

Arguments and options

Examples

All examples were recorded on public binaries; see Provenance.

Stats

Instant overview of stripped xref.stripped (0 symbols, 1,974 .eh_frame functions, 588 panic locations).

Command
$ xref -b xref.stripped stats
Output
functions 1974  code 0x177f94 bytes
largest 0xd7740..0xf13ff (0x19cbf bytes)
pointers 1510  imports 80  symbols 0
panic locations 588  source files 143
stderr
xref: load 486.6µs, total 1.1ms

Reading the output

Limits

Provenance

Recorded with a development build of xref after 0.4.0 on Linux x86-64, on xref.stripped = a stripped xref build (the binary of the home-page examples). Output is unchanged except that whitespace at the end of each line and empty lines at the end of the output are removed; long outputs are cut where marked.

Source: docs/cli/stats.md · generated for the site; edit the Markdown, not this page.