X-Git-Url: http://git.megacz.com/?p=nestedvm.git;a=blobdiff_plain;f=src%2Forg%2Fibex%2Fnestedvm%2Futil%2FELF.java;h=36fc4ebbd6bf2865e0ac288b5448b49527396963;hp=e33275e46be1821c0613c941ebf961c992f98551;hb=b4cee44bea4853f5c0f7cb3b331aecb84ef3aa3e;hpb=ab9be117467f7459965c61e49749b333678b6e4c;ds=sidebyside diff --git a/src/org/ibex/nestedvm/util/ELF.java b/src/org/ibex/nestedvm/util/ELF.java index e33275e..36fc4eb 100644 --- a/src/org/ibex/nestedvm/util/ELF.java +++ b/src/org/ibex/nestedvm/util/ELF.java @@ -346,7 +346,7 @@ public class ELF { private static String toHex(int n) { return "0x" + Long.toString(n & 0xffffffffL, 16); } - public static void main(String[] args) throws IOException { + /*public static void main(String[] args) throws IOException { ELF elf = new ELF(new Seekable.InputStream(new FileInputStream(args[0]))); System.out.println("Type: " + toHex(elf.header.type)); System.out.println("Machine: " + toHex(elf.header.machine)); @@ -376,5 +376,5 @@ public class ELF { } else { System.out.println("Symbol table: None"); } - } + }*/ }