NFSU.cc / RE Atlas / RE Methodology

Systems tags (census/systems.tsv)

RE Methodology 10 verified Speed.exe addresses Speed.exe (2003, x86)

One row per function start of pc/Speed.exe (17,368: Hopper 14,333 + 3,035 lifter starts Hopper lacks); all 13,739 lifted functions have a row. Columns: addr, system, confidence, how, evidence.

Method (tools/census/systems.py; rules in tools/census/sys_rules.py)

  1. Seeds: strings (direct, tables, pool neighbours, decompile literals), imports (census/imports_sites.tsv), addresses

in docs and q_*.py (doc -> system map; mixed docs skip lines with >3 addresses), PATCH headers. Strings in an unwind funclet count for its owner. Static CRT band 0x672000-0x6830a0: string/import evidence is forced to runtime.

  1. Propagation, 8 rounds: callers 1/sqrt(n), callees 0.5, vtable peers 0.5, pieces of one function 1.5, unwind owner 2.0,

nearest seeds in link order; far edges weigh less. Called from >=3 systems = runtime (hub). Then shared globals, then neighbour sandwich. Leftovers: EH glue and padding = runtime/low; the rest unknown/low.

  1. Confidence is rule-based, not a probability: high = seed score >=3, share >=0.6; med = >=1.4, >=0.5 (graph: early,

strong, >8 instructions); low = the rest.

Counts, lifted functions (high/med/low)

systemh/m/ltotal%systemh/m/ltotal%
canon275/678/1103205615.0audio83/322/89412999.5
track130/199/4627915.8assets12/39/1031541.1
traffic67/52/781971.4props33/51/991831.3
rivals258/368/45910857.9input12/50/671290.9
car147/270/5489657.0runtime56/468/1247177112.9
camera44/42/1752611.9online126/171/3946915.0
render179/730/1334224316.3unknown0/0/1560156011.4
hud85/81/1883542.6all1507/3521/871113739100

200 runtime/low rows are EH glue (how=eh-glue), not real functions: leave them out of per-system denominators.

Manual check (I read the Hopper decompile of every sampled function)

--sample N --seed S prints tag, evidence and decompile. agree = content fits; plausible = fits region and neighbours; unverifiable = stub or thunk, tag only matches neighbours; wrong; unknown = tagged unknown.

agree+plausible 28/50, with unverifiable 37/50. Target 40/50 NOT met. The fix came from this sample (3 rows: camera mover ctor, Loaded*SlotPool = assets, CRT file I/O = runtime), so it is not held out.

(normalised sound->audio, tuning/garage->car, blur->render). The strict agreement of 19/50 (38%) is the better estimate of the graph's accuracy, not "8-12% wrong". Rule now: a name with a system (V or I) overrides the graph tag (tools/census/scoreboard.py); tagged counts only med/high confidence or named functions.

Rerun

.venv/bin/python tools/census/systems.py (10 s; needs capstone and pefile from .venv). Writes census/systems.tsv and prints the table. Hopper live, Ghidra live and REA are not used.

Known weak spots