This repository contains public lab artifacts for source-to-machine reading of a small C double-linked-list sample. The tracked files focus on optimization-level differences, stripped versus symbolized disassembly, GCC versus clang output, Hex-Rays observations, and a small RAII cleanup appendix.
- Start with
src/to see the C and C++ source samples. - Read
o_level/o_level_survival_table.md, then the O0 through O3 assembly files undero_level/. - Read
stripped/recognition_signatures.md, thenstripped/stripped_vs_symbolized_diff.mdandstripped/stripped_O2_pressure_test.md. - Read
compiler_delta/gcc_vs_clang_delta.md, thencompiler_delta/print_list_reload_alias_test.md. - Read
hexrays/hex_rays_distortion_o2.mdwith the machine-code excerpts underhexrays/asm/. - Read
raii_probe/as appendix evidence for C++ cleanup lowering. - Read
TOOLCHAIN.mdfor the recorded compiler and disassembly environment.
Evidence:
- The source samples are tracked under
src/. - Optimization-level disassembly is tracked under
o_level/. - Stripped and compiler-contrast disassembly is tracked under
stripped/andcompiler_delta/. - Distilled public notes are tracked beside their evidence directories:
o_level/o_level_survival_table.md,stripped/recognition_signatures.md,compiler_delta/gcc_vs_clang_delta.md, andhexrays/hex_rays_distortion_o2.md. - Hex-Rays-facing assembly excerpts are tracked under
hexrays/.
Inference:
- Recognition cues from these artifacts are useful for this own-code sample family and as future transfer candidates.
Boundary:
- Compiler contrast is limited to the recorded GCC 13.3 and clang 18.1 artifacts.
- The RAII probe is appendix evidence for cleanup lowering only.
- The RAII probe is not external validation.
OPEN:
- External transferability testing was deferred.
- General stripped-binary capability is not established by this repository.
TOOLCHAIN.md records the tool versions referenced by these artifacts. Rebuilds
should compare generated disassembly against the tracked files instead of
assuming byte-identical output across hosts or compiler revisions.