From 4c8271a8aae5897785904adb48c911818f2dd301 Mon Sep 17 00:00:00 2001 From: Peter LaFosse Date: Wed, 28 Aug 2019 06:59:45 -0400 Subject: Make GetPlatformFunctionByName optionally strip leading underscores when matching --- binaryninjacore.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'binaryninjacore.h') diff --git a/binaryninjacore.h b/binaryninjacore.h index 1bf9b6c0..a7dc19df 100644 --- a/binaryninjacore.h +++ b/binaryninjacore.h @@ -3691,7 +3691,7 @@ extern "C" BINARYNINJACOREAPI void BNFreeSystemCallList(BNSystemCallInfo* syscalls, size_t count); BINARYNINJACOREAPI BNType* BNGetPlatformTypeByName(BNPlatform* platform, BNQualifiedName* name); BINARYNINJACOREAPI BNType* BNGetPlatformVariableByName(BNPlatform* platform, BNQualifiedName* name); - BINARYNINJACOREAPI BNType* BNGetPlatformFunctionByName(BNPlatform* platform, BNQualifiedName* name); + BINARYNINJACOREAPI BNType* BNGetPlatformFunctionByName(BNPlatform* platform, BNQualifiedName* name, bool exactMatch); BINARYNINJACOREAPI char* BNGetPlatformSystemCallName(BNPlatform* platform, uint32_t number); BINARYNINJACOREAPI BNType* BNGetPlatformSystemCallType(BNPlatform* platform, uint32_t number); -- cgit v1.3.1