diff options
| author | Rusty Wagner <rusty@vector35.com> | 2016-07-23 21:29:52 -0400 |
|---|---|---|
| committer | Rusty Wagner <rusty@vector35.com> | 2016-07-23 21:29:52 -0400 |
| commit | 11cf9f176f45f03df16bf69c5ca33789ba0ded22 (patch) | |
| tree | 8545794dfdef1fec42d481c12a55da6645540308 /binaryninjacore.h | |
| parent | 13491e5eb8d50c242cf6858b111e404ea9f79239 (diff) | |
Add endian argument to registering archs with views
Diffstat (limited to 'binaryninjacore.h')
| -rw-r--r-- | binaryninjacore.h | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/binaryninjacore.h b/binaryninjacore.h index 837a99e1..241f1f3d 100644 --- a/binaryninjacore.h +++ b/binaryninjacore.h @@ -1139,8 +1139,10 @@ extern "C" BINARYNINJACOREAPI BNBinaryViewType* BNRegisterBinaryViewType(const char* name, const char* longName, BNCustomBinaryViewType* type); - BINARYNINJACOREAPI void BNRegisterArchitectureForViewType(BNBinaryViewType* type, uint32_t id, BNArchitecture* arch); - BINARYNINJACOREAPI BNArchitecture* BNGetArchitectureForViewType(BNBinaryViewType* type, uint32_t id); + BINARYNINJACOREAPI void BNRegisterArchitectureForViewType(BNBinaryViewType* type, uint32_t id, + BNEndianness endian, BNArchitecture* arch); + BINARYNINJACOREAPI BNArchitecture* BNGetArchitectureForViewType(BNBinaryViewType* type, uint32_t id, + BNEndianness endian); BINARYNINJACOREAPI void BNRegisterPlatformForViewType(BNBinaryViewType* type, uint32_t id, BNArchitecture* arch, BNPlatform* platform); |
