Module instrument

Source
Expand description

Instrument failed allocations to detect applications that call malloc with an invalid argument. This is important because such calls to malloc will empty the WeakList (because the condition is to remove elements until malloc returns not null, and in that case malloc will always return null).

Functionsยง

dump_null_ptr_layout_counters
increase_null_ptr_layout_counter