BinaryAnalysisPlatform / bap-bindings

C Bindings to BAP
MIT License
15 stars 9 forks source link

adds some functions from bap-1.5 #14

Closed gitoleg closed 5 years ago

gitoleg commented 5 years ago

there are some functions that we forgot to add in bap-1.5 release, and this PR adds them

gitoleg commented 5 years ago

An example, how it looks like in generated bap.h:

char* bap_bil_pass_name(struct bap_bil_pass_t* x20488);
struct bap_bil_pass_t* bap_bil_pass_register(char* x20492,
                                             struct bap_stmt_seq_t*(* x20491)(
                                             struct bap_stmt_seq_t*, 
                                             void*), char* x20490,
                                             void* x20489);
void bap_bil_pass_select(struct bap_bil_pass_seq_t* x20493);
struct bap_bil_pass_seq_t* bap_bil_pass_passes(void);