public class AssemblyFile extends File
pathSeparator, pathSeparatorChar, separator, separatorChar| Constructor and Description |
|---|
AssemblyFile(String fullyQualifiedAssemblyPathFilename)
Constructs a new AssemblyFile with the path to the file
|
| Modifier and Type | Method and Description |
|---|---|
List<String> |
getAllReferencedModuleTypes()
Get all module type names which are references from this assembly
|
List<String> |
getAllTypeNames()
Get all types of given assembly as a list of strings
|
ProtoAssemblyAllTypes.AssemblyAllTypes |
getAllTypes()
Get all Types of this assembly
|
String |
getAssemblyFileName() |
String |
getFullPath() |
ProtoIlInstructions.IlFunctionMsg |
getMethodBody(String className,
String method,
int peToken)
Get Method Body with IL Instructions
|
ProtoIlInstructions.IlFunctionMsg |
getMethodBodyOfEvent(String className,
String eventName,
DotnetEvent.EventDirective eventDirective)
Get Method Body of event methods
|
ProtoIlInstructions.IlFunctionMsg |
getMethodBodyOfProperty(String className,
String propertyName,
boolean isSetter)
Get Method Body of property methods
|
ProtoAssemblyAllTypes.TypeDefinition |
getTypeDefinition(String className)
Get Type definition as Proto Message
|
boolean |
isAssembly()
Check if given file is an assembly file
|
canExecute, canRead, canWrite, compareTo, createNewFile, createTempFile, createTempFile, delete, deleteOnExit, equals, exists, getAbsoluteFile, getAbsolutePath, getCanonicalFile, getCanonicalPath, getFreeSpace, getName, getParent, getParentFile, getPath, getTotalSpace, getUsableSpace, hashCode, isAbsolute, isDirectory, isFile, isHidden, lastModified, length, list, list, listFiles, listFiles, listFiles, listRoots, mkdir, mkdirs, renameTo, setExecutable, setExecutable, setLastModified, setReadable, setReadable, setReadOnly, setWritable, setWritable, toPath, toString, toURI, toURLpublic AssemblyFile(String fullyQualifiedAssemblyPathFilename)
fullyQualifiedAssemblyPathFilename - e.g. /home/user/cs/myassembly.dllpublic ProtoAssemblyAllTypes.AssemblyAllTypes getAllTypes()
public ProtoIlInstructions.IlFunctionMsg getMethodBody(String className, String method, int peToken)
className - given classmethod - given method namepublic ProtoIlInstructions.IlFunctionMsg getMethodBodyOfProperty(String className, String propertyName, boolean isSetter)
className - declaring classpropertyName - name of propertyisSetter - request setter or getterpublic ProtoIlInstructions.IlFunctionMsg getMethodBodyOfEvent(String className, String eventName, DotnetEvent.EventDirective eventDirective)
className - declaring classeventName - name of eventeventDirective - method requestpublic boolean isAssembly()
public ProtoAssemblyAllTypes.TypeDefinition getTypeDefinition(String className)
className - requested typepublic List<String> getAllTypeNames()
public List<String> getAllReferencedModuleTypes()
public String getFullPath()
public String getAssemblyFileName()
Copyright © 2024 Soot OSS. All rights reserved.