Skip to content

Commit

Permalink
Prebare for ASAN and/or UBSAN.
Browse files Browse the repository at this point in the history
  • Loading branch information
gvanem committed Jan 18, 2025
1 parent c1d5659 commit 96dff2e
Showing 1 changed file with 13 additions and 1 deletion.
14 changes: 13 additions & 1 deletion src/wsock_trace.rc
Original file line number Diff line number Diff line change
Expand Up @@ -43,6 +43,18 @@
#define FILE_FLG 0
#endif

#if defined(USE_ASAN)
#define RC_ASAN ", ASAN"
#else
#define RC_ASAN ""
#endif

#if defined(USE_UBSAN)
#define RC_UBSAN ", UBSAN"
#else
#define RC_UBSAN ""
#endif

#if (IS_WIN64 == 1) && !defined(BITNESS) && !defined(RC_INVOKED)
#define BITNESS 64
#endif
Expand Down Expand Up @@ -87,7 +99,7 @@ BEGIN
BLOCK "040904b0"
BEGIN
VALUE "CompanyName", "Wsock_trace DLL v" RC_VER_STR ". Hosted at https://github.com/gvanem/wsock-trace"
VALUE "FileDescription", "Winsock tracing DLL (" RC_BUILDER ", " RC_DBG_REL ", " RC_BITNESS ")"
VALUE "FileDescription", "Winsock tracing DLL (" RC_BUILDER ", " RC_DBG_REL RC_ASAN RC_UBSAN ", " RC_BITNESS ")"
VALUE "FileVersion", RC_VER_STR
VALUE "InternalName", RC_DLL_NAME
VALUE "OriginalFilename", RC_DLL_NAME ".dll"
Expand Down

0 comments on commit 96dff2e

Please sign in to comment.