feat(native): add inspection primitives, dispatch traces and approved UI observation (#500)
* fix(hopper): normalize string-backed addresses and update verification * feat(native): add inspection primitives, dispatch traces and approved UI observation * test: prioritize real artifact E2E and captured golden regressions * fix(process): queue observed output before reactive rendering actions * test: prune redundant cases and strengthen boundary assertions * fix(cli): route native value tracing through shared workflows * test: replace synthetic success with real workflows and captured data * fix(catalog): separate portable metadata from native host availability
This commit is contained in:
@@ -18,6 +18,9 @@ export const nativePcodeOperationSchema = z.strictObject({
|
||||
sequence: z.number().int().nonnegative(),
|
||||
opcode: z.string().min(1),
|
||||
is_dead: z.boolean(),
|
||||
block_membership: z
|
||||
.enum(["member", "detached", "unavailable"])
|
||||
.default("unavailable"),
|
||||
inputs: z.array(nativeVarnodeSchema),
|
||||
output: nativeVarnodeSchema.nullable(),
|
||||
});
|
||||
@@ -52,6 +55,24 @@ export const nativeValueFlowSchema = z.discriminatedUnion("available", [
|
||||
operations: z.array(nativePcodeOperationSchema),
|
||||
def_use: z.array(nativePcodeDefUseSchema),
|
||||
effects: z.array(nativePcodeEffectSchema),
|
||||
parameters: z
|
||||
.array(
|
||||
z.strictObject({
|
||||
ordinal: z.number().int().nonnegative(),
|
||||
name: z.string(),
|
||||
data_type: z.string(),
|
||||
}),
|
||||
)
|
||||
.default([]),
|
||||
parameter_uses: z
|
||||
.array(
|
||||
z.strictObject({
|
||||
ordinal: z.number().int().nonnegative(),
|
||||
use: z.string(),
|
||||
input_index: z.number().int().nonnegative(),
|
||||
}),
|
||||
)
|
||||
.default([]),
|
||||
truncated: z.boolean(),
|
||||
omitted_operations_lower_bound: z.number().int().nonnegative(),
|
||||
known_omitted_inputs: z.number().int().nonnegative(),
|
||||
|
||||
Reference in New Issue
Block a user