{"id":33232201,"url":"https://github.com/MahdiSafsafi/DDetours","last_synced_at":"2025-12-01T04:00:55.440Z","repository":{"id":33627886,"uuid":"37280174","full_name":"MahdiSafsafi/DDetours","owner":"MahdiSafsafi","description":"Delphi Detours Library","archived":false,"fork":false,"pushed_at":"2024-07-02T18:51:32.000Z","size":593,"stargazers_count":384,"open_issues_count":10,"forks_count":163,"subscribers_count":65,"default_branch":"master","last_synced_at":"2025-05-25T19:08:48.930Z","etag":null,"topics":["com","delphi","detours","hooks","multi-hook","patch","runtime","trampoline","windows","x86-64"],"latest_commit_sha":null,"homepage":"","language":"Pascal","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mpl-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/MahdiSafsafi.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG","contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null}},"created_at":"2015-06-11T18:59:30.000Z","updated_at":"2025-05-21T17:58:38.000Z","dependencies_parsed_at":"2025-05-25T19:08:50.956Z","dependency_job_id":"c9dfbeb3-5d3e-4ade-8882-cfd55825fb44","html_url":"https://github.com/MahdiSafsafi/DDetours","commit_stats":null,"previous_names":[],"tags_count":2,"template":false,"template_full_name":null,"purl":"pkg:github/MahdiSafsafi/DDetours","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/MahdiSafsafi%2FDDetours","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/MahdiSafsafi%2FDDetours/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/MahdiSafsafi%2FDDetours/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/MahdiSafsafi%2FDDetours/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/MahdiSafsafi","download_url":"https://codeload.github.com/MahdiSafsafi/DDetours/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/MahdiSafsafi%2FDDetours/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":27422214,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","status":"online","status_checked_at":"2025-12-01T02:00:06.371Z","response_time":60,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["com","delphi","detours","hooks","multi-hook","patch","runtime","trampoline","windows","x86-64"],"created_at":"2025-11-16T18:00:21.983Z","updated_at":"2025-12-01T04:00:55.428Z","avatar_url":"https://github.com/MahdiSafsafi.png","language":"Pascal","readme":"![Version](https://img.shields.io/badge/version-v2.2-yellow.svg)\n![License](https://img.shields.io/github/license/MahdiSafsafi/DDetours)\n![Lang](https://img.shields.io/github/languages/top/MahdiSafsafi/DDetours.svg)\n\nThe **DDetours** is a library allowing you to hook Delphi and Windows API functions. It provides an easy way to insert and remove hook.\n\n## What's new in Version 2.2 ? ##\n* Support for FPC and older Delphi version notably D7.\n* Support for recursive section.\n* Support for custom parameter/tag for each trampoline function.\n* See CHANGELOG for complete changes.\n\n## Features : ##\n* Supports **x86** and **x64** architecture.\n* Supports \u003cu\u003e\u003cb\u003emultiple hook\u003c/b\u003e\u003c/u\u003e for a single function.\n* Supports Delphi 7/2005-2010/XE-Rio(Delphi 10.3).\n* Supports Lazarus/FPC.\n* Supports recursive function inside the hook function.\n* Supports hooking interfaces methods by **MethodName** or **MethodIndex**.\n* Supports COM **vtable** patching.\n* Supports hooking object methods.\n* Allows calling the original function via \u003cu\u003e\u003cb\u003eTrampoline/NextHook\u003c/b\u003e\u003c/u\u003e function.\n* **COM**/**Interfaces**/**win32api** support.\n* Thread-safe for hooking and unhooking.\n* 64 bit address is supported.\n* The library does not use any external library.\n* The library can insert and remove the hook at any time.\n* The library contains InstDecode library, that allows you to decode CPU instructions (x86/x64).\n\nThis project contains two sub project : **DDetours** and **InstDecode*** library.\n\nThe InstDecode Library is a library that can decode both (x86/x64) instructions. You can consider it as a small disassembler routine.\nIt 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.\n\nThese two libraries were coded in pure Pascal language with Delphi XE7.\n\nSee the [Wiki](https://github.com/MahdiSafsafi/DDetours/wiki) page for more information about how to use the library.\n\nPlease, if you find any bug, feel free to report it.\n","funding_links":[],"categories":["System"],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2FMahdiSafsafi%2FDDetours","html_url":"https://awesome.ecosyste.ms/projects/github.com%2FMahdiSafsafi%2FDDetours","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2FMahdiSafsafi%2FDDetours/lists"}