StormHeapCheckBlock
function · storm · boundary
- Address
0x6461c0· 130 bytes, up to0x646241- Signature
uint32_t __thiscall (void *this, void *header, const char *name, uint32_t line)- Meaning
- Returns 1 for a readable, in-use header on its class grid, else reports error 0x8510007c and returns 0
- Confidence
- verified, proof one
- Finding
- storm/heap#checking-a-freed-block
Finding: Checking a freed block in storm: heap
SMemFree (0x646430) calls 0x645790 and returns 1 for any block. A null pointer does nothing. Under the heap's critical
section 0x6461c0 checks the header and, when it passes, 0x645eb0 frees the block. A header fails when it is not
readable for 8 bytes, has the in-use bit clear, lies outside its segment or off its class grid (class
24 or less), or, above class 24, is not page-aligned or has a class size below the stored size. A failure reports error
0x8510007c through 0x6452a0 with the caller's name and line and frees nothing.
The derivation is in the doc.
Callers 3
- 0x6456d0 storm
- StormHeapFreeChecked storm
- 0x6457f0 storm
Callees 2
- StormHeapOnGrid storm
- 0x6452a0 storm
Calls and jumps by a bare address, from tables/calls.tsv.