I created both a static lib and an EXE file (which uses the static lib library), but when I open the EXE in IDA pro, the export also appears in the EXE.
I know that they should be exported to .lib itself, but why do they appear as export to exe too?
EDIT: Here is the export / import (they are in separate header files)
Here is the export:
#define NC_LIBEXPORT(a) extern "C" __declspec(dllexport) a __cdecl
NC_LIBEXPORT(VOID) rol8(unsigned char* a, unsigned char b);
and import:
extern "C" VOID rol8(unsigned char* a, unsigned char b);
source
share