From: Jack Lange Date: Mon, 14 Jul 2008 23:34:59 +0000 (+0000) Subject: added hexify.pl X-Git-Tag: reaches-user-mode-on-qemu-and-both-amd-boxes-nested-paging-faults~3 X-Git-Url: http://v3vee.org/palacios/gitweb/gitweb.cgi?p=palacios.git;a=commitdiff_plain;h=cb3ba6b7fe5b2703e0a6f4d0eef4811169f7bbed added hexify.pl --- diff --git a/palacios/scripts/hexify.pl b/palacios/scripts/hexify.pl new file mode 100755 index 0000000..9a03bf3 --- /dev/null +++ b/palacios/scripts/hexify.pl @@ -0,0 +1,12 @@ +#!/usr/bin/perl + +$file = $ARGV[0]; + +while(1) { + open (FILE,">>$file"); + $foo = ; + chomp $foo; + print FILE pack("C", hex("0x$foo")); + close FILE; +} +