https://bitbucket.org/hudson/magic-lantern
Revision 9847d3f91d2785df38d51673b6508e884f83ed91 authored by hudson@kremvax on 06 July 2009, 00:49:55 UTC, committed by hudson@kremvax on 06 July 2009, 00:49:55 UTC
1 parent b9f0e44
Raw File
Tip revision: 9847d3f91d2785df38d51673b6508e884f83ed91 authored by hudson@kremvax on 06 July 2009, 00:49:55 UTC
Added DM_RSC
Tip revision: 9847d3f
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