MCPcopy Create free account
hub / github.com/codr7/hacktical-c / hc_bump_alloc

Class hc_bump_alloc

malloc1/malloc1.h:35–40  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

33/* Bump */
34
35struct hc_bump_alloc {
36 struct hc_malloc malloc;
37 struct hc_malloc *source;
38 size_t size, offset;
39 uint8_t *memory;
40};
41
42void hc_bump_alloc_init(struct hc_bump_alloc *a,
43 struct hc_malloc *source,

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected