2003/11/10 22:14:43
[org.ibex.core.git] / src / org / xwt / mips / ELF.java
index 8f2c771..91dd79d 100644 (file)
@@ -101,6 +101,7 @@ class ELF {
         }
         
         public boolean writable() { return (flags & PF_W) != 0; }
+        public boolean executable() { return (flags & PF_X) != 0; }
         
         public InputStream getInputStream() throws IOException {
             return new BufferedInputStream(new SectionInputStream(