Bug #3657
mdb_ctf_vread() should allow conversion of pointer to uintptr_t
Added by Christopher Siden almost 8 years ago.
Updated almost 8 years ago.
Category:
mdb - modular debugger
Description
in mdb, we typically use "uintptr_t" to mean a pointer in the target's address
space. Therefore we should allow mdb_ctf_vread() to convert a pointer to a
uintptr_t.
In the future we might consider requiring pointers to be converted to uintptr_t
(as opposed to an actual pointer), so that there isn't a possibility that we
will dereference them in mdb.
- Status changed from In Progress to Closed
commit d5ee8a1
Author: Matthew Ahrens <mahrens@delphix.com>
Date: Sun Apr 7 19:40:39 2013
3654 zdb should print number of ganged blocks
3655 ::rrwlock and ::refcount print errors on non-debug kernels
3656 remove unused function zap_cursor_move_to_key()
3657 mdb_ctf_vread() should allow conversion of pointer to uintptr_t
Reviewed by: George Wilson <george.wilson@delphix.com>
Reviewed by: Christopher Siden <christopher.siden@delphix.com>
Reviewed by: Dan McDonald <danmcd@nexenta.com>
Approved by: Garrett D'Amore <garrett@damore.org>
Also available in: Atom
PDF