Patent ID: 8725978

Claim:
A method comprising: identifying, by a processing device, one or more statically-allocated symbols in a symbol table for an inferior process, the one or more statically-allocated symbols pertaining to one or more structures for the inferior process, the inferior process having dynamic memory allocations in an inferior process memory space, the symbol table comprising data used to categorize the statically-allocated area of memory; locating, the one or more structures in the inferior process memory space; determining, whether an address of the one or more structures in the inferior process memory space matches an address of a block of the dynamically allocated area of memory; categorizing, by the processing device, the block of dynamically allocated memory based on the determination of whether an address of the one or more structures matches an address of a block of the dynamically allocated area of memory; iterating through other blocks of dynamically allocated memory within at least one of the inferior process memory space or a memory space that is layered over the inferior process memory space; and categorizing the other blocks of dynamically allocated memory in view of the structure memory addresses for the statically-allocated symbols pertaining to the structures.