mirror of
https://github.com/morluto/rea.git
synced 2026-11-16 11:43:20 +00:00
feat(errors): carry the value of Go, Rust, IL2CPP, sigrok, Electron fuse, CDP, projection and assetutil allowances (#11645)
Each of these fixed allowances now passes limit and unit, traced to the constant or parse refusal that produced it. The Electron fuse, CDP runtime retention and assetutil names no longer embed the value.
This commit is contained in:
1 parent
836ac2fea6
commit
680c83f88c
14 files changed
+123
-42
No files matched your search
@@ -235,6 +235,10 @@ it("bounds folded-name retention against the actual Ghidra file admission", () =
|
||||
if (!(caught instanceof AnalysisResourceConstraintError))
|
||||
throw new Error("Expected seed-file allowance refusal");
|
||||
expect(caught.message).toMatch(/byte admission/);
|
||||
expect(caught.fixedAllowance).toMatchObject({
|
||||
limit: 32 * 1024 * 1024,
|
||||
unit: "bytes",
|
||||
});
|
||||
expect(analysisErrorRemediationAction(caught)).toContain(
|
||||
"The IL2CPP Ghidra seed-file allowance",
|
||||
);
|
||||
@@ -280,6 +284,10 @@ it("refuses names the real Ghidra seed parser cannot admit", () => {
|
||||
if (!(caught instanceof AnalysisResourceConstraintError))
|
||||
throw new Error("Expected seed-name allowance refusal");
|
||||
expect(caught.message).toMatch(/character admission/);
|
||||
expect(caught.fixedAllowance).toMatchObject({
|
||||
limit: 2000,
|
||||
unit: "characters",
|
||||
});
|
||||
expect(analysisErrorRemediationAction(caught)).toContain(
|
||||
"The IL2CPP Ghidra seed-name allowance",
|
||||
);
|
||||
|
||||
Reference in new issue
Block a user