feat: integrate ghidra-cli v0.1
This commit is contained in:
commit
ffab80a1f2
52 changed files with 6689 additions and 126 deletions
|
|
@ -6,7 +6,7 @@
|
|||
"properties": {
|
||||
"data": {
|
||||
"description": "Operation-specific result.",
|
||||
"$ref": "#/$defs/DecompilationData"
|
||||
"$ref": "#/$defs/InlineOrArtifact"
|
||||
},
|
||||
"kind": {
|
||||
"type": "string",
|
||||
|
|
@ -72,6 +72,41 @@
|
|||
"source"
|
||||
]
|
||||
},
|
||||
"ArtifactDescriptor": {
|
||||
"description": "Artifact descriptor returned instead of oversized inline data.",
|
||||
"type": "object",
|
||||
"properties": {
|
||||
"bytes": {
|
||||
"description": "Exact file bytes including trailing LF.",
|
||||
"type": "integer",
|
||||
"format": "uint64",
|
||||
"minimum": 0
|
||||
},
|
||||
"contains": {
|
||||
"description": "Always `complete_success_response`.",
|
||||
"type": "string"
|
||||
},
|
||||
"media_type": {
|
||||
"description": "Always `application/json`.",
|
||||
"type": "string"
|
||||
},
|
||||
"path": {
|
||||
"description": "Tagged absolute Artifact path.",
|
||||
"$ref": "#/$defs/TaggedPath"
|
||||
},
|
||||
"sha256": {
|
||||
"description": "SHA-256 of exact file bytes.",
|
||||
"$ref": "#/$defs/Digest"
|
||||
}
|
||||
},
|
||||
"required": [
|
||||
"path",
|
||||
"bytes",
|
||||
"sha256",
|
||||
"media_type",
|
||||
"contains"
|
||||
]
|
||||
},
|
||||
"DecompilationData": {
|
||||
"description": "Successful targeted decompilation data.",
|
||||
"type": "object",
|
||||
|
|
@ -166,6 +201,19 @@
|
|||
}
|
||||
]
|
||||
},
|
||||
"InlineOrArtifact": {
|
||||
"description": "Successful command data emitted inline or represented by a complete Artifact.",
|
||||
"anyOf": [
|
||||
{
|
||||
"description": "Complete command-specific data.",
|
||||
"$ref": "#/$defs/DecompilationData"
|
||||
},
|
||||
{
|
||||
"description": "Bounded descriptor for the complete stored success response.",
|
||||
"$ref": "#/$defs/SpilledData"
|
||||
}
|
||||
]
|
||||
},
|
||||
"Limits": {
|
||||
"description": "Resource policy selected for one invocation.",
|
||||
"type": "object",
|
||||
|
|
@ -367,6 +415,24 @@
|
|||
"entry"
|
||||
]
|
||||
},
|
||||
"SpilledData": {
|
||||
"description": "Public data shape returned when a complete success exceeds the inline byte budget.",
|
||||
"type": "object",
|
||||
"properties": {
|
||||
"artifact": {
|
||||
"description": "Immutable complete-success Artifact.",
|
||||
"$ref": "#/$defs/ArtifactDescriptor"
|
||||
},
|
||||
"spilled": {
|
||||
"description": "Always true for this variant.",
|
||||
"type": "boolean"
|
||||
}
|
||||
},
|
||||
"required": [
|
||||
"spilled",
|
||||
"artifact"
|
||||
]
|
||||
},
|
||||
"StoreSource": {
|
||||
"description": "Analysis Store resolution source.",
|
||||
"oneOf": [
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue