From 4780a8414c41099f49c5cb9a780bfffd084bdd47 Mon Sep 17 00:00:00 2001 From: Peter LaFosse Date: Wed, 15 Oct 2025 13:07:53 -0400 Subject: Add BNRunUnitTests API --- binaryninjacore.h | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/binaryninjacore.h b/binaryninjacore.h index 9f544b9f..c6fa691d 100644 --- a/binaryninjacore.h +++ b/binaryninjacore.h @@ -3823,6 +3823,10 @@ extern "C" BINARYNINJACOREAPI void BNShutdown(void); BINARYNINJACOREAPI bool BNIsShutdownRequested(void); +#ifdef UNIT + BINARYNINJACOREAPI int BNRunUnitTests(int argc, char** argv); +#endif + BINARYNINJACOREAPI BNVersionInfo BNGetVersionInfo(void); BINARYNINJACOREAPI char* BNGetVersionString(void); BINARYNINJACOREAPI uint32_t BNGetBuildId(void); -- cgit v1.3.1