Project

General

Profile

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.

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.

Also available in: Atom PDF