https://bitbucket.org/hudson/magic-lantern
Raw File
Tip revision: 8fb3ef086d03c9b78fcee42b55f76edc6c843f71 authored by Trammell Hudson on 26 May 2009, 04:48:44 UTC
More names
Tip revision: 8fb3ef0
string-dump
#!/usr/bin/perl
use warnings;
use strict;

while(<>)
{
	my ($val) = /:\s*([0-9A-Fa-f]+)\s*/ or next;
	$val = hex $val;
	while( $val )
	{
		print chr( $val & 0xFF );
		$val >>= 8;
	}
}

print "\n";
back to top