MCPcopy Create free account
hub / github.com/R-Fuzz/symsan / allocator_init

Function allocator_init

runtime/dfsan/taint_allocator.cpp:20–24  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

18 */
19
20void allocator_init(uptr begin, uptr end) {
21 begin_addr = begin;
22 atomic_store_relaxed(&next_usable_byte, begin);
23 end_addr = end;
24}
25
26void *allocator_alloc(uptr size) {
27 if (begin_addr == 0) {

Callers 1

dfsan_initFunction · 0.85

Calls 1

atomic_store_relaxedFunction · 0.85

Tested by

no test coverage detected