We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 773aaed commit 039d6a9Copy full SHA for 039d6a9
Sources/libcoverage/include/libcoverage.h
@@ -33,7 +33,10 @@ struct edge_counts {
33
uint32_t * edge_hit_count;
34
};
35
36
-#define SHM_SIZE 0x100000
+// Size of the shared memory region. Defines an upper limit on the number of
37
+// coverage edges that can be tracked. When bumping this number, please also
38
+// update Target/coverage.c.
39
+#define SHM_SIZE 0x200000
40
#define MAX_EDGES ((SHM_SIZE - 4) * 8)
41
42
// Structure of the shared memory region.
Targets/coverage.c
@@ -10,7 +10,7 @@
10
#define REPRL_DRFD 102
11
#define REPRL_DWFD 103
12
13
14
15
16
#define CHECK(cond) if (!(cond)) { fprintf(stderr, "\"" #cond "\" failed\n"); _exit(-1); }
0 commit comments