# amimo/dcc

DCC (Dex-to-C Compiler) is method-based aot compiler that can translate DEX code to C code.

Repository: https://github.com/amimo/dcc
Canonical: https://ross.abutalabs.com/products/dcc
Language: Python
License: Apache-2.0
License Family: permissive
Topics: compiler, java2c, dalvik, obfuscator
Last push: 2024-02-07T11:27:45+00:00

## Health v2 (maintenance only)
Score: 32/100 (v2, computed 2026-09-02T17:46:02.011165+00:00)
- activity 0, release rhythm 35, longevity 100
- inputs: {"age_days": 2581, "days_push": 938, "days_rel": null, "gap_med": null, "n_releases_24m": 0}
- flags: no_releases
- formula: round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)

## Adoption (not part of the score)
Stars 1296, forks 419 (observed 2026-08-28T04:04:16.628614+00:00)

## What it is
DCC (Dex-to-C Compiler) is a method-based ahead-of-time compiler that translates Android DEX bytecode into C code compiled via the NDK. It is used to harden Android APKs by converting selected Java methods to native code, making them harder to reverse-engineer.

## Use cases
- convert dex bytecode to c code
- harden an android apk against reverse engineering
- compile selected java methods to native libraries
- obfuscate android app logic via aot compilation
- generate a jni project from an apk's dex code

## When to choose
- you want to protect sensitive Android app logic from decompilation
- you need to translate specific DEX methods to C with blacklist/whitelist or annotation control
- you are researching DEX-to-native compilation techniques

## When to avoid
- you need a battle-tested solution for production apps (the author warns it is not extensively tested)
- performance of the protected methods is critical, since JNI interaction can severely impact speed
- you need to obfuscate non-Android Java bytecode

## Facets
- artifact type: cli-tool
- maturity: experimental
- function: compiler, security, reverse-engineering, cli
- domain: security, compilers, developer-tools, android-tools
- platform: windows, python, cli
- tags: dex-to-c, aot-compiler, apk-hardening, obfuscation, jni, android, dalvik, linux

## Member repositories
- amimo/dcc (main) score 32

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:04:16.628614+00:00.
- Health v2: computed from the inputs above; adoption is never an input.
- Inferred fields (summary, facets, guidance): AI-extracted, prompt v1, taxonomy v1, on 2026-08-30T04:53:56.243635+00:00, confidence not recorded.
  - readme: https://github.com/amimo/dcc (fetched 2026-08-28T04:04:16.628614+00:00, sha 552ff4dea3e9)
- Data as of 2026-08-30T08:39:29.467469+00:00.
