feat(native): add investigation features (#486)
* feat(native): add UI and dispatch investigation workflows * feat(ghidra): support macOS host validation * docs: update native investigation capabilities * feat(artifacts): decode compiled Interface Builder archives * feat(ghidra): expose bounded p-code value flow * test(ghidra): split host and cross-format verification * fix(verify): follow complete result contracts * refactor: remove unused authorization and schema helpers * refactor: remove unused evidence result alias * fix(ghidra): report jump-table evidence precisely * fix(verify): align browser scenario fixture schema * fix(setup): compare parsed client config structurally * test(ghidra): verify AArch64 jump-table mappings * fix(ghidra): recover AArch64 byte jump tables * test(artifacts): verify compiled interface builder archives * feat(native): trace UI actions through handlers * fix(tests): update native trace and shutdown fixtures * fix(verification): diagnose browser scenario failures * fix(browser): wrap scenario snapshots in capture state * fix(native): bind and bound investigation workflows * fix(artifacts): preserve bounded interface builder evidence * fix(ghidra): enforce admitted hosts and preflight tools * fix(native): preserve trace cancellation and bounds * test(application): expect bound analysis target evidence * fix(native): preserve investigation bounds and cancellation * fix(application): preserve bundle and unresolved trace evidence * style(test): format artifact subject fixture
This commit is contained in:
@@ -92,7 +92,6 @@ export const ghidraNativeApiBoundary = () => ({
|
||||
{
|
||||
case_value: 0,
|
||||
target_address: "0x401020",
|
||||
data_addresses: ["0x403000"],
|
||||
confidence: "medium" as const,
|
||||
evidence: [
|
||||
{
|
||||
@@ -149,6 +148,42 @@ export const ghidraFunctionDossier = (includeAssembly = true): JsonValue => {
|
||||
referenced_names: [],
|
||||
basic_blocks: [{ start: "0x401000", end: "0x401006", successors: [] }],
|
||||
native_api: ghidraNativeApiBoundary(),
|
||||
native_value_flow: {
|
||||
available: true,
|
||||
provenance: "ghidra-high-pcode",
|
||||
operations: [
|
||||
{
|
||||
id: "0x401000#0",
|
||||
address: "0x401000",
|
||||
sequence: 0,
|
||||
opcode: "COPY",
|
||||
is_dead: false,
|
||||
inputs: [
|
||||
{
|
||||
kind: "constant",
|
||||
size_bytes: 4,
|
||||
location: null,
|
||||
constant_hex: "2a",
|
||||
},
|
||||
],
|
||||
output: {
|
||||
kind: "register",
|
||||
size_bytes: 4,
|
||||
location: "register:0x0",
|
||||
constant_hex: null,
|
||||
},
|
||||
},
|
||||
],
|
||||
def_use: [],
|
||||
effects: [],
|
||||
truncated: false,
|
||||
omitted_operations_lower_bound: 0,
|
||||
known_omitted_inputs: 0,
|
||||
known_omitted_edges: 0,
|
||||
limitations: [
|
||||
"High p-code is a decompiler-derived intra-function representation, not original source or runtime behavior.",
|
||||
],
|
||||
},
|
||||
limitations: [
|
||||
"Unresolved computed or indirect flows without target addresses are not represented as reference edges.",
|
||||
"Thunk and external classifications are Ghidra FunctionManager observations; they do not resolve targetless calls.",
|
||||
|
||||
Reference in New Issue
Block a user