X-Git-Url: http://git.megacz.com/?a=blobdiff_plain;f=src%2Forg%2Fibex%2Fnestedvm%2Futil%2FELF.java;h=db990bb8e78a442188ba674b84f99ead42cd4c02;hb=b5282b0a1a8ca5212c75623610be6d0483fd35bd;hp=e33275e46be1821c0613c941ebf961c992f98551;hpb=ab9be117467f7459965c61e49749b333678b6e4c;p=nestedvm.git diff --git a/src/org/ibex/nestedvm/util/ELF.java b/src/org/ibex/nestedvm/util/ELF.java index e33275e..db990bb 100644 --- a/src/org/ibex/nestedvm/util/ELF.java +++ b/src/org/ibex/nestedvm/util/ELF.java @@ -1,3 +1,7 @@ +// Copyright 2000-2005 the Contributors, as shown in the revision logs. +// Licensed under the Apache Public Source License 2.0 ("the License"). +// You may not use this file except in compliance with the License. + package org.ibex.nestedvm.util; import java.io.*; @@ -346,7 +350,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 +380,5 @@ public class ELF { } else { System.out.println("Symbol table: None"); } - } + }*/ }