[Crash-utility] [PATCH v2] crash: dis: introduce count in reverse and forward mode

Aaron Tomlin atomlin at redhat.com
Wed Jul 10 14:26:13 UTC 2019


On Wed 2019-07-10 14:38 +0100, Aaron Tomlin wrote:
> > So I took my own advice, and implemented the "dis -[rf] address count"
> > capability with a simple patch to the top-level kernel.c disassembly
> > code:
> > 
> >   https://github.com/crash-utility/crash/commit/6c891b667f75543db279e1a29bf3d646a83d175d
> 
> Excellent - I was working on a similar solution today anyway.

Dave,

Looking at this again, I think there is a memory leak in the above patch.
We need FREEBUF() in a few locations.


Thanks,

-- 
Aaron Tomlin




More information about the Crash-utility mailing list