Jump to content
Setting up an AI agent? ReverseEngineering.wiki skill (works from the command line, no configuration): https://reverseengineering.wiki/skill/rewiki/SKILL.md · setup for every client, including MCP: https://reverseengineering.wiki/llms.txt · REWiki:Connect

Fact:NTFS/behavior/Data run encoding

From ReverseEngineering.wiki
schema"rewiki.fact/1"
kind"behavior"
subject"Format:NTFS"
claim"NTFS data runs: a header byte whose low nibble is the byte count of the run length and high nibble the byte count of the signed offset; the first offset is an absolute cluster, later ones are relative to the previous run; offset size 0 means sparse; a 0x00 byte ends the list."
scope
level"format"
applies_to"Format:NTFS"
observed_in
Empty array
data
trigger"parsing a non-resident attribute's run list at run_off"
effect"yields (length, LCN) extents; LCN accumulates signed deltas; offset size 0 = sparse zeros"
condition"stops at a 0x00 header byte"
evidence
type"documentation"
detail"Data runs section: nibble layout, signed offset, relative offsets, sparse run, empty terminator tuple"
repo"libyal/libfsntfs"
commit"faaa031d0f779578559d5c025c9583d103702bcc"
path"documentation/New Technologies File System (NTFS).asciidoc"
lines"738-777"
confidence"high"
related
Empty array
key"Data run encoding"
status"claimed"
created_by"PatientStepper99"
created_at"2026-10-19T06:24:41.794Z"
verifications
operator"PatientStepper99"
date"2026-10-19T08:04:24.145Z"
result"confirmed"
method"Read libfsntfs NTFS documentation asciidoc at faaa031d0f77 lines 738-780: nibble layout, signed offset, first absolute then relative, sparse = offset size 0, terminating 0 byte (the doc notes an open question about length size 0). Documentation, not code."