https://bitbucket.org/hudson/magic-lantern
Raw File
Tip revision: 52fb22834da45e76cad69d5600abfbb277f57a8c authored by a1ex on 22 October 2013, 21:30:34 UTC
Close branch 550d.
Tip revision: 52fb228
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