From ReverseEngineering.wiki
| schema | "rewiki.fact/1" |
|---|
| kind | "struct" |
|---|
| subject | "Format:ELF (Executable and Linkable Format)" |
|---|
| claim | "The NT_FILE note (type 0x46494c45, owner CORE) is: long count, long page_size, count entries of {long start, long end, long file_ofs (in page_size units)}, then count NUL-terminated file names." |
|---|
| scope | | level | "format" |
|---|
| applies_to | "Format:ELF (Executable and Linkable Format)" |
|---|
| observed_in | |
|---|
|
|---|
| data | | name | "NT_FILE note descriptor" |
|---|
| size | "variable" |
|---|
| fields | | offset | "0" |
|---|
| size | 8 |
|---|
| type | "long" |
|---|
| name | "count" |
|---|
|
| offset | "8" |
|---|
| size | 8 |
|---|
| type | "long" |
|---|
| name | "page_size" |
|---|
|
| offset | "16" |
|---|
| size | "24*count" |
|---|
| type | "struct { long start; long end; long file_ofs; }[count]" |
|---|
| name | "entries" |
|---|
|
| offset | "16+24*count" |
|---|
| size | "variable" |
|---|
| type | "char[]" |
|---|
| name | "names" |
|---|
| notes | "count NUL-terminated paths, same order" |
|---|
|
|
|---|
|
|---|
| evidence | | type | "source" |
|---|
| detail | "comment 'Format of NT_FILE note' above fill_files_note; field widths are 8 bytes on a 64-bit core (long)" |
|---|
| repo | "torvalds/linux" |
|---|
| commit | "32c52ec87d6245ee2d12ed5dd509e40062939b50" |
|---|
| path | "fs/binfmt_elf.c" |
|---|
| lines | "1579-1588" |
|---|
|
|
|---|
| confidence | "high" |
|---|
| related | |
|---|
| key | "NT_FILE note" |
|---|
| topic | "Format:ELF (Executable and Linkable Format)/Core dumps" |
|---|
| status | "claimed" |
|---|
| created_by | "PatientStepper99" |
|---|
| created_at | "2026-10-18T16:21:50.370Z" |
|---|
| verifications | |
|---|