Releases: androidZzT/KtIRDissector
Releases · androidZzT/KtIRDissector
Release list
v1.0.0 — Stable Release
What's New in v1.0.0
New Features
@ExitHook— Hook method exit points. Called after the original method finishes, useful for audit logging, performance monitoring, and cleanup.- Improved
MethodHook— Cleaner API with private constructor for safer usage. - Better error handling — More descriptive compile-time error messages for invalid hook configurations.
API Overview
| Annotation | Purpose |
|---|---|
@EntryHook |
Intercept a method before it runs (can skip or replace return value) |
@ExitHook |
Run code after a method completes (for observability, audit) |
@Replace |
Completely replace a method's implementation |
Installation
// settings.gradle.kts
pluginManagement {
repositories {
gradlePluginPortal()
mavenCentral()
}
}
// build.gradle.kts
plugins {
id("io.github.androidzzt.kid-plugin") version "1.0.0"
}
dependencies {
implementation("io.github.androidzzt.kid:kid-annotation:1.0.0")
}Zero Runtime Overhead
All transformations happen at compile time via Kotlin IR. No reflection, no proxies, no agent JARs at runtime.
Full documentation: README
v0.0.1
Annotations:
- Added
@EntryHook - Added
@Replace