MachO64
.
This class is planned for removal in next major release.@Deprecated public class MachO extends Object
Modifier and Type | Class and Description |
---|---|
class |
MachO.Attribute
Deprecated.
|
class |
MachO.DyLib
Deprecated.
|
class |
MachO.DyLibCommand
Deprecated.
|
class |
MachO.DyLibModule
Deprecated.
|
class |
MachO.DyLibReference
Deprecated.
|
class |
MachO.DyLibTableOfContents
Deprecated.
|
class |
MachO.DyLinkerCommand
Deprecated.
|
class |
MachO.DySymtabCommand
Deprecated.
|
class |
MachO.FVMFileCommand
Deprecated.
|
class |
MachO.FVMLib
Deprecated.
|
class |
MachO.FVMLibCommand
Deprecated.
|
class |
MachO.IdentCommand
Deprecated.
|
class |
MachO.LCStr
Deprecated.
|
static class |
MachO.Line
Deprecated.
Simple class to implement a line table
|
class |
MachO.LoadCommand
Deprecated.
|
class |
MachO.MachOhdr
Deprecated.
|
class |
MachO.PrebindCksumCommand
Deprecated.
|
class |
MachO.PreboundDyLibCommand
Deprecated.
|
class |
MachO.RoutinesCommand
Deprecated.
|
class |
MachO.Section
Deprecated.
|
class |
MachO.SegmentCommand
Deprecated.
|
class |
MachO.SubClientCommand
Deprecated.
|
class |
MachO.SubFrameworkCommand
Deprecated.
|
class |
MachO.SubLibraryCommand
Deprecated.
|
class |
MachO.SubUmbrellaCommand
Deprecated.
|
class |
MachO.Symbol
Deprecated.
|
static class |
MachO.SymbolComparator
Deprecated.
We have to implement a separate compararator since when we do the
binary search down below we are using a Long and a Symbol object
and the Long doesn't know how to compare against a Symbol so if
we compare Symbol vs Long it is ok, but not if we do Long vs Symbol.
|
class |
MachO.SymSegCommand
Deprecated.
|
class |
MachO.SymtabCommand
Deprecated.
|
class |
MachO.ThreadCommand
Deprecated.
|
class |
MachO.TwoLevelHint
Deprecated.
|
class |
MachO.TwoLevelHintsCommand
Deprecated.
|
class |
MachO.UnknownCommand
Deprecated.
|
Modifier and Type | Field and Description |
---|---|
protected CPPFilt |
cppFilt
Deprecated.
|
protected boolean |
cppFiltEnabled
Deprecated.
|
protected boolean |
debugsym
Deprecated.
|
protected ERandomAccessFile |
efile
Deprecated.
|
protected static String |
EMPTY_STRING
Deprecated.
|
protected String |
file
Deprecated.
|
protected MachO.LoadCommand[] |
loadcommands
Deprecated.
|
protected MachO.MachOhdr |
mhdr
Deprecated.
|
protected static MachO.SymbolComparator |
symbol_comparator
Deprecated.
|
Modifier | Constructor and Description |
---|---|
protected |
MachO()
Deprecated.
|
|
MachO(String file)
Deprecated.
|
|
MachO(String file,
boolean filton)
Deprecated.
|
|
MachO(String file,
long offset)
Deprecated.
|
|
MachO(String file,
long offset,
boolean filton)
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
boolean |
cppFilterEnabled()
Deprecated.
|
void |
dispose()
Deprecated.
|
protected void |
finalize()
Deprecated.
Make sure we do not leak the fds.
|
MachO.Attribute |
getAttributes()
Deprecated.
|
static MachO.Attribute |
getAttributes(byte[] array)
Deprecated.
|
static MachO.Attribute |
getAttributes(String file)
Deprecated.
|
MachO.DyLib[] |
getDyLibs(int type)
Deprecated.
|
MachO.Symbol[] |
getDynamicSymbols()
Deprecated.
|
String |
getFilename()
Deprecated.
|
MachO.Line[] |
getLineTable()
Deprecated.
|
MachO.Symbol[] |
getLocalSymbols()
Deprecated.
|
MachO.MachOhdr |
getMachOhdr()
Deprecated.
|
MachO.Section[] |
getSections()
Deprecated.
|
MachO.Symbol |
getSymbol(long vma)
Deprecated.
|
Object |
getSymbolReader()
Deprecated.
|
MachO.Symbol[] |
getSymbols()
Deprecated.
|
MachO.Symbol[] |
getSymtabSymbols()
Deprecated.
|
static boolean |
isMachOHeader(byte[] bytes)
Deprecated.
|
void |
loadBinary()
Deprecated.
|
void |
setCppFilter(boolean enabled)
Deprecated.
|
protected String |
string_from_macho_symtab(MachO.SymtabCommand symtab,
int index)
Deprecated.
|
long |
swapInt(long val)
Deprecated.
|
int |
swapShort(short val)
Deprecated.
|
protected ERandomAccessFile efile
protected MachO.MachOhdr mhdr
protected MachO.LoadCommand[] loadcommands
protected boolean cppFiltEnabled
protected CPPFilt cppFilt
protected String file
protected boolean debugsym
protected static final String EMPTY_STRING
protected static final MachO.SymbolComparator symbol_comparator
protected MachO()
public MachO(String file, long offset) throws IOException
IOException
public MachO(String file) throws IOException
IOException
public MachO(String file, long offset, boolean filton) throws IOException
IOException
public MachO(String file, boolean filton) throws IOException
IOException
protected String string_from_macho_symtab(MachO.SymtabCommand symtab, int index) throws IOException
IOException
public boolean cppFilterEnabled()
public void setCppFilter(boolean enabled)
public MachO.MachOhdr getMachOhdr() throws IOException
IOException
public MachO.Attribute getAttributes() throws IOException
IOException
public static MachO.Attribute getAttributes(String file) throws IOException
IOException
public static MachO.Attribute getAttributes(byte[] array) throws IOException
IOException
public static boolean isMachOHeader(byte[] bytes)
public void dispose()
protected void finalize() throws Throwable
public void loadBinary() throws IOException
IOException
public MachO.Symbol[] getSymbols()
public MachO.Symbol[] getDynamicSymbols()
public MachO.Symbol[] getSymtabSymbols()
public MachO.Symbol[] getLocalSymbols()
public MachO.Line[] getLineTable()
public MachO.Section[] getSections()
public MachO.DyLib[] getDyLibs(int type)
public MachO.Symbol getSymbol(long vma)
public long swapInt(long val)
public int swapShort(short val)
public String getFilename()
public Object getSymbolReader()
Copyright (c) IBM Corp. and others 2004, 2020. All Rights Reserved.