VMProtectIsDebuggerPresent on v3.8.8.2040

Hello there,

I noticed a different behavior using the function VMProtectIsDebuggerPresent with the latest revision v3.8.8.2040.
The function returns 256 (decimal) even though no debugger is running
Same project compiled with v3.8.7.xxx works correctly.
Can someone confirm ?

Show me your VMProtectIsDebuggerPresent declaration.

It’s declared in WMProtectSDK.h

VMP_IMPORT bool VMP_API VMProtectIsDebuggerPresent(bool);

The size of “bool” is one byte, so 0x100 is equal “false”

My bad… I wrongly defined bool as an int
Thanks for your quick support