fix(providers): validate ELF versions and preserve probe cancellation

This commit is contained in:
morluto
2026-10-09 00:49:30 +08:00
parent 915855e75c
commit 8b01e0cc89
8 changed files with 140 additions and 9 deletions
+1
View File
@@ -139,6 +139,7 @@ export const recordedCrashSignalFixture = (path?: string): RecordedCrash => {
export const recordedCrashFixtureBytes = (value: RecordedCrash): Buffer => {
const bytes = Buffer.alloc(value.artifact.bytes);
bytes.set([0x7f, 0x45, 0x4c, 0x46, 2, 1, 1]);
bytes.writeUInt32LE(1, 20);
bytes.writeUInt16LE(4, 16);
bytes.writeUInt16LE(62, 18);
bytes.writeBigUInt64LE(64n, 32);