18 repository-uri
Capturing function calls to execute additional code or modify return values before the original caller receives them.
Distinct from Function Call Tracking: Existing candidates focus on mapping, invocation, or testing spies, not the behavioral interception logic.
Explore 18 awesome GitHub repositories matching software engineering & architecture · Dynamic Function Interception. Refine with filters or upvote what's useful.
LSPosed is an Android runtime hooking framework and in-memory code modifier. It functions as a system hooking tool that intercepts and modifies system and application methods in memory to change behavior without altering original installation files. The project provides a standardized interface through the Xposed Module API, allowing for the development of plugins that alter the behavior of the Android operating system and installed applications. The framework covers a range of capabilities including runtime function interception, Android system debugging, and application customization. Thes
Implements a system to capture function calls and modify return values at runtime.
Aspects is an aspect-oriented programming library and method hooking framework designed for intercepting and modifying JavaScript function behavior without altering the original source code. It serves as a runtime logic injector that allows for the addition and removal of executable code wrappers from active functions. The library enables the injection of custom logic before or after methods to change application behavior at runtime. It further provides the ability to intercept method calls to capture or override return values before they reach the caller. The framework manages these interce
Captures function calls to execute additional code or modify return values before they reach the original caller.
Chromatic is a Chromium runtime modifier and JavaScript engine injector designed to alter the low-level operational characteristics of Chromium and its embedded V8 engine. It functions as a tool for injecting custom logic into the V8 JavaScript engine to change application behavior at runtime. The project provides mechanisms for browser engine instrumentation and V8 runtime manipulation. It enables the modification of the internal execution flow of JavaScript within Chromium-based environments to extend native browser capabilities or bypass standard limitations.
Intercepts internal engine functions by replacing instruction pointers with jumps to custom logic handlers.
Xposed is a native Android runtime hooking framework and instrumentation tool. It provides a modified version of the Android app process binary to intercept and modify the behavior of system and application processes at the binary level. The framework enables Android operating system customization by altering internal function calls and runtime execution flow. It achieves this through native process instrumentation, allowing for the modification of functionality without altering original application files. The tool covers several low-level capabilities, including native library injection and
Redirects execution flow from original system functions to custom handlers using native memory manipulation.
r0capture is a tool for intercepting network traffic from Android applications. It serves as a traffic interceptor, packet sniffer, and client certificate exporter used to analyze application-layer communication on Android devices. The project provides mechanisms to bypass SSL pinning and certificate validation, allowing the decryption of encrypted traffic without modifying device trust stores. It also enables the extraction of client-side certificates from application memory for saving to local device storage. Captured network data is serialized into PCAP files to support offline protocol a
Captures plaintext network data by intercepting specific sending and receiving functions at runtime.
OpenLLMetry is an OpenTelemetry-based observability framework and instrumentation library for generative AI applications. It provides toolsets for tracing and monitoring large language model workflows, capturing telemetry from model providers, agent frameworks, and vector databases using standardized semantic conventions. The project distinguishes itself by providing a specialized evaluation and experimentation suite that associates user feedback and prompt version hashes with specific execution traces. It includes a system for tracking model reasoning paths and enforcing security guardrails
Injects monitoring logic around AI library calls to automatically record inputs, outputs, and token usage.
Detours is a library for intercepting Win32 API calls and redirecting function calls at runtime on Windows, enabling binary-level instrumentation without requiring access to the original source code. It functions as an API hooking library and binary instrumentation toolkit, allowing developers to monitor or modify the behavior of compiled Windows binaries by hooking into their function execution paths. The project achieves this through detour-based function interception, where the first few instructions of a target function are replaced with a jump to a user-supplied detour function, while pr
Replaces function entry instructions with jumps to detour functions, preserving original bytes for trampoline calls.
Tape este un framework de testare JavaScript și o bibliotecă de aserțiuni care servește drept test runner pentru Node.js și medii de browser. Implementează protocolul Test Anything Protocol (TAP) pentru a oferi un format standardizat, lizibil de către mașină, pentru rezultatele testelor. Proiectul funcționează ca un test harness cross-environment, permițând ca aceleași suite de teste să fie executate atât în medii server-side, cât și client-side, menținând în același timp un protocol de output consistent. Capabilitățile sale includ validarea egalității valorilor și a stării de adevăr, verificarea gestionării excepțiilor și coordonarea fluxurilor de lucru asincrone. Framework-ul oferă, de asemenea, instrumente pentru gestionarea ciclului de viață al testelor, definirea cazurilor de testare denumite și capturarea apelurilor de funcții sau a accesului la proprietăți. Interfața de linie de comandă (CLI) suportă descoperirea testelor bazată pe glob, preîncărcarea modulelor și capacitatea de a filtra fișiere sau foldere specifice din execuție.
Implements mechanisms to capture function calls and arguments for test verification.
unidbg este un framework pentru emularea și depanarea binarilor native ARM32 și ARM64 pe o mașină gazdă. Servește ca un debugger de binare Android și iOS și emulator de biblioteci native, permițând execuția codului nativ fără a fi nevoie de hardware fizic. Proiectul se distinge printr-un framework de hooking al funcțiilor native și un instrument de depanare Model Context Protocol care expune starea emulatorului către asistenții AI pentru analiză binară automatizată. Include, de asemenea, un analizor de memorie specializat pentru urmărirea alocărilor de partea invitatului și identificarea scurgerilor de memorie în binarele native. Setul de instrumente acoperă mai multe domenii de capabilități, inclusiv ingineria inversă a codului nativ, urmărirea execuției la nivel de instrucțiune și simularea JNI-bridge. Oferă observabilitate prin log-uri de citire/scriere în memorie și un debugger de consolă, utilizând în același timp pooling-ul de emulatoare thread-safe pentru a reduce overhead-ul de inițializare.
Implements dynamic function interception by overwriting native instructions to redirect execution flow.
Dobby este un framework dinamic de hooking al funcțiilor și un instrument de instrumentare binară conceput pentru a intercepta și redirecționa apelurile de funcții în binare compilate. Servește drept bibliotecă cross-platform și cross-architecture care oferă o interfață unificată pentru modificarea fluxului de execuție a programelor pe diferite sisteme de operare și arhitecturi CPU. Biblioteca permite instrumentarea binară de nivel scăzut și instrumentarea aplicațiilor la runtime prin injectarea de handler-e personalizate în procesele live. Este utilizată pentru ingineria inversă a software-ului pentru a observa fluxul de date în timp real și logica prin hooking-ul funcțiilor interne. Framework-ul acoperă patching-ul binar, rezolvarea simbolică la runtime și generarea de trampolines dinamice. Gestionează protecțiile de memorie specifice platformei și mapează cererile generice de hook în opcode-uri specifice arhitecturii pentru a redirecționa execuția prin hooking bazat pe instrucțiuni.
Implements a low-level framework for intercepting and redirecting function calls in compiled binaries.
Freezegun este o bibliotecă Python de mocking a timpului și un emulator de ceas de sistem utilizat pentru a îngheța ceasul sistemului la o dată și oră fixă. Acesta servește ca un utilitar de testare pentru a se asigura că logica dependentă de timp produce rezultate consistente și previzibile în timpul verificării software-ului. Biblioteca oferă un mock compatibil cu asyncio care păstrează valorile reale ale ceasului monotonic pentru a preveni blocarea event loop-urilor în timp ce alte funcții de timp ale sistemului rămân înghețate. Suportă simularea trecerii timpului prin avansarea manuală a ceasului, saltul la date desemnate sau utilizarea unei simulări de ceas care incrementează timpul automat între apeluri. Instrumentul include o listă de excludere a mocking-ului pentru a preveni interceptarea anumitor biblioteci, asigurându-se că dependențele interne și integrările terțe rămân stabile.
Intercepts calls to the datetime and time modules to route them to a central mocked state.
Acest repository este o colecție de provocări de programare JavaScript și un ghid cuprinzător pentru interviuri. Oferă implementări de referință și exemple educaționale concepute pentru a ajuta dezvoltatorii să stăpânească fundamentele limbajului și să se pregătească pentru interviuri tehnice. Proiectul acoperă o gamă largă de implementări specializate, inclusiv tipare de programare funcțională precum currying și aplicarea parțială, precum și tipare asincrone pentru controlul concurenței. Include, de asemenea, exemple practice de manipulare a Document Object Model (DOM) și implementarea structurilor de date comune, cum ar fi stivele și cozile. În linii mari, colecția acoperă caracteristici avansate ale limbajului, implementări de tipare de design și manipularea structurilor de date. Adresează o suprafață care include programarea asincronă, interacțiunea cu DOM-ul, tipare de creație orientate pe obiecte și operațiuni primitive de nivel scăzut.
Uses JavaScript proxies to intercept and monitor function calls without modifying original source code.
REFramework is a runtime modding framework for games built on the RE Engine, providing a C# plugin system with typed proxy code generation, a Lua scripting interface, an ImGui-based UI system, a runtime debugging toolkit, and a VR integration layer. At its core, it intercepts and modifies internal game engine functions and state at runtime through hooking and scripting APIs, enabling deep inspection and manipulation of live game objects. The framework distinguishes itself through typed proxy code generation that auto-creates C# interfaces from the game's type database, giving compile-time saf
Hooks into game engine methods at runtime to intercept, inspect, and modify function calls.
ScyllaHide este un plugin de bypass pentru anti-debugger și un instrument de reverse engineering conceput pentru a ascunde un debugger de o aplicație țintă. Funcționează ca o bibliotecă de hooking API în user-mode și un framework de injectare DLL care previne detectarea și închiderea programelor în timpul analizei. Proiectul permite analiza malware-ului și studiul software-ului protejat prin neutralizarea apărărilor de securitate. Acest lucru este realizat prin interceptarea și modificarea răspunsurilor bibliotecilor de sistem pentru a induce în eroare aplicațiile cu privire la mediul lor de execuție. Utilitarul folosește mai multe metode tehnice pentru a menține stealth-ul, inclusiv inline API hooking, proxying pentru apeluri de sistem și patching pentru process environment block (PEB). De asemenea, gestionează trap-urile în user-mode și utilizează redirecționarea bibliotecilor dinamice pentru a filtra răspunsurile API sensibile.
Uses detour-based inline API hooking to intercept and modify system calls.
This project is a JavaScript-based plugin framework for the Typora markdown editor. It provides a development platform to integrate custom functional logic, UI elements, and keyboard shortcuts into the editor environment. The framework distinguishes itself by offering a JSON-RPC remote interface, allowing external programs to control the editor and trigger plugin functions. It also includes a dedicated publishing system to export and upload markdown documents to external blogging platforms via API requests. The project covers a wide range of capabilities, including editor workflow automation
Implements a system for intercepting internal software functions to modify arguments or return values via hooks.
Premake is a build system generator and cross-platform build configuration tool. It functions as a scripting engine that transforms scripted workspace definitions into native project files for multiple build toolsets and compilers. Additionally, it can generate JSON-formatted compilation databases for use with language servers and static analysis tools. The project distinguishes itself through a programmable runtime that allows for internal function hooking and the interception of build logic. This extensibility enables users to create custom toolset generators, implement modular extensions f
Provides a mechanism to intercept internal functions and modify the project generation sequence at runtime.
Piko is a collection of specialized Android utilities designed for binary patching, user interface customization, media downloading, and application debugging. It functions as an APK modification framework that alters application metadata and binary resources to modify internal logic and bypass version locks. The project differentiates itself through deep application modification capabilities, including bytecode-level instruction patching, DEX file manipulation, and a dynamic hooking engine. It enables the overriding of resource files and the injection of permissions via the application manif
Features a dynamic hooking engine that intercepts function calls at runtime to redirect logic.
rdpwrap is a set of system utilities and services designed to enable, configure, and manage remote desktop protocol access and video compression settings. It functions as a service and manager that allows remote desktop connections on operating system versions where the feature is restricted or disabled by the vendor. The project provides tools to override system-level restrictions for remote access and activate remote desktop protocol services on unsupported versions. It includes a configuration tool for managing H.264 video compression and encoding settings to balance visual quality, networ
Implements dynamic function interception to redirect operating system execution flow for enabling restricted features.