[Crash-utility] [PATCH] Add support for byte swapping in rd

Dave Anderson anderson at redhat.com
Mon May 23 18:16:21 UTC 2011



----- Original Message -----
> Dave,
> 
> I often do analysis on network-releated crashes and often find myself
> doing mental byte swapping to convert from host to network and back -
> I think crash can do it much better then me, so I wrote a patch to
> teach rd how to do this.
> 
> I'm only doing byte swapping on 16 and 32 bit types because
> 64 bit integers don't have a "standard" network representation.
> 
> max

Hi Max,

Looks good -- I just had to add "#include <netinet/in.h>" to memory.c
to get a clean "make warn" build. 
 
Queued for the next release.

Dave




More information about the Crash-utility mailing list