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/CleanupData"
|
||||
"$ref": "#/$defs/InlineOrArtifact"
|
||||
},
|
||||
"kind": {
|
||||
"type": "string",
|
||||
|
|
@ -54,6 +54,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"
|
||||
]
|
||||
},
|
||||
"CleanupData": {
|
||||
"description": "Cleanup result data; detailed count contracts are carried as typed snapshots.",
|
||||
"type": "object",
|
||||
|
|
@ -215,6 +250,19 @@
|
|||
"description": "A lowercase SHA-256 digest.",
|
||||
"type": "string"
|
||||
},
|
||||
"InlineOrArtifact": {
|
||||
"description": "Successful command data emitted inline or represented by a complete Artifact.",
|
||||
"anyOf": [
|
||||
{
|
||||
"description": "Complete command-specific data.",
|
||||
"$ref": "#/$defs/CleanupData"
|
||||
},
|
||||
{
|
||||
"description": "Bounded descriptor for the complete stored success response.",
|
||||
"$ref": "#/$defs/SpilledData"
|
||||
}
|
||||
]
|
||||
},
|
||||
"SandboxBackend": {
|
||||
"description": "Sandbox backend.",
|
||||
"oneOf": [
|
||||
|
|
@ -273,6 +321,24 @@
|
|||
}
|
||||
]
|
||||
},
|
||||
"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"
|
||||
]
|
||||
},
|
||||
"StorageUsage": {
|
||||
"description": "Filesystem usage represented without implying freed space.",
|
||||
"type": "object",
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue