Closed GoogleCodeExporter closed 9 years ago
While we're at it, here's another version of the patch that also adds the
ability to pass an address space to dt() - as is already possible for dd(),
db(), and dis().
This is especially helpful for investigating false positives from the scanner
commands. For example if you run connscan and get back the physical address of
an alleged connection structure but it looks like an FP, you can then go into
volshell and use dt(space=your_physical_space) and get a dump of the members.
Original comment by michael.hale@gmail.com
on 14 Dec 2011 at 4:23
Attachments:
+1 on the dt() change as its already in the linux 64 branch.
Re the function in there. In this case its actually a curried function (i.e.
calling it would return an actual offset) but we dont seem to really call it
(we ignore the entire field). I think we should be calling it with the object
so we can print the correct offset:
if iscallable(o):
o = o(objct)
Original comment by scude...@gmail.com
on 14 Dec 2011 at 5:01
Great, thanks Scudette. Here's a new patch with the iscallable check. Look good?
Original comment by michael.hale@gmail.com
on 14 Dec 2011 at 5:57
Attachments:
This issue was closed by revision r1157.
Original comment by michael.hale@gmail.com
on 14 Dec 2011 at 9:30
Original issue reported on code.google.com by
michael.hale@gmail.com
on 14 Dec 2011 at 4:12