Project

General

Profile

Bug #3657

mdb_ctf_vread() should allow conversion of pointer to uintptr_t

Added by Christopher Siden over 7 years ago. Updated over 7 years ago.

Status:
Closed
Priority:
Normal
Category:
mdb - modular debugger
Start date:
2013-03-25
Due date:
% Done:

100%

Estimated time:
Difficulty:
Medium
Tags:
needs-triage
Gerrit CR:

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.

#1

Updated by Christopher Siden over 7 years ago

  • 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