diff options
| author | Rusty Wagner <rusty@vector35.com> | 2018-02-23 14:54:44 -0500 |
|---|---|---|
| committer | Peter LaFosse <peter@vector35.com> | 2018-03-23 17:10:06 -0400 |
| commit | 0febe32406e7e82f554be1f0709afaa87beab188 (patch) | |
| tree | d8f6c12a846414e09eb8c5fcb24f45f8260fdb1f /binaryninjacore.h | |
| parent | 2bc180691a9d35e3305d78a61bd4b76a91e8d1f8 (diff) | |
Add APIs for subclassing or hooking an existing architecture in C/C++
Diffstat (limited to 'binaryninjacore.h')
| -rw-r--r-- | binaryninjacore.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/binaryninjacore.h b/binaryninjacore.h index fa7a818a..5329a1d9 100644 --- a/binaryninjacore.h +++ b/binaryninjacore.h @@ -2085,6 +2085,10 @@ extern "C" BINARYNINJACOREAPI BNArchitecture** BNGetArchitectureList(size_t* count); BINARYNINJACOREAPI void BNFreeArchitectureList(BNArchitecture** archs); BINARYNINJACOREAPI BNArchitecture* BNRegisterArchitecture(const char* name, BNCustomArchitecture* arch); + BINARYNINJACOREAPI BNArchitecture* BNRegisterArchitectureExtension(const char* name, + BNArchitecture* base, BNCustomArchitecture* arch); + BINARYNINJACOREAPI void BNAddArchitectureRedirection(BNArchitecture* arch, BNArchitecture* from, BNArchitecture* to); + BINARYNINJACOREAPI BNArchitecture* BNRegisterArchitectureHook(BNArchitecture* base, BNCustomArchitecture* arch); BINARYNINJACOREAPI char* BNGetArchitectureName(BNArchitecture* arch); BINARYNINJACOREAPI BNEndianness BNGetArchitectureEndianness(BNArchitecture* arch); |
