Primary use-case: Detect whether the java binary is arm hardfloat or softfloat.
| Modifier and Type | Class and Description |
|---|---|
| pack-priv static class | |
| pack-priv static class | |
| pack-priv static class |
| Modifier and Type | Field and Description |
|---|---|
| private boolean | |
| private boolean | |
| private boolean | |
| private boolean | |
| private boolean | |
| private boolean | |
| private static final int | |
| private static final int | EF_ARM_ABI_FLOAT_HARD
e_flags mask if executable file conforms to hardware floating-point procedure-call standard (arm ABI version 5) |
| private static final int | EF_ARM_ABI_FLOAT_SOFT
e_flags mask if executable file conforms to software floating-point procedure-call standard (arm ABI version 5) |
| private static final int | |
| private static final int | |
| private boolean | |
| private static final byte[] | ELF_MAGIC
Generic ELF header |
| private final String |
| Access | Constructor and Description |
|---|---|
| private |
| Modifier and Type | Method and Description |
|---|---|
| public static ELFAnalyser | |
| public String | |
| public boolean | Returns: true if the parsed file was detected to be for a 64bit architecture and pointers are expected to be 8byte wide
|
| public boolean | |
| public boolean | Returns: true if file was detected to specify, that FP parameters/result passing conforms to AAPCS, VFP variant (hardfloat)
|
| public boolean | |
| public boolean | Returns: true if file was detected to conform to the hardware floating-point procedure-call standard via ELF flags
|
| public boolean | Returns: true if file was detected to conform to the software floating-point procedure-call standard via ELF flags
|
| public boolean | Returns: true if the parsed file is detected to be big endian, false if the file is little endian
|
| public boolean | |
| private static Map | |
| private static Map | |
| private void | |
| private static Map | |
| private static String | |
| private static BigInteger | |
| private void |
| _64Bit | back to summary |
|---|---|
| private boolean _64Bit | |
| arm | back to summary |
|---|---|
| private boolean arm | |
| armEabiAapcsVfp | back to summary |
|---|---|
| private boolean armEabiAapcsVfp | |
| armHardFloatFlag | back to summary |
|---|---|
| private boolean armHardFloatFlag | |
| armSoftFloatFlag | back to summary |
|---|---|
| private boolean armSoftFloatFlag | |
| bigEndian | back to summary |
|---|---|
| private boolean bigEndian | |
| E_MACHINE_ARM | back to summary |
|---|---|
| private static final int E_MACHINE_ARM | |
| EF_ARM_ABI_FLOAT_HARD | back to summary |
|---|---|
| private static final int EF_ARM_ABI_FLOAT_HARD e_flags mask if executable file conforms to hardware floating-point procedure-call standard (arm ABI version 5) | |
| EF_ARM_ABI_FLOAT_SOFT | back to summary |
|---|---|
| private static final int EF_ARM_ABI_FLOAT_SOFT e_flags mask if executable file conforms to software floating-point procedure-call standard (arm ABI version 5) | |
| EI_CLASS_64BIT | back to summary |
|---|---|
| private static final int EI_CLASS_64BIT | |
| EI_DATA_BIG_ENDIAN | back to summary |
|---|---|
| private static final int EI_DATA_BIG_ENDIAN | |
| ELF | back to summary |
|---|---|
| private boolean ELF | |
| ELF_MAGIC | back to summary |
|---|---|
| private static final byte[] ELF_MAGIC Generic ELF header | |
| filename | back to summary |
|---|---|
| private final String filename | |
| ELFAnalyser | back to summary |
|---|---|
| private ELFAnalyser(String filename) | |
| analyse | back to summary |
|---|---|
| public static ELFAnalyser analyse(String filename) throws IOException | |
| getFilename | back to summary |
|---|---|
public String getFilename()
| |
| is64Bit | back to summary |
|---|---|
public boolean is64Bit()
| |
| isArm | back to summary |
|---|---|
public boolean isArm()
| |
| isArmEabiAapcsVfp | back to summary |
|---|---|
public boolean isArmEabiAapcsVfp()
| |
| isArmHardFloat | back to summary |
|---|---|
| public boolean isArmHardFloat() | |
| isArmHardFloatFlag | back to summary |
|---|---|
public boolean isArmHardFloatFlag()
| |
| isArmSoftFloatFlag | back to summary |
|---|---|
public boolean isArmSoftFloatFlag()
| |
| isBigEndian | back to summary |
|---|---|
public boolean isBigEndian()
| |
| isELF | back to summary |
|---|---|
public boolean isELF()
| |
| parseAEABI | back to summary |
|---|---|
| private static Map | |
| parseArmAttributes | back to summary |
|---|---|
| private static Map | |
| parseEabiAapcsVfp | back to summary |
|---|---|
| private void parseEabiAapcsVfp(ByteBuffer headerData, RandomAccessFile raf) throws IOException | |
| parseFileAttribute | back to summary |
|---|---|
| private static Map | |
| readNTBS | back to summary |
|---|---|
| private static String readNTBS(ByteBuffer buffer, Integer position) | |
| readULEB128 | back to summary |
|---|---|
| private static BigInteger readULEB128(ByteBuffer buffer) | |
| runDetection | back to summary |
|---|---|
| private void runDetection() throws IOException | |
| Modifier and Type | Class and Description |
|---|---|
| public static enum |
| Access | Constructor and Description |
|---|---|
| public | ArmAeabiAttributesTag(int value, String name, ELFAnalyser.
|
| Modifier and Type | Method and Description |
|---|---|
| private static ELFAnalyser. | |
| public boolean | equals(Object
the reference object with which to compare. obj)Overrides java. |
| public static ELFAnalyser. | |
| public static ELFAnalyser. | |
| public String | |
| public ELFAnalyser. | |
| private static ELFAnalyser. | |
| public static List | |
| public int | |
| public int | |
| public String |
| ABI_align8_preserved | back to summary |
|---|---|
| public static final ELFAnalyser. | |
| ABI_align_needed | back to summary |
|---|---|
| public static final ELFAnalyser. | |
| ABI_enum_size | back to summary |
|---|---|
| public static final ELFAnalyser. | |
| ABI_FP_16bit_format | back to summary |
|---|---|
| public static final ELFAnalyser. | |
| ABI_FP_denormal | back to summary |
|---|---|
| public static final ELFAnalyser. | |
| ABI_FP_exceptions | back to summary |
|---|---|
| public static final ELFAnalyser. | |
| ABI_FP_number_model | back to summary |
|---|---|
| public static final ELFAnalyser. | |
| ABI_FP_optimization_goals | back to summary |
|---|---|
| public static final ELFAnalyser. | |
| ABI_FP_rounding | back to summary |
|---|---|
| public static final ELFAnalyser. | |
| ABI_FP_user_exceptions | back to summary |
|---|---|
| public static final ELFAnalyser. | |
| ABI_HardFP_use | back to summary |
|---|---|
| public static final ELFAnalyser. | |
| ABI_optimization_goals | back to summary |
|---|---|
| public static final ELFAnalyser. | |
| ABI_PCS_GOT_use | back to summary |
|---|---|
| public static final ELFAnalyser. | |
| ABI_PCS_R9_use | back to summary |
|---|---|
| public static final ELFAnalyser. | |
| ABI_PCS_RO_data | back to summary |
|---|---|
| public static final ELFAnalyser. | |
| ABI_PCS_RW_data | back to summary |
|---|---|
| public static final ELFAnalyser. | |
| ABI_PCS_wchar_t | back to summary |
|---|---|
| public static final ELFAnalyser. | |
| ABI_VFP_args | back to summary |
|---|---|
| public static final ELFAnalyser. | |
| ABI_WMMX_args | back to summary |
|---|---|
| public static final ELFAnalyser. | |
| Advanced_SIMD_arch | back to summary |
|---|---|
| public static final ELFAnalyser. | |
| also_compatible_with | back to summary |
|---|---|
| public static final ELFAnalyser. | |
| ARM_ISA_use | back to summary |
|---|---|
| public static final ELFAnalyser. | |
| compatibility | back to summary |
|---|---|
| public static final ELFAnalyser. | |
| conformance | back to summary |
|---|---|
| public static final ELFAnalyser. | |
| CPU_arch | back to summary |
|---|---|
| public static final ELFAnalyser. | |
| CPU_arch_profile | back to summary |
|---|---|
| public static final ELFAnalyser. | |
| CPU_name | back to summary |
|---|---|
| public static final ELFAnalyser. | |
| CPU_raw_name | back to summary |
|---|---|
| public static final ELFAnalyser. | |
| CPU_unaligned_access | back to summary |
|---|---|
| public static final ELFAnalyser. | |
| DIV_use | back to summary |
|---|---|
| public static final ELFAnalyser. | |
| File | back to summary |
|---|---|
| public static final ELFAnalyser. | |
| FP_arch | back to summary |
|---|---|
| public static final ELFAnalyser. | |
| FP_HP_extension | back to summary |
|---|---|
| public static final ELFAnalyser. | |
| MPextension_use | back to summary |
|---|---|
| public static final ELFAnalyser. | |
| MPextension_use2 | back to summary |
|---|---|
| public static final ELFAnalyser. | |
| name | back to summary |
|---|---|
| private final String name | |
| nameMap | back to summary |
|---|---|
| private static final Map<String, ELFAnalyser. | |
| nodefaults | back to summary |
|---|---|
| public static final ELFAnalyser. | |
| parameterType | back to summary |
|---|---|
| private final ELFAnalyser. | |
| PCS_config | back to summary |
|---|---|
| public static final ELFAnalyser. | |
| Section | back to summary |
|---|---|
| public static final ELFAnalyser. | |
| Symbol | back to summary |
|---|---|
| public static final ELFAnalyser. | |
| T2EE_use | back to summary |
|---|---|
| public static final ELFAnalyser. | |
| tags | back to summary |
|---|---|
| private static final List<ELFAnalyser. | |
| THUMB_ISA_use | back to summary |
|---|---|
| public static final ELFAnalyser. | |
| value | back to summary |
|---|---|
| private final int value | |
| valueMap | back to summary |
|---|---|
| private static final Map<Integer, ELFAnalyser. | |
| Virtualization_use | back to summary |
|---|---|
| public static final ELFAnalyser. | |
| WMMX_arch | back to summary |
|---|---|
| public static final ELFAnalyser. | |
| ArmAeabiAttributesTag | back to summary |
|---|---|
| public ArmAeabiAttributesTag(int value, String name, ELFAnalyser. | |
| addTag | back to summary |
|---|---|
| private static ELFAnalyser. | |
| equals | back to summary |
|---|---|
| public boolean equals(Object obj) Overrides java. Doc from java. Indicates whether some other object is "equal to" this one.
The
An equivalence relation partitions the elements it operates on into equivalence classes; all the members of an equivalence class are equal to each other. Members of an equivalence class are substitutable for each other, at least for some purposes. | |
| getByName | back to summary |
|---|---|
| public static ELFAnalyser. | |
| getByValue | back to summary |
|---|---|
| public static ELFAnalyser. | |
| getName | back to summary |
|---|---|
| public String getName() | |
| getParameterType | back to summary |
|---|---|
| public ELFAnalyser. | |
| getParameterType | back to summary |
|---|---|
| private static ELFAnalyser. | |
| getTags | back to summary |
|---|---|
| public static List | |
| getValue | back to summary |
|---|---|
| public int getValue() | |
| hashCode | back to summary |
|---|---|
| public int hashCode() Overrides java. Doc from java. Returns a hash code value for the object. This method is
supported for the benefit of hash tables such as those provided by
The general contract of
| |
| toString | back to summary |
|---|---|
| public String toString() Overrides java. Doc from java. Returns a string representation of the object. | |
| Modifier and Type | Field and Description |
|---|---|
| public static final ELFAnalyser. | |
| public static final ELFAnalyser. | |
| public static final ELFAnalyser. |
| Access | Constructor and Description |
|---|---|
| private |
| Modifier and Type | Method and Description |
|---|---|
| public static ELFAnalyser. | |
| public static ELFAnalyser. |
| NTBS | back to summary |
|---|---|
| public static final ELFAnalyser. | |
| UINT32 | back to summary |
|---|---|
| public static final ELFAnalyser. | |
| ULEB128 | back to summary |
|---|---|
| public static final ELFAnalyser. | |
| ParameterType | back to summary |
|---|---|
| private ParameterType() | |
| valueOf | back to summary |
|---|---|
| public static ELFAnalyser. | |
| values | back to summary |
|---|---|
| public static ELFAnalyser. | |
| Modifier and Type | Field and Description |
|---|---|
| private final int | |
| private String | |
| private final int | |
| private final int | |
| private final int | |
| private final int |
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| public int | |
| public String | |
| public int | |
| public int | |
| public int | |
| public int | |
| public void | |
| public String |
| flags | back to summary |
|---|---|
| private final int flags | |
| name | back to summary |
|---|---|
| private String name | |
| nameOffset | back to summary |
|---|---|
| private final int nameOffset | |
| offset | back to summary |
|---|---|
| private final int offset | |
| size | back to summary |
|---|---|
| private final int size | |
| type | back to summary |
|---|---|
| private final int type | |
| ELFSectionHeaderEntry | back to summary |
|---|---|
| public ELFSectionHeaderEntry(boolean _64bit, ByteBuffer sectionHeaderData) | |
| getFlags | back to summary |
|---|---|
| public int getFlags() | |
| getName | back to summary |
|---|---|
| public String getName() | |
| getNameOffset | back to summary |
|---|---|
| public int getNameOffset() | |
| getOffset | back to summary |
|---|---|
| public int getOffset() | |
| getSize | back to summary |
|---|---|
| public int getSize() | |
| getType | back to summary |
|---|---|
| public int getType() | |
| setName | back to summary |
|---|---|
| public void setName(String name) | |
| toString | back to summary |
|---|---|
| public String toString() Overrides java. Doc from java. Returns a string representation of the object. | |
| Modifier and Type | Field and Description |
|---|---|
| private final List |
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| public List |
| entries | back to summary |
|---|---|
| private final List<ELFAnalyser. | |
| ELFSectionHeaders | back to summary |
|---|---|
| public ELFSectionHeaders(boolean _64bit, boolean bigEndian, ByteBuffer headerData, RandomAccessFile raf) throws IOException | |
| getEntries | back to summary |
|---|---|
| public List | |