GenCodeHook, Version 1.4 (alt)

Hinweis: dies ist nicht die neueste Version!

Download: codehook_1.4.zip (34.821 Bytes, vom 23.10.2005 15:08:37)

Dateien

Name   Original   Gepackt   Datum / Uhrzeit
README.txt   8.352   3.369   23.10.2005 13:31:04
README.de.txt   8.555   3.682   23.10.2005 13:31:04
GenCodeHook.pas   8.435   2.993   23.10.2005 13:17:46
CodeLen.pas   73.835   15.495   23.10.2005 14:38:04
CodeMem.pas   3.751   1.499   01.10.2005 16:50:58
CodeMemOpt.pas   8.404   2.830   01.10.2005 16:50:50
CHANGES.txt   1.313   665   23.10.2005 14:35:58
Sample/   <dir>   <dir>   23.10.2005 14:38:04
Sample/FlashOnIO.dpr   599   323   02.10.2005 00:54:08
Sample/fmain.pas   5.119   1.415   22.10.2005 19:58:44
Sample/fmain.dfm   2.732   802   22.10.2005 19:58:44

Informationen

GenCodeHook.pas (CodeLen.pas, CodeMem.pas, CodeMemOpt.pas)

Delphi unit containing functions to do a generic code hook by replacing the
code location to be patched by a jump to the new location. Additionally, a
new code fragment is created that allows to call the old function. See the
included README.txt for more information and how to use it.

Version 1.4 - Always find the most current version at
http://flocke.vssd.de/prog/code/pascal/codehook/

Copyright (C) 2005 Volker Siebert <flocke@vssd.de>
All rights reserved.

License: M.I.T. (see source resp. the included file "README.txt")

Änderungen

2005-10-23: Version 1.4

  • Almost complete rewrite of CodeLen.pas with the new functions "AnalyzeCpuInstructionSequence", "LengthOfCpuInstructionSequence", and "CopyCpuInstructionSequence".
  • Modified "CreateGenericCodeHook" to use two different branch types instead of a pc-relative displacement.
  • Removed the flag "Is16Bit" - did never work for 16-bit code.
  • Still no support for Windows 95/98/Me system area ($80000000-$FFFFFFFF).

Version 1.3 (non-public)

  • Removed from WebSite because of several problems regarding relocation of relative displacements, and with Windows 9x/Me and global hooks.
  • Added "AnalyzeCpuInstruction" for a thorough analysis of the instruction, including referenced code and data memory.

2005-09-16: Version 1.2

  • First public version (added sample application).
  • Enhanced "PatchMemory" by first overwriting the first byte with $CC.
  • Added some AMD specific instructions and 3DNow to "CodeLen.pas".

2005-09-15: Version 1.1

  • Added module "CodeMem.pas" for extensible code memory allocation.
  • Wrote optimized code memory manager "CodeMemOpt.pas".
  • Enhanced "PatchMemory" by "FlushInstructionCache".
  • Added function "IsJumpInstruction" to "CodeLen.pas".

2005-09-15: Version 1.0

  • Initial version, derived from the "PrintToFile" project.
Flocke's Garage
Valid HTML 4.01 Transitional Valid CSS!
(C) 2005-2018 Volker Siebert.
Creative Commons-LizenzvertragDer gesamte Inhalt dieser Webseite steht unter einer Creative Commons-Lizenz (sofern nicht anders angegeben).