in reply to Crashdump to binary question
binmode STDOUT; local $/; $_ = <>; s/\s+//g; # Adjust to filter out irrelevant stuff. print pack 'H*', $_;
And is it possible to keep it's offset?
Not sure what you mean by that. Did you want to prefix the bytes by $offset dummy bytes?
print "\x00" x $offset;
Or did you have some format in mind?
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: Crashdump to binary question
by gemoroy (Beadle) on Nov 14, 2009 at 08:17 UTC | |
by ikegami (Patriarch) on Nov 14, 2009 at 18:31 UTC |