18 repositorios
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 es un framework de testing y librería de aserciones para JavaScript que sirve como ejecutor de pruebas para Node.js y entornos de navegador. Implementa el protocolo Test Anything Protocol (TAP) para proporcionar un formato estandarizado y legible por máquina para los resultados de las pruebas. El proyecto funciona como un harness de pruebas multiplataforma, permitiendo que las mismas suites de pruebas se ejecuten tanto en entornos de servidor como de cliente, manteniendo un protocolo de salida consistente. Sus capacidades incluyen la validación de igualdad y veracidad de valores, la verificación del manejo de excepciones y la coordinación de flujos de trabajo asíncronos. El framework también proporciona herramientas para gestionar el ciclo de vida de las pruebas, definir casos de prueba con nombre y capturar llamadas a funciones o acceso a propiedades. La interfaz de línea de comandos admite el descubrimiento de pruebas basado en glob, la precarga de módulos y la capacidad de filtrar archivos o carpetas específicos de la ejecución.
Implements mechanisms to capture function calls and arguments for test verification.
unidbg es un framework para emular y depurar binarios nativos ARM32 y ARM64 en una máquina host. Sirve como depurador de binarios de Android e iOS y emulador de librerías nativas, permitiendo la ejecución de código nativo sin necesidad de hardware físico. El proyecto se distingue por un framework de hooking de funciones nativas y una herramienta de depuración de Model Context Protocol que expone el estado del emulador a asistentes de IA para el análisis binario automatizado. También incluye un analizador de memoria especializado para rastrear asignaciones del lado del invitado e identificar fugas en binarios nativos. El conjunto de herramientas cubre varias áreas de capacidad, incluyendo ingeniería inversa de código nativo, rastreo de ejecución a nivel de instrucción y simulación de puente JNI. Proporciona observabilidad a través de registros de lectura/escritura de memoria y un depurador de consola, mientras utiliza un pool de emuladores thread-safe para reducir la sobrecarga de inicialización.
Implements dynamic function interception by overwriting native instructions to redirect execution flow.
Dobby es un framework de hooking de funciones dinámico y herramienta de instrumentación binaria diseñada para interceptar y redirigir llamadas a funciones en binarios compilados. Sirve como una biblioteca multiplataforma y multiarquitectura que proporciona una interfaz unificada para modificar el flujo de ejecución de programas a través de diferentes sistemas operativos y arquitecturas de CPU. La biblioteca permite la instrumentación binaria de bajo nivel y la instrumentación de aplicaciones en tiempo de ejecución mediante la inyección de manejadores personalizados en procesos en vivo. Se utiliza para ingeniería inversa de software para observar el flujo de datos y la lógica en tiempo real mediante el hooking de funciones internas. El framework cubre el parcheo binario, la resolución de símbolos en tiempo de ejecución y la generación de trampolines dinámicos. Gestiona las protecciones de memoria específicas de la plataforma y mapea las solicitudes de hook genéricas en opcodes específicos de la arquitectura para redirigir la ejecución mediante hooking basado en instrucciones.
Implements a low-level framework for intercepting and redirecting function calls in compiled binaries.
Freezegun es una biblioteca de simulación de tiempo (mocking) de Python y emulador de reloj del sistema utilizado para congelar el reloj del sistema en una fecha y hora fijas. Sirve como una utilidad de prueba para asegurar que la lógica dependiente del tiempo produzca resultados consistentes y predecibles durante la verificación del software. La biblioteca proporciona un mock compatible con asyncio que preserva los valores reales del reloj monotónico para evitar que los bucles de eventos se bloqueen mientras otras funciones de tiempo del sistema permanecen congeladas. Soporta la simulación del paso del tiempo mediante el avance manual del reloj, saltando a fechas designadas o utilizando una simulación de reloj que avanza automáticamente el tiempo entre llamadas. La herramienta incluye una lista de exclusión de simulación para evitar que se intercepten bibliotecas específicas, asegurando que las dependencias internas y las integraciones de terceros permanezcan estables.
Intercepts calls to the datetime and time modules to route them to a central mocked state.
Este repositorio es una colección de desafíos de programación en JavaScript y una guía de entrevista integral. Proporciona implementaciones de referencia y ejemplos educativos diseñados para ayudar a los desarrolladores a dominar los fundamentos del lenguaje y prepararse para entrevistas técnicas. El proyecto cubre una amplia gama de implementaciones especializadas, incluyendo patrones de programación funcional como currying y aplicación parcial, así como patrones asíncronos para el control de concurrencia. También incluye ejemplos prácticos de manipulación del Document Object Model (DOM) y la implementación de estructuras de datos comunes como pilas y colas. A grandes rasgos, la colección abarca características avanzadas del lenguaje, implementaciones de patrones de diseño y manipulación de estructuras de datos. Aborda una superficie que incluye programación asíncrona, interacción con el DOM, patrones de creación orientados a objetos y operaciones primitivas de bajo nivel.
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 es un plugin para eludir anti-debuggers y una herramienta de ingeniería inversa diseñada para ocultar un depurador de una aplicación objetivo. Funciona como una librería de hooking de API en modo usuario y un framework de inyección de DLL que evita que los programas se detecten y cierren a sí mismos cuando están siendo analizados. El proyecto permite el análisis de malware y el estudio de software protegido neutralizando las defensas de seguridad. Logra esto interceptando y modificando las respuestas de las librerías del sistema para engañar a las aplicaciones sobre su entorno de ejecución. La utilidad emplea varios métodos técnicos para mantener el sigilo, incluyendo hooking de API en línea, proxying de llamadas al sistema y parcheo del bloque de entorno de proceso (PEB). También maneja trampas en modo usuario y utiliza redirección de librerías dinámicas para filtrar respuestas sensibles de la API.
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.