Enumerations

enum Origin
Name Value
Malloc 0
New 1
NewArray 2
Memalign 3

Note that in an ideal world, `State` and `Origin` should be `enum class`, and

the associated `UnpackedHeader` fields of their respective enum class type

but https://gcc.gnu.org/bugzilla/show_bug.cgi?id=61414 prevents it from

happening, as it will error, complaining the number of bits is not enough.

Defined at line 55 of file ../../third_party/scudo/src/chunk.h

enum State
Name Value
Available 0
Allocated 1
Quarantined 2

Defined at line 62 of file ../../third_party/scudo/src/chunk.h

Records

Functions

  • uptr getHeaderSize ()

    Defined at line 87 of file ../../third_party/scudo/src/chunk.h

  • AtomicPackedHeader * getAtomicHeader (void * Ptr)

    Defined at line 91 of file ../../third_party/scudo/src/chunk.h

  • const AtomicPackedHeader * getConstAtomicHeader (const void * Ptr)

    Defined at line 96 of file ../../third_party/scudo/src/chunk.h

  • void storeHeader (u32 Cookie, void * Ptr, UnpackedHeader * NewUnpackedHeader)

    Defined at line 114 of file ../../third_party/scudo/src/chunk.h

  • void loadHeader (u32 Cookie, const void * Ptr, UnpackedHeader * NewUnpackedHeader)

    Defined at line 122 of file ../../third_party/scudo/src/chunk.h

  • bool isValid (u32 Cookieconst void * PtrUnpackedHeader * NewUnpackedHeader)

    Defined at line 131 of file ../../third_party/scudo/src/chunk.h