X-Git-Url: http://git.megacz.com/?a=blobdiff_plain;f=src%2Forg%2Fxwt%2Fmips%2FELF.java;h=91dd79d833d3cf6c963f15cc5cc1e8be6e1c4ee4;hb=34bb35ae95b7612c75550722133bd3c95574c161;hp=8f2c7719e9e42198e825d40254299438eca2eba5;hpb=95e6e1f76a82767b9cb20a174aa2936004417b1c;p=org.ibex.core.git diff --git a/src/org/xwt/mips/ELF.java b/src/org/xwt/mips/ELF.java index 8f2c771..91dd79d 100644 --- a/src/org/xwt/mips/ELF.java +++ b/src/org/xwt/mips/ELF.java @@ -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(