MCPcopy Create free account

hub / github.com/GrapheneOS/hardened_malloc / functions

Functions220 in github.com/GrapheneOS/hardened_malloc

↓ 40 callersFunctionfatal_error
util.c:29
↓ 40 callersFunctionmutex_unlock
mutex.h:24
↓ 37 callersMethodrun_test
(self, test_name)
test/test_smc.py:12
↓ 27 callersFunctionmutex_lock
mutex.h:20
↓ 26 callersFunctionthread_seal_metadata
h_malloc.c:1024
↓ 19 callersFunctionthread_unseal_metadata
h_malloc.c:1020
↓ 11 callersFunctionmemory_unmap
memory.c:40
↓ 10 callersFunctionget_slab
h_malloc.c:279
↓ 9 callersFunctionh_free
preserves errno
h_malloc.c:1541
↓ 8 callersFunctionis_init
h_malloc.c:1067
↓ 8 callersFunctionmemory_set_name
memory.c:100
↓ 8 callersFunctionnew_impl
new.cc:35
↓ 7 callersFunctionget_slab_region_end
h_malloc.c:81
↓ 7 callersFunctionregions_find
h_malloc.c:963
↓ 7 callersFunctionslot_pointer
h_malloc.c:441
↓ 6 callersFunctionget_mask
h_malloc.c:359
↓ 6 callersFunctionget_slab_size
h_malloc.c:221
↓ 6 callersFunctionget_slots
h_malloc.c:157
↓ 5 callersFunctionadjust_size_for_canary
h_malloc.c:1321
↓ 5 callersFunctiondeallocate_pages
pages.c:84
↓ 5 callersFunctionmemory_map_fixed
memory.c:31
↓ 5 callersFunctionmemory_protect_rw
memory.c:64
↓ 5 callersFunctionmemory_purge
memory.c:92
↓ 5 callersFunctionpage_align
pages.h:19
↓ 4 callersFunctionalign
util.h:55
↓ 4 callersFunctionenforce_init
h_malloc.c:1071
↓ 4 callersFunctionget_free_slot
h_malloc.c:363
↓ 4 callersFunctionget_large_size_class
Returns 0 on overflow.
h_malloc.c:1198
↓ 4 callersFunctionget_metadata
h_malloc.c:431
↓ 4 callersFunctionget_random_u64_uniform
See Fast Random Integer Generation in an Interval by Daniel Lemire
random.c:115
↓ 4 callersFunctionget_size_info
h_malloc.c:190
↓ 4 callersFunctionh_free_sized
h_malloc.c:1564
↓ 4 callersFunctionhash_page
pages.h:23
↓ 4 callersFunctionmemory_protect_rw_metadata
memory.c:68
↓ 4 callersFunctionmutex_init
mutex.h:14
↓ 4 callersFunctionrandom_state_init
random.c:27
↓ 4 callersFunctionset_canary
h_malloc.c:467
↓ 4 callersFunctionset_used_slot
h_malloc.c:321
↓ 4 callersFunctionslab_size_class
h_malloc.c:627
↓ 4 callersFunctionslab_usable_size
h_malloc.c:637
↓ 4 callersFunctionstats_small_allocate
h_malloc.c:483
↓ 3 callersFunctionalloc
h_malloc.c:1347
↓ 3 callersFunctionalloc_aligned_simple
h_malloc.c:1337
↓ 3 callersFunctionallocate
h_malloc.c:1248
↓ 3 callersFunctionallocate_pages
pages.c:12
↓ 3 callersFunctionclz64
parameter must not be 0
util.h:46
↓ 3 callersFunctiondeallocate_large
h_malloc.c:1252
↓ 3 callersFunctiondeallocate_small
preserves errno
h_malloc.c:662
↓ 3 callersFunctionget_random_u16_uniform
See Fast Random Integer Generation in an Interval by Daniel Lemire
random.c:88
↓ 3 callersFunctionget_random_u64
random.c:103
↓ 3 callersFunctionh_malloc
h_malloc.c:1355
↓ 3 callersFunctioninit
h_malloc.c:1175
↓ 3 callersFunctionis_quarantine_slot
h_malloc.c:353
↓ 3 callersFunctionis_used_slot
h_malloc.c:337
↓ 3 callersFunctionlabel_slab
h_malloc.c:179
↓ 3 callersFunctionmemory_map
memory.c:20
↓ 3 callersFunctionmemory_protect_prot
memory.c:48
↓ 3 callersFunctionrefill
random.c:45
↓ 3 callersFunctionstats_large_deallocate
h_malloc.c:833
↓ 3 callersFunctionwrite_full
util.c:13
↓ 2 callersFunctionadd_guards
pages.c:7
↓ 2 callersFunctionalloc_aligned
h_malloc.c:1328
↓ 2 callersFunctionallocate_large
h_malloc.c:1218
↓ 2 callersFunctionchacha_ivsetup
chacha.c:61
↓ 2 callersFunctionchacha_keysetup
chacha.c:46
↓ 2 callersFunctionchacha_keystream_bytes
chacha.c:68
↓ 2 callersFunctioncheck_canary
h_malloc.c:473
↓ 2 callersFunctionenqueue_free_slab
h_malloc.c:641
↓ 2 callersFunctionffz64
util.h:41
↓ 2 callersFunctionget_guard_size
h_malloc.c:1214
↓ 2 callersFunctionget_random_u16
random.c:76
↓ 2 callersFunctionh_aligned_alloc
h_malloc.c:1519
↓ 2 callersFunctionhandle_out_of_memory
new.cc:11
↓ 2 callersFunctionhas_free_slots
h_malloc.c:401
↓ 2 callersFunctionpage_align
(size)
calculate_waste.py:41
↓ 2 callersFunctionprint_mallinfo
test/mallinfo.c:10
↓ 2 callersFunctionprint_mallinfo2
test/mallinfo2.c:10
↓ 2 callersFunctionrandom_state_init_from_random_state
random.c:36
↓ 2 callersFunctionregions_delete
h_malloc.c:976
↓ 2 callersFunctionregions_insert
h_malloc.c:940
↓ 2 callersFunctionregions_quarantine_deallocate_pages
h_malloc.c:855
↓ 2 callersFunctionset_slab_canary_value
h_malloc.c:457
↓ 2 callersFunctionstats_large_allocate
h_malloc.c:827
↓ 2 callersFunctionstats_slab_allocate
h_malloc.c:497
↓ 2 callersFunctionstats_slab_deallocate
h_malloc.c:503
↓ 2 callersFunctionthread_set_metadata_access
h_malloc.c:1011
↓ 2 callersFunctionwrite_after_free_check
h_malloc.c:445
↓ 1 callersFunctionalloc_metadata
h_malloc.c:290
↓ 1 callersFunctionallocate_aligned
h_malloc.c:1275
↓ 1 callersFunctionallocate_pages_aligned
pages.c:31
↓ 1 callersFunctionallocate_small
h_malloc.c:509
↓ 1 callersFunctionclear_quarantine_slot
h_malloc.c:348
↓ 1 callersFunctionclear_used_slot
h_malloc.c:329
↓ 1 callersFunctionfull_lock
h_malloc.c:1030
↓ 1 callersFunctionfull_unlock
h_malloc.c:1041
↓ 1 callersFunctionget_metadata_key
h_malloc.c:1003
↓ 1 callersFunctionget_metadata_max
h_malloc.c:286
↓ 1 callersFunctionget_random_bytes
random.c:54
↓ 1 callersFunctionget_random_seed
random.c:10
↓ 1 callersFunctionget_size_info_align
alignment must be a power of 2 <= PAGE_SIZE since slabs are only page aligned
h_malloc.c:211
next →1–100 of 220, ranked by callers