This commit adds the binary analyser code to the toolchain. This binary analyser adds various features such as gathering ELF information (e.g., functions, symbols, ...), micro-libs inspection, ELF comparison, ELF pages division, ... Note that it was developped with Unikraft structure in mind. The binary analyser can be used as an external tool with the '--binary' argument. A specific json file should be provided which contains specific fields (see 'bin_analysis_example.json'). Please, see the wiki for further information. Signed-off-by: Gaulthier Gain <gaulthier.gain@uliege.be>
40 lines
No EOL
895 B
JSON
40 lines
No EOL
895 B
JSON
{
|
|
"unikernels": [
|
|
{
|
|
"buildPath": "/Users/unicore/buildCompare/lib-sqlite",
|
|
"ignoredPlats": [
|
|
"linuxu",
|
|
"xen"
|
|
],
|
|
"kernel": "lib-sqlite3_kvm-x86_64.dbg",
|
|
"splitSection": ".text",
|
|
"displayMapping": true,
|
|
"displayStatSize": false,
|
|
"displayElfFile": [
|
|
"sections"
|
|
],
|
|
"displaySectionInfo": [],
|
|
"findSectionByAddress": [
|
|
"0x43a74e"
|
|
],
|
|
"compareGroup": 1
|
|
},
|
|
{
|
|
"buildPath": "/Users/unicore/buildCompare/app-helloworld",
|
|
"ignoredPlats": [
|
|
"linuxu",
|
|
"xen"
|
|
],
|
|
"kernel": "lib-redis_kvm-x86_64.dbg",
|
|
"splitSection": ".text",
|
|
"displayElfFile": [],
|
|
"displayMapping": true,
|
|
"displayStatSize": true,
|
|
"displaySectionInfo": [],
|
|
"findSectionByAddress": [
|
|
"0x427836"
|
|
],
|
|
"compareGroup": 1
|
|
}
|
|
]
|
|
} |