Record your work
glaurung label
Name and type data at a virtual address.
use it for
Labels are for data addresses. Omit the name to inspect the current label; use --delete to remove it.
Run glaurung label --help on your installed version before putting the command in a script.
Glaurung is still pre-1.0.
- input
- A project, data VA, optional name, and optional C type and size.
- output
- A named data address stored with provenance and undo history.
- mode
- writes state. Adding, changing, or deleting a label updates the project.
command shape
syntax
$ glaurung label PROJECT VA [NAME] [--type C_TYPE] [--size N]
The installed parser is authoritative: glaurung label --help
before the examples
project setup
The examples use the checked-in hello-c-clang-debug fixture and a
project named hello.glaurung.
$ glaurung kickoff samples/binaries/platforms/linux/amd64/export/native/clang/debug/hello-c-clang-debug --db hello.glaurung run it
examples
Name a string address
0x2004 is the greeting string in the checked-in fixture.
run
$ glaurung label hello.glaurung 0x2004 greeting_format --type 'char[22]' --size 22 --binary samples/binaries/platforms/linux/amd64/export/native/clang/debug/hello-c-clang-debug output
0x2004 -> greeting_format [manual] captured 2026-08-31.
Read the result: The name and type now reach project-aware views. The raw bytes remain the source of truth.
Inspect the stored label
Leave out the name to read without changing project state.
run
$ glaurung label hello.glaurung 0x2004 output
(no label at 0x2004) captured from a fresh kickoff project, 2026-08-31.
Read the result: A fresh kickoff project has no analyst label here. Run the preceding write example first, then this lookup will return greeting_format and its type.
used above
important options
These are the flags used by the examples. Run glaurung label --help for the complete parser help.
before you rely on it
checks
keep working