fix(hopper): bind file mappings to verified source bytes
Read source digests, FAT tables and embedded headers from one opened source stream before translating native offsets. Preserve native mapping observations through changed, missing, nonregular and access-denied source failures; keep filesystem work outside the Hopper API thread. Exercise source drift, relocated slices, missing files, permissions and recovery through real Hopper CLI/MCP verification for thin, FAT32 and FAT64 inputs.
This commit is contained in:
@@ -136,7 +136,7 @@ export class AnalysisAccessDeniedError extends AnalysisError {
|
||||
readonly operation: string,
|
||||
readonly path: string,
|
||||
readonly systemCode: "EACCES" | "EPERM",
|
||||
options?: ErrorOptions,
|
||||
options?: AnalysisErrorOptions,
|
||||
) {
|
||||
super(
|
||||
`Host filesystem read access denied (${systemCode}) for ${path} during ${operation}`,
|
||||
@@ -152,7 +152,7 @@ export class AnalysisArtifactChangedError extends AnalysisError {
|
||||
readonly operation: string,
|
||||
readonly path: string,
|
||||
readonly reason: string,
|
||||
options?: ErrorOptions,
|
||||
options?: AnalysisErrorOptions,
|
||||
) {
|
||||
super(`Selected artifact changed during acquisition: ${reason}`, options);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user