Class AbstractAssemblyParser
- java.lang.Object
-
- org.adoptopenjdk.jitwatch.model.assembly.AbstractAssemblyParser
-
- All Implemented Interfaces:
IAssemblyParser
- Direct Known Subclasses:
AssemblyParserARM,AssemblyParserX86
public abstract class AbstractAssemblyParser extends java.lang.Object implements IAssemblyParser
-
-
Field Summary
Fields Modifier and Type Field Description protected Architecturearchitectureprotected static com.chrisnewland.freelogj.Loggerlogger
-
Constructor Summary
Constructors Constructor Description AbstractAssemblyParser(Architecture architecture)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ArchitecturegetArchitecture()booleanisAddress(java.lang.String mnemonic, java.lang.String operand)AssemblyMethodparseAssembly(java.lang.String assemblyString)-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface org.adoptopenjdk.jitwatch.model.assembly.IAssemblyParser
createInstruction, extractRegisterName, isConstant, isJump, isRegister, parseInstruction
-
-
-
-
Field Detail
-
logger
protected static final com.chrisnewland.freelogj.Logger logger
-
architecture
protected Architecture architecture
-
-
Constructor Detail
-
AbstractAssemblyParser
public AbstractAssemblyParser(Architecture architecture)
-
-
Method Detail
-
getArchitecture
public Architecture getArchitecture()
-
parseAssembly
public AssemblyMethod parseAssembly(java.lang.String assemblyString)
- Specified by:
parseAssemblyin interfaceIAssemblyParser
-
isAddress
public boolean isAddress(java.lang.String mnemonic, java.lang.String operand)- Specified by:
isAddressin interfaceIAssemblyParser
-
-