Files
reverse-engineering-anything/scripts/lib/module-layers.baseline.json
T
morluto 264dcd5fee refactor(artifacts): break the artifacts-firmware and artifacts-gpu import cycles (#11331)
* refactor(domain): move BinaryContainer into src/domain

BinaryContainer imports only domain modules and is shared by artifacts, firmware, gpu, go, il2cpp, python, rust and native. Living under src/native made artifacts and firmware import native for its failure types and BinaryReader. Pure move: git mv plus import specifier updates.

* refactor(firmware): move the devicetree parser into src/domain/firmware

The FIT artifact reader in src/artifacts parses embedded devicetree blobs with the parser that lived under src/firmware, while firmware's providers import src/artifacts: the two units imported each other. The parser and its fixture are pure and now sit beside domain/firmware/devicetree.ts. Pure move: git mv plus import specifier and baseline key updates.

* refactor(artifacts): break the artifacts-gpu import cycle (#11335)

* refactor(artifacts): move the LZ4 block decoder into src/artifacts

Pure move: git mv plus import specifier updates. The next commit removes its GPU-specific budget.

* refactor(artifacts): take the LZ4 output budget from the caller

decodeLz4Block bounded every decode by the GPU object budget and threw through rejectGpu, so UnityFS decoding in src/artifacts imported src/gpu while gpu imports artifacts. Callers now pass their budget: GPU payloads keep GPU_OBJECT_BYTES; UnityFS passes its 64 MiB block bound, which its size checks already enforce before decoding. Malformed blocks still throw BinaryFormatFailure with the same messages.

* test(architecture): drop the artifacts-firmware and artifacts-gpu cycles from the layer baseline

* refactor(artifacts): move the PE resource reader into src/artifacts/pe (#11347)

refactor(artifacts): move the PE resource layout and parser into src/artifacts/pe

The Node SEA and Deno standalone readers in src/artifacts locate PE resources with the layout and parser that lived under src/native/pe, while those modules already read through src/artifacts (ArtifactReaderFailure, assertArtifactReadActive). Pure move: git mv plus import specifier, baseline key and spec path updates.
2026-11-16 03:44:53 +08:00

71 lines
2.1 KiB
JSON

{
"upward": {
"adb -> application": 4,
"android -> application": 10,
"apkSignature -> application": 3,
"apktool -> application": 3,
"application -> catalogDiscovery.ts": 1,
"application -> catalogIdentity.ts": 2,
"application -> mcpStartupPolicy.ts": 3,
"application -> serverIdentity.ts": 1,
"artifacts -> application": 8,
"browser -> application": 33,
"captures -> application": 2,
"composition -> cliCommandNames.ts": 3,
"config -> application": 2,
"config -> native": 1,
"desktop -> application": 5,
"domain -> contracts": 4,
"dotnet -> application": 4,
"electron -> application": 2,
"erlang -> application": 2,
"evm -> application": 2,
"firmware -> application": 4,
"flutter -> application": 1,
"frida -> application": 4,
"ghidra -> application": 17,
"go -> application": 2,
"gpu -> application": 2,
"hopper -> application": 13,
"ida -> application": 8,
"il2cpp -> application": 5,
"inspector -> application": 3,
"javascript -> application": 6,
"jeb -> application": 4,
"kuna -> application": 7,
"model -> application": 2,
"native -> application": 35,
"pcap -> application": 2,
"process -> artifacts": 20,
"providers -> application": 4,
"python -> application": 2,
"rust -> application": 2,
"signals -> application": 2,
"sqlite -> application": 2,
"v8 -> application": 2,
"wasm -> application": 2,
"windows -> artifacts": 2
},
"cycles": [
"application <-> artifacts",
"application <-> browser",
"application <-> config",
"application <-> desktop",
"application <-> dotnet",
"application <-> frida",
"application <-> providers",
"artifacts <-> dotnet",
"artifacts <-> javascript",
"artifacts <-> native",
"artifacts <-> process",
"cli <-> cli.ts",
"cli <-> cliBrowserScenarioCommands.ts",
"cli <-> cliEvidenceCommands.ts",
"cli <-> cliOutput.ts",
"config <-> filesystem",
"contracts <-> domain",
"main <-> server",
"process <-> windows"
]
}