Commit Graph
9975 Commits
Author SHA1 Message Date
morluto 04c19cea46 refactor(nuget): adopt ByteSource across NuGet and APK parsers (#14047)
refactor(nuget,apk): adopt ByteSource and drop the NuGet in-memory parse branch
2026-11-23 07:12:43 -05:00
morluto 47f59ca88e refactor(domain): one ByteSource representation for streaming parsers 2026-11-23 07:00:19 -05:00
morluto 4ff98b84fb fix(python): validate marshal coverage and consolidate pyc tests (#14036) 2026-11-23 06:55:30 -05:00
gensokyo-devandgensokyo-dev ca26f2ac84 fix(analysis-view): read older UEFI extraction Evidence and drop filter-count ceilings
extract_uefi_firmware rows gained a required ffs_file, so extraction Evidence saved before that field failed to parse in retained views. The field is now optional when reading: the extractor still always records it, and an unrecorded owner matches no owner filter. UEFI view filters also capped each list at 64 values without a format, protocol or resource reason; overlapping filters cannot be split into separate requests without miscounting, so the cap is removed. MCP input-element admission still bounds every request.

Co-Authored-By: gensokyo-dev <342580529+gensokyo-dev@users.noreply.github.com>
2026-11-23 17:41:53 +08:00
gensokyo-devandgensokyo-dev d3773c910e docs(native): describe export RVAs and name-prefix views
Co-Authored-By: gensokyo-dev <342580529+gensokyo-dev@users.noreply.github.com>
2026-11-23 17:41:53 +08:00
gensokyo-devandgensokyo-dev a148da56cc feat(analysis-view): filter native exports and ELF dependencies by name prefix
Retained native-exports and elf-dependencies views matched only exact names, so counting the exports or imports in one namespace meant paging every row. Add name_prefixes to the exports collection and to every named elf-dependencies collection. A prefix filter combines with exact names, and coverage.total counts every match, so limit 1 returns a count. ELF export prefixes follow the exact-name identity rules: non-ASCII names compare their UTF-8 bytes, and names that are not valid UTF-8 never match. The tool descriptions now name the filter.

Co-Authored-By: gensokyo-dev <342580529+gensokyo-dev@users.noreply.github.com>
2026-11-23 17:41:53 +08:00
gensokyo-devandgensokyo-dev bf8448cdfc feat(native): report the stored RVA of PE exports
PE export rows reported only the preferred-base virtual address, which the parser derives from the export-address-table RVA. Callers asking for an RVA had to recover the image base through other tools. Each row now carries the RVA as the slot stores it; a forwarder's RVA locates its forwarder string.

Co-Authored-By: gensokyo-dev <342580529+gensokyo-dev@users.noreply.github.com>
2026-11-23 17:41:53 +08:00
morluto d0a9e6b912 refactor(rust): consolidate binary parser checks on positional reads (#14033) 2026-11-23 07:31:43 +00:00
morluto a6324bd074 perf(analysis-view): page unfiltered Go and Rust metadata directly (#14030) 2026-11-23 07:19:53 +00:00
morluto 6d7bf58637 fix(go): retain verified reports through descriptor finalization (#14026) 2026-11-23 07:14:41 +00:00
morluto be459abee5 fix(go): reject contradictory module coverage in retained views (#14029) 2026-11-23 07:14:32 +00:00
gensokyo-devandgensokyo-dev c01c168336 fix(uefi): attribute a refused output directory to output_directory
An existing output directory was reported as an invalid path issue, which points callers at the firmware image instead of the directory they chose. Route destination refusals through outputDirectoryAdmissionRefusal, as firmware extraction already does.

Co-Authored-By: gensokyo-dev <342580529+gensokyo-dev@users.noreply.github.com>
2026-11-23 14:58:56 +08:00
gensokyo-devandgensokyo-dev 4db10585f0 docs(firmware): describe UEFI extraction summaries and owners
Co-Authored-By: gensokyo-dev <342580529+gensokyo-dev@users.noreply.github.com>
2026-11-23 14:58:56 +08:00
gensokyo-devandgensokyo-dev e617a55385 perf(uefi)!: summarize firmware extraction by default over MCP
A whole-image extraction of a 4 MiB OVMF image lists 560 files in about 553 KB of structured content, which exceeds client result limits. MCP extract_uefi_firmware now retains the complete manifest and returns its summary unless the caller passes detail complete. Targeted extractions fit in the summary's file preview. An optional view returns the first uefi-extraction page in the same call; later pages use inspect_analysis_view. The one-shot CLI command still returns complete Evidence.

BREAKING CHANGE: MCP callers that need every published file inline must pass detail: "complete" to extract_uefi_firmware.

Co-Authored-By: gensokyo-dev <342580529+gensokyo-dev@users.noreply.github.com>
2026-11-23 14:58:56 +08:00
gensokyo-devandgensokyo-dev 5e8388a655 feat(analysis-view): page retained UEFI extraction manifests
Add the uefi-extraction view for extract_uefi_firmware Evidence. The summary returns file, byte, derivation and gap counts, source, media-type and gap-kind tallies, and a bounded preview of the first published files. Pages select files by exact media type, source and owning FFS GUID, name or type, in publication or size order, plus derivations and gaps by kind. Counts and the size order are built once per retained report.

Co-Authored-By: gensokyo-dev <342580529+gensokyo-dev@users.noreply.github.com>
2026-11-23 14:58:56 +08:00
gensokyo-devandgensokyo-dev 465079cb41 feat(uefi): record the owning FFS file of extracted payloads
Each published extraction file now names the FFS file whose body or section produced it, with its GUID, user-interface name, type and logical path. Decoded streams resolve through their carrier section. Callers no longer need to match output paths against a separate inspection to find which driver a file belongs to.

Co-Authored-By: gensokyo-dev <342580529+gensokyo-dev@users.noreply.github.com>
2026-11-23 14:58:56 +08:00
morluto 68cc2b9bb0 refactor(go): consolidate native parser checks on positional reads (#14027) 2026-11-23 06:56:52 +00:00
morluto 1689fb3c12 fix(elf): retain verified kernel reports through descriptor finalization (#14022) 2026-11-23 06:55:17 +00:00
morluto 7487261a35 perf(elf): bound kernel module signature digest reads (#14024) 2026-11-23 06:45:09 +00:00
morluto fabe0da74b fix(elf): preserve kernel config framing and location provenance (#14021) 2026-11-23 06:38:04 +00:00
morluto be32625b29 refactor(elf): consolidate kernel module checks on positional reads 2026-11-23 01:18:06 -05:00
morluto 40200aea6f test(elf): join the paused dependency parser on failure 2026-11-23 01:13:26 -05:00
morluto 0f4c4a7fb4 refactor(elf): retire the test-only dependency buffer driver 2026-11-23 01:13:26 -05:00
morluto 3cb904282f test(elf): assert retained reports during descriptor finalization 2026-11-23 01:13:14 -05:00
morluto fbf79630d2 fix(elf): retain verified artifact reports through descriptor finalization 2026-11-23 01:13:14 -05:00
morluto ba093e0777 fix(ci): rerun TODO scans against the host interpreter 2026-11-23 01:12:19 -05:00
morluto 5817ebb288 fix(ci): close static-check cache gaps and prune stale settings (#14017)
* fix(ci): close static-check cache gaps and prune stale settings

* chore(ci): remove unused Actionlint runner label
2026-11-23 01:11:58 -05:00
morluto 4fdacbf982 fix(ci): track configuration inputs across cached checks (#14015) 2026-11-23 01:03:08 -05:00
morluto b565f787cb refactor(cli/server): break remaining module-layer cycles (#14013)
* refactor(cli,server): break remaining module-layer cycles

* fix(ci): follow relocated CLI entry points

* refactor: remove retired internal reader exports
2026-11-23 00:58:01 -05:00
morluto 33b4563a3e perf(elf): reuse proven symbol suffixes in unwind lookup (#14014) 2026-11-23 00:50:00 -05:00
morluto 88dfad5bb7 refactor: remove internal re-export shims and guard against new ones (#14009)
* refactor: remove internal re-export shims and guard against new ones

* fix(ci): catch namespace module re-exports
2026-11-23 00:47:47 -05:00
morluto 08f4b25e45 perf(go): stream Go binary inspection over FileHandle for ELF, PE, and Mach-O (#14003)
* perf(go): stream Go binary inspection over FileHandle for ELF, PE, and Mach-O

* fix(go): share parsing and bound positional string reads

* perf(go): reuse target reads under the scan budget
2026-11-23 00:45:32 -05:00
morluto a5d427a2d1 chore(guards): declare desktop build-computer entries and clear the entry baseline (#14011) 2026-11-23 00:43:38 -05:00
morluto 4d5b059c64 refactor(native): extract NativeAotPeImage from nativeAotPe (#13998) 2026-11-23 05:42:59 +00:00
morluto a1747df7a7 refactor(rizin): extract NUL-frame reader and wait helpers from RizinDebugSessionManager (#14001)
* refactor(rizin): extract NUL-frame reader and wait helpers from RizinDebugSessionManager

* fix(ci): track extracted Rizin frame helpers
2026-11-23 00:41:47 -05:00
morluto bc8a0b32f3 refactor(uninstall): extract registration-removal and item-collapse helpers from Uninstall (#14006) 2026-11-23 00:40:07 -05:00
morluto 5acdeb79fb refactor(elf): retire the obsolete unwind buffer parser (#14007) 2026-11-23 00:39:55 -05:00
morluto 880a2d5d51 refactor(server): extract offline inspection tool bindings from serviceToolBindings (#13984) 2026-11-23 05:32:48 +00:00
morluto ada3ea6305 refactor(adb): extract package and app lifecycle operations from AdbProvider (#13988) 2026-11-23 05:31:04 +00:00
morluto 2915278d50 refactor(artifacts): extract bounded member I/O helpers from ReleaseExposureReader (#13990) 2026-11-23 05:28:12 +00:00
RRFZ 4c27f48667 fix(gpu): mark conflicting CUDA shared sections partial and clear register provenance (#13963) 2026-11-23 00:24:21 -05:00
morluto a8fa445c41 refactor(elf): retire obsolete note buffer parsers (#13995) 2026-11-23 00:23:44 -05:00
morluto 27eef47122 refactor(dwarf): prune superseded whole-buffer locateDwarfSections wrapper (#13993) 2026-11-23 00:23:34 -05:00
morluto 0c303efb0e refactor(elf): prune superseded whole-buffer parseKernelBuildConfig wrapper (#13996) 2026-11-23 00:23:24 -05:00
morluto 1032be8314 fix(elf): retain verified debug-link evidence through descriptor finalization (#13986) 2026-11-23 05:21:58 +00:00
morluto 189785a240 perf(rust): stream Rust binary inspection over FileHandle for ELF, PE, Mach-O, and WebAssembly (#13979)
* perf(rust): stream Rust binary inspection over FileHandle for ELF, PE, Mach-O, and WebAssembly

* fix(rust): bound positional dependency and name reads

* refactor(rust): reuse strict UTF-8 validation
2026-11-23 00:21:05 -05:00
gensokyo-devandgensokyo-dev 89fc51ba97 docs(firmware): describe UEFI summaries and views
Co-Authored-By: gensokyo-dev <342580529+gensokyo-dev@users.noreply.github.com>
2026-11-23 13:12:02 +08:00
gensokyo-devandgensokyo-dev 11ac37a42f perf(uefi)!: summarize firmware inspection by default over MCP
A complete map of a 4 MiB OVMF image is about 514 KB of structured content, which exceeds client result limits. MCP inspect_uefi_firmware now retains the complete map and returns its summary unless the caller passes detail complete. An optional view returns the first uefi-firmware page in the same call; later pages use inspect_analysis_view. The one-shot CLI command still returns complete Evidence.

BREAKING CHANGE: MCP callers that need every volume, file and section inline must pass detail: "complete" to inspect_uefi_firmware.

Co-Authored-By: gensokyo-dev <342580529+gensokyo-dev@users.noreply.github.com>
2026-11-23 13:12:02 +08:00
gensokyo-devandgensokyo-dev fc4c453683 feat(analysis-view): page retained UEFI firmware maps
Add the uefi-firmware view for inspect_uefi_firmware Evidence. The summary returns volume, file and section counts with FFS type, section type and volume depth tallies. Pages select volumes, files, sections, unknown regions, integrity records and PSP tables or candidates. Files match exact GUIDs, user-interface names, type names and owning volume; sections match their owning file and type. Rows keep the original flattened index plus the offset and source stream that extraction targets.

Co-Authored-By: gensokyo-dev <342580529+gensokyo-dev@users.noreply.github.com>
2026-11-23 13:12:02 +08:00
morluto 352c9cea1a refactor(providers): adopt offlineArtifactFailureDialect in NativeExportsProvider (#13982) 2026-11-23 05:11:12 +00:00