feat(go): recover bounded Go string literals from (ptr, len) headers (#9206)

* feat(go): recover bounded Go string literals from (ptr, len) headers

* fix(go): deduplicate header scan spans, bound rejected cache, and reject Cf

* fix(go): allow U+200C ZWNJ and U+200D ZWJ in Go string literal recovery

* fix(go): index Mach-O load regions, validate MCP schema, and add feature specs

* test(go): cover Mach-O region-index cancellation and load-region boundaries
This commit is contained in:
Ryan S authored and GitHub committed 2026-11-08 22:50:32 +00:00
1 parent 5553acfe50
commit 94182f331e
26 files changed
+2709 -44

No files matched your search

@@ -261,6 +261,12 @@ describe("pyc and BEAM limit options", () => {
["inspect-erlang-beam", "--max-file-bytes", "maxFileBytes", ["0x10"]],
["inspect-erlang-beam", "--max-chunks", "maxChunks", ["1e1"]],
["inspect-erlang-beam", "--max-atoms", "maxAtoms", ["0b1"]],
[
"inspect-go-binary",
"--max-string-literals",
"maxStringLiterals",
["", "0x10", "1e2"],
],
] as const) {
cliTest.for(values)(
`rejects %j as ${command} ${flag}`,