feat: scaffold v0.1 foundation
This commit is contained in:
parent
c4fb0c6a01
commit
170ca32f58
34 changed files with 6175 additions and 5 deletions
58
fixtures/golden/v1/functions.json
Normal file
58
fixtures/golden/v1/functions.json
Normal file
|
|
@ -0,0 +1,58 @@
|
|||
{
|
||||
"schema_version": 1,
|
||||
"kind": "functions",
|
||||
"provenance": {
|
||||
"ghidr_version": "0.1.0",
|
||||
"adapter_protocol_version": 1,
|
||||
"ghidra_version": "12.1.2",
|
||||
"java_version": "21",
|
||||
"sample_sha256": "aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa",
|
||||
"source_path": { "encoding": "utf8", "value": "./sample" },
|
||||
"analysis_profile_sha256": "bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb",
|
||||
"target": {
|
||||
"loader": "ElfLoader",
|
||||
"format": "ELF",
|
||||
"processor_language": "x86:LE:64:default",
|
||||
"compiler_specification": "gcc",
|
||||
"verification": "verified"
|
||||
},
|
||||
"analysis_store": {
|
||||
"path": { "encoding": "utf8", "value": "/tmp/ghidr-store" },
|
||||
"source": "cli"
|
||||
},
|
||||
"sandbox": { "backend": "bubblewrap", "verification": "verified" },
|
||||
"limits": {
|
||||
"max_heap_mib": 2048,
|
||||
"max_cpu": 2,
|
||||
"analysis_timeout_seconds": 600,
|
||||
"decompile_timeout_seconds": null,
|
||||
"child_watchdog_seconds": 720,
|
||||
"max_sample_bytes": 1073741824,
|
||||
"max_inline_bytes": 65536
|
||||
}
|
||||
},
|
||||
"data": {
|
||||
"page": {
|
||||
"order": "location_then_entry_ascending",
|
||||
"offset": 0,
|
||||
"limit": 100,
|
||||
"returned": 1,
|
||||
"total": 1,
|
||||
"has_more": false
|
||||
},
|
||||
"items": [
|
||||
{
|
||||
"name": "main",
|
||||
"qualified_name": "main",
|
||||
"entry": { "space": "ram", "offset": "0x0000000000401000" },
|
||||
"body_address_count": 32,
|
||||
"location": "memory",
|
||||
"is_external": false,
|
||||
"is_thunk": false,
|
||||
"thunk_target_entry": null,
|
||||
"decompilable": true
|
||||
}
|
||||
]
|
||||
},
|
||||
"warnings": []
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue