mirror of
https://github.com/JakeHillion/drgn.git
synced 2024-12-23 17:53:07 +00:00
c0bc72b0ea
The current array-based memory reader has a bug in the following scenario: prog.add_memory_segment(0xffff0000, 128, ...) # This should replace a subset of the first segment. prog.add_memory_segment(0xffff0020, 32, ...) # This moves the first segment back to the front of the array. prog.read(0xffff0000, 32) # This finds the first segment instead of the second segment. prog.read(0xffff0032, 32) Fix it by using the newly-added splay tree. This also splits up the virtual and physical memory segments into separate trees. |
||
---|---|---|
.. | ||
docstrings.h | ||
drgnpy.h | ||
error.c | ||
module.c | ||
object.c | ||
program.c | ||
symbol.c | ||
test.c | ||
type.c | ||
util.c |