feat(native): inspect recorded crashes through pwntools and pwndbg (#1054)
* feat(native): inspect recorded crashes through pwntools and pwndbg * fix(native): bind core note semantics to raw owner bytes * fix(native): validate recorded core ABI and evidence scalars * fix(native): require complete recorded note interpretations * fix(native): bind physical core notes to original headers
This commit is contained in:
@@ -1,3 +1,5 @@
|
||||
import { RecordedCrashService } from "../application/binaryDiagnostics/RecordedCrashService.js";
|
||||
import { PwntoolsRecordedCrashProvider } from "../native/pwntools/PwntoolsRecordedCrashProvider.js";
|
||||
import { BinaryLayoutService } from "../application/binaryDiagnostics/BinaryLayoutService.js";
|
||||
import { PwntoolsLayoutProvider } from "../native/pwntools/PwntoolsLayoutProvider.js";
|
||||
|
||||
@@ -6,3 +8,9 @@ export const createBinaryLayoutService = (
|
||||
environment: Readonly<NodeJS.ProcessEnv> = process.env,
|
||||
): BinaryLayoutService =>
|
||||
new BinaryLayoutService(new PwntoolsLayoutProvider(environment));
|
||||
|
||||
/** Compose recorded-core inspection without acquiring a debugger or toolchain. */
|
||||
export const createRecordedCrashService = (
|
||||
environment: Readonly<NodeJS.ProcessEnv> = process.env,
|
||||
): RecordedCrashService =>
|
||||
new RecordedCrashService(new PwntoolsRecordedCrashProvider(environment));
|
||||
|
||||
Reference in New Issue
Block a user