Using heuristics for field types of a structure to categorize dynamic memory allocations
First Claim
Patent Images
1. A method comprising:
- determining, by a processing device, that a block of dynamically allocated memory in an inferior process memory space corresponds to a structure;
casting the block of memory as an instance of the structure;
determining a field type of a field in the instance of the structure;
determining heuristics data that corresponds to the field type;
determining whether memory data pertaining to the block of dynamically allocated memory satisfies one or more criteria in the heuristics data that corresponds to the field type; and
categorizing the block of dynamically allocated memory based on the determination of whether the memory data satisfies the one or more criteria of the field type.
1 Assignment
0 Petitions
Accused Products
Abstract
A programming and debugging system determines a block of dynamically allocated memory in an inferior process memory space corresponds to a structure and casts the block of memory as an instance of the structure. The programming and debugging system determines a field type of a field in the instance of the structure and determines whether memory data pertaining to the block of dynamically allocated memory satisfies one or more criteria in heuristics data associated with the field type. The programming and debugging system categorizes the block of dynamically allocated memory based on the determination of whether the memory data satisfies the one or more criteria of the field type.
-
Citations
20 Claims
-
1. A method comprising:
-
determining, by a processing device, that a block of dynamically allocated memory in an inferior process memory space corresponds to a structure; casting the block of memory as an instance of the structure; determining a field type of a field in the instance of the structure; determining heuristics data that corresponds to the field type; determining whether memory data pertaining to the block of dynamically allocated memory satisfies one or more criteria in the heuristics data that corresponds to the field type; and categorizing the block of dynamically allocated memory based on the determination of whether the memory data satisfies the one or more criteria of the field type. - View Dependent Claims (2, 3, 4, 5, 6, 7, 8)
-
-
9. A system comprising:
-
a memory; and a processing device coupled to the memory to determine that a block of dynamically allocated memory in an inferior process memory space corresponds to a structure; cast the block of memory as an instance of the structure; determine a field type of a field in the instance of the structure; determine heuristics data that corresponds to the field type; determine whether memory data pertaining to the block of dynamically allocated memory satisfies one or more criteria in the heuristics data that corresponds to the field type; and categorize the block of dynamically allocated memory based on the determination of whether the memory data satisfies the one or more criteria of the field type. - View Dependent Claims (10, 11, 12, 13, 14)
-
-
15. A non-transitory computer-readable storage medium including instructions that, when executed by a processing device, cause the processing device to perform a set of operations comprising:
-
determining that a block of dynamically allocated memory in an inferior process memory space corresponds to a structure; casting the block of memory as an instance of the structure; determining a field type of a field in the instance of the structure; determining, by the processing device, heuristics data that corresponds to the field type; determining whether memory data pertaining to the block of dynamically allocated memory satisfies one or more criteria in the heuristics data that corresponds to the field type; and categorizing the block of dynamically allocated memory based on the determination of whether the memory data satisfies the one or more criteria of the field type. - View Dependent Claims (16, 17, 18, 19, 20)
-
Specification