mirror of
https://github.com/morluto/rea.git
synced 2026-11-14 02:32:54 +00:00
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:
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}`,
|
||||
|
||||
Reference in new issue
Block a user