-dump abi-compliance-checker ,
abi-compliance-checker -lib NAME -dump DESC.xml -headers-only -stdout > api.dump
XML- (DESC.xml) :
<version>
VERSION
</version>
<headers>
/path(s)/to/headers/
</headers>
:
GCC -fdump-translation-unit -I... , XML-;- AST,
GCC; - Data:: Dumper XML (
-xml).
int BZ2_bzRead ( int *bzerror, BZFILE *b, void *buf, int len ) bzlib.h :
'228' => {
'Header' => 'bzlib.h',
'Line' => '160',
'Param' => {
'0' => {
'algn' => '4',
'name' => 'bzerror',
'type' => '30'
},
'1' => {
'algn' => '4',
'name' => 'b',
'type' => '16'
},
'2' => {
'algn' => '4',
'name' => 'buf',
'type' => '68'
},
'3' => {
'algn' => '4',
'name' => 'len',
'type' => '41'
}
},
'Return' => '41',
'ShortName' => 'BZ2_bzRead'
},
source
share