osandov / drgn

Programmable debugger
Other
1.78k stars 165 forks source link

contrib: ptdrgn: fix FaultError when displaying objects #439

Closed brenns10 closed 1 month ago

brenns10 commented 1 month ago

See the commit message for the situation and justification. This is just a quick fix for the ptdrgn script (which I use constantly). But I did end up comparing against the built-in drgn CLI and noticed that the behavior on the example quoted in the commit is a bit confusing too, so I'll create a separate issue on that.