MCPcopy Index your code
hub / github.com/dcodeIO/webassembly / do_check_any_chunk

Function do_check_any_chunk

lib/dlmalloc/malloc.c:3214–3217  ·  view source on GitHub ↗

Check properties of any chunk, whether free, inuse, mmapped etc */

Source from the content-addressed store, hash-verified

3212
3213/* Check properties of any chunk, whether free, inuse, mmapped etc */
3214static void do_check_any_chunk(mstate m, mchunkptr p) {
3215 assert((is_aligned(chunk2mem(p))) || (p->head == FENCEPOST_HEAD));
3216 assert(ok_address(m, p));
3217}
3218
3219/* Check properties of top chunk */
3220static void do_check_top_chunk(mstate m, mchunkptr p) {

Callers 4

do_check_inuse_chunkFunction · 0.85
do_check_free_chunkFunction · 0.85
do_check_treeFunction · 0.85
do_check_malloc_stateFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected