diff --git a/README.md b/README.md index 1d968f8..859bdda 100644 --- a/README.md +++ b/README.md @@ -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 @@ -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