Skip to content

Commit

Permalink
adding asan import and ASAN align (#1628)
Browse files Browse the repository at this point in the history
* adding import and ASAN align

* inter-util deps comment

---------

Co-authored-by: ibhatt-jumptrading <[email protected]>
  • Loading branch information
ibhatt-jumptrading and ibhatt-jumptrading authored Apr 24, 2024
1 parent d5bf629 commit e30d4ae
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 0 deletions.
1 change: 1 addition & 0 deletions src/util/fd_util.h
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@
//#include "bits/fd_bits.h" /* includes fd_util_base.h */
//#include "sanitize/fd_asan.h" /* includes fd_util_base.h" */
//#include "sanitize/fd_sanitize.h" /* includes sanitize/fd_asan.h */
//#include "wksp/fd_wksp.h" /* includes sanitize/fd_asan.h */
//#include "cstr/fd_cstr.h" /* includes bits/fd_bits.h */
//#include "io/fd_io.h" /* includes bits/fd_bits.h */
//#include "pod/fd_pod.h" /* includes cstr/fd_cstr.h */
Expand Down
4 changes: 4 additions & 0 deletions src/util/sanitize/fd_asan.h
Original file line number Diff line number Diff line change
Expand Up @@ -78,6 +78,10 @@ FD_PROTOTYPES_BEGIN
FIXME: CONST CORRECT VERSIONS? */

#ifdef FD_HAS_DEEPASAN
#define FD_ASAN_ALIGN (8UL)
#endif

#if FD_HAS_ASAN

/* These are for internal use only */
Expand Down
1 change: 1 addition & 0 deletions src/util/wksp/fd_wksp.h
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@

#include "../pod/fd_pod.h"
#include "../shmem/fd_shmem.h"
#include "../sanitize/fd_asan.h"

/* API for creating NUMA-aware and TLB-efficient workspaces used for
complex inter-thread and inter-process shared memory communication
Expand Down

0 comments on commit e30d4ae

Please sign in to comment.