C# 클래스 ALFA.Shared.CodePatch

This patch encapsulates a code patch.
상속: IDisposable
파일 보기 프로젝트 열기: ALandFarAway/ALFA-Base-Resources 1 사용 예제들

공개 메소드들

메소드 설명
CodePatch ( IntPtr PatchOffset, IntPtr ReplacementFunction, bool Relative ) : System

Create a code patch to change a function pointer.

CodePatch ( IntPtr PatchOffset, byte Code ) : System

Create a generalized code patch.

Dispose ( ) : void

Dispose the object.

비공개 메소드들

메소드 설명
Dispose ( bool Disposing ) : void

Dispose the object.

GetCurrentProcess ( ) : IntPtr
PatchCode ( IntPtr Offset, byte Code ) : byte[]

Install a code patch and return the old code.

WriteProcessMemory ( IntPtr Process, IntPtr BaseAddress, IntPtr Buffer, IntPtr Size, IntPtr &Written ) : Int32

메소드 상세

CodePatch() 공개 메소드

Create a code patch to change a function pointer.
public CodePatch ( IntPtr PatchOffset, IntPtr ReplacementFunction, bool Relative ) : System
PatchOffset System.IntPtr Supplies the patch offset.
ReplacementFunction System.IntPtr Supplies the replacement code /// pointer.
Relative bool Supplies true if the patch is relative. ///
리턴 System

CodePatch() 공개 메소드

Create a generalized code patch.
public CodePatch ( IntPtr PatchOffset, byte Code ) : System
PatchOffset System.IntPtr Supplies the patch offset.
Code byte Supplies the new code.
리턴 System

Dispose() 공개 메소드

Dispose the object.
public Dispose ( ) : void
리턴 void