Skip to content

Commit

Permalink
AOSP: e2fsdroid: disable asan leak detection
Browse files Browse the repository at this point in the history
borked and breaks asan build

Bugs: me
Test: build with SANITIZE_HOST=address
Change-Id: I9ae15ba328081c38e31c61834e80ce10765f9e30
From AOSP commit: eff2c071b546c3d2d3ea5eb89328babcc48e4bc2
  • Loading branch information
smore-lore authored and tytso committed May 20, 2024
1 parent 90c534c commit eb5788f
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions contrib/android/e2fsdroid.c
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,11 @@
#define UID_GID_MAP_MAX_EXTENTS 340
#endif

// disable leak detection, breaks host asan build
const char *__asan_default_options() {
return "detect_leaks=0";
}

static char *prog_name = "e2fsdroid";
static char *in_file;
static char *block_list;
Expand Down

0 comments on commit eb5788f

Please sign in to comment.