update stats documentation
parent
483b1d7b8b
commit
59e174eee0
|
@ -836,7 +836,7 @@ is still provided, with a similar format as what Android uses, with tweaks for
|
|||
hardened\_malloc and the version set to `hardened_malloc-1`. The data format
|
||||
may be changed in the future.
|
||||
|
||||
As an example, consider the follow program from the hardened\_malloc tests:
|
||||
As an example, consider the following program from the hardened\_malloc tests:
|
||||
|
||||
```c
|
||||
#include <pthread.h>
|
||||
|
@ -987,6 +987,9 @@ number to the corresponding size class. The bin index begins at 0, mapping to
|
|||
the 0 byte size class, followed by 1 for the 16 bytes, 2 for 32 bytes, etc. and
|
||||
large allocations are treated as one group.
|
||||
|
||||
When stats aren't enabled, the `malloc_info` output will be an empty `malloc`
|
||||
element.
|
||||
|
||||
## System calls
|
||||
|
||||
This is intended to aid with creating system call whitelists via seccomp-bpf
|
||||
|
|
Loading…
Reference in New Issue