Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
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
20
void allocator_init(uptr begin, uptr end) {
21
begin_addr = begin;
22
atomic_store_relaxed(&next_usable_byte, begin);
23
end_addr = end;
24
}
25
26
void *allocator_alloc(uptr size) {
27
if (begin_addr == 0) {
Callers
1
dfsan_init
Function · 0.85
Calls
1
atomic_store_relaxed
Function · 0.85
Tested by
no test coverage detected