Show / Hide Table of Contents

Class OpcodeAssembler

OpcodeAssembler class, can be declared and inherit from a ProcessInfo object to inherit the values of the current process or be called as a static function to assemble instructions.

Inheritance
System.Object
ErcCore
ProcessInfo
OpcodeAssembler
Inherited Members
ProcessInfo.ProcessName
ProcessInfo.ProcessDescription
ProcessInfo.ProcessPath
ProcessInfo.ProcessID
ProcessInfo.ProcessHandle
ProcessInfo.ProcessCurrent
ProcessInfo.ProcessMachineType
ProcessInfo.ModulesInfo
ProcessInfo.ThreadsInfo
ProcessInfo.ListLocalProcesses(ErcCore)
ProcessInfo.ListRemoteProcesses(ErcCore, String)
ProcessInfo.GetProcessModules()
ProcessInfo.Is64Bit(Process)
ProcessInfo.SearchAllMemoryPPR(List<String>)
ProcessInfo.SearchAllMemoryPPR(Byte[], List<String>)
ProcessInfo.SearchMemory(Int32, Byte[], String, List<String>)
ProcessInfo.SearchMemory(Int32, Byte[], Byte[], String, List<String>)
ProcessInfo.FindNRP(Int32, Boolean)
ProcessInfo.CreateExcludesList(Boolean, Boolean, Boolean, Boolean, Boolean)
ProcessInfo.ToString()
ProcessInfo.GetModuleHandles()
ProcessInfo.GetProcessModuleInformation()
ProcessInfo.GetProcessThreadInformation()
ProcessInfo.DumpMemoryRegion(IntPtr, Int32)
ErcCore.ErcVersion
ErcCore.WorkingDirectory
ErcCore.Author
ErcCore.SystemErrorLogPath
ErcCore.PatternStandardPath
ErcCore.PatternExtendedPath
ErcCore.GetHandleInformation(IntPtr, UInt32)
ErcCore.SetWorkingDirectory(String)
ErcCore.SetPatternStandardPath(String)
ErcCore.SetPatternExtendedPath(String)
ErcCore.SetAuthor(String)
ErcCore.SetErrorFile(String)
ErcCore.LogEvent(Exception)
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
Namespace: ERC.Utilities
Assembly: ERC.Net.dll
Syntax
public class OpcodeAssembler : ProcessInfo

Constructors

OpcodeAssembler(ProcessInfo)

Constructor.

Declaration
public OpcodeAssembler(ProcessInfo parent)
Parameters
Type Name Description
ProcessInfo parent

ProcessInfo object to be inherited from.

Methods

AssembleOpcodes(List<String>)

Takes either an array or list of strings containing assembly instructions and returns the associated opcodes.

Declaration
public ErcResult<byte[]> AssembleOpcodes(List<string> instructions)
Parameters
Type Name Description
System.Collections.Generic.List<System.String> instructions

The instructions to be assembled

Returns
Type Description
ErcResult<System.Byte[]>

Returns an ErcResult byte array containing the assembled instructions

AssembleOpcodes(List<String>, MachineType)

Takes either an array or list of strings containing assembly instructions, a MachineType of I386 or x64, an instance of the ERC_Core object and returns the associated opcodes.

Declaration
public static ErcResult<byte[]> AssembleOpcodes(List<string> instructions, MachineType machineType)
Parameters
Type Name Description
System.Collections.Generic.List<System.String> instructions

The instructions to be assemble=d

MachineType machineType

a ERC.MachineType of either I386 or x64

Returns
Type Description
ErcResult<System.Byte[]>

Returns an ERC_Result byte array containing the assembled instructions

Back to top Generated by DocFX