Code Monkey home page Code Monkey logo

ddetours's Introduction

Version License Lang

The DDetours is a library allowing you to hook Delphi and Windows API functions. It provides an easy way to insert and remove hook.

What's new in Version 2.2 ?

  • Support for FPC and older Delphi version notably D7.
  • Support for recursive section.
  • Support for custom parameter/tag for each trampoline function.
  • See CHANGELOG for complete changes.

Features :

  • Supports x86 and x64 architecture.
  • Supports multiple hook for a single function.
  • Supports Delphi 7/2005-2010/XE-Rio(Delphi 10.3).
  • Supports Lazarus/FPC.
  • Supports recursive function inside the hook function.
  • Supports hooking interfaces methods by MethodName or MethodIndex.
  • Supports COM vtable patching.
  • Supports hooking object methods.
  • Allows calling the original function via Trampoline/NextHook function.
  • COM/Interfaces/win32api support.
  • Thread-safe for hooking and unhooking.
  • 64 bit address is supported.
  • The library does not use any external library.
  • The library can insert and remove the hook at any time.
  • The library contains InstDecode library, that allows you to decode CPU instructions (x86/x64).

This project contains two sub project : DDetours and InstDecode* library.

The InstDecode Library is a library that can decode both (x86/x64) instructions. You can consider it as a small disassembler routine. It can decode instruction and getting information about the instruction (size of instruction, displacement, immediate data, jump address,..) without displaying mnemonics making it very faster and very small in size.

These two libraries were coded in pure Pascal language with Delphi XE7.

See the Wiki page for more information about how to use the library.

Please, if you find any bug, feel free to report it.

ddetours's People

Contributors

mahdisafsafi avatar cynicrus avatar rruz avatar bernd5 avatar crayon2000 avatar mikerohsoft avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.