Jae-Young Lee

92 papers Journal 33Unranked 59
YearRankTypeTitle / Venue / Authors
2026 conf
ICAIIC
Min-Gyu Kim, Yeongchae Noh, Seokheyon No, Jeongchang Kim, Pansoo Kim, Jae-Young Lee
2024 conf
ICTC
Hyeju Oh, Soonchoul Kim, Jae-Young Lee
2023 conf
ICTC
Soon Kim, Jae-Young Lee, Hye-Ju Oh
2022 J jnl
IEEE Trans. Broadcast.
Bo-Mi Lim, Sunhyoung Kwon, Sungjun Ahn, Sung-Ik Park, Jae-Young Lee, Heung Mook Kim, Namho Hur, Jeongchang Kim
2022 conf
ICTC
Soonchoul Kim, Jae-Young Lee, Hye-Ju Oh, Dong-Joon Choi
2021 J jnl
IEEE Trans. Broadcast.
Hyeongseok Kim, Jeongchang Kim, Sung-Ik Park, Jae-Young Lee, Sunhyoung Kwon, Namho Hur
2021 J jnl
IEEE Trans. Broadcast.
Sungjun Ahn, Sung-Ik Park, Jae-Young Lee, Namho Hur, Joonhyuk Kang
2021 J jnl
IEEE Trans. Broadcast.
Liang Zhang, Wei Li, Yiyan Wu, Sebastien Lafleche, Zhihong Hong, Sung-Ik Park, Jae-Young Lee, Heung Mook Kim, Namho Hur, Eneko Iradier, Pablo Angueira, Jon Montalban
2020 conf
BMSB
Bo-Mi Lim, Sungjun Ahn, Sunhyoung Kwon, Jae-Young Lee, Sung Ik Park
2020 J jnl
IEEE Trans. Broadcast.
Hyeongseok Kim, Jeongchang Kim, Sung-Ik Park, Jae-Young Lee, Namho Hur, Michael Simon, Mark Aitken, Kevin Gage
2020 conf
BMSB
Zhihong Hong, Liang Zhang, Yiyan Wu, Wei Li, Sebastien Lafleche, Sung-Ik Park, Jae-Young Lee, Heung Mook Kim, Namho Hur
2020 J jnl
IEEE Trans. Broadcast.
Sunhyoung Kwon, Sung-Ik Park, Jae-Young Lee, Bo-Mi Lim, Sungjun Ahn, Joonhyuk Kang
2020 conf
BMSB
Haechan Kwon, Sung-Ik Park, Jae-Young Lee, Bo-Mi Lim, Sungjun Ahn
2020 J jnl
IEEE Trans. Broadcast.
Sungjun Ahn, Sung-Ik Park, Jae-Young Lee, Namho Hur, Joonhyuk Kang
2020 J jnl
IEEE Trans. Broadcast.
Jae-Young Lee, Sung-Ik Park, Hyun-Jeong Yim, Bo-Mi Lim, Sunhyoung Kwon, Sungjun Ahn, Namho Hur
2020 conf
BMSB
Hoiyoon Jung, Sung-Ik Park, Jae-Young Lee, Namho Hur, Jeongchang Kim, Michael Simon, Mark Aitken
2020 conf
BMSB
Wei Li, Liang Zhang, Yiyan Wu, Sung-Ik Park, Namho Hur, Jae-Young Lee
2020 J jnl
IEEE Trans. Broadcast.
Sungjun Ahn, Sung-Ik Park, Jae-Young Lee, Namho Hur, Yiyan Wu, Liang Zhang, Wei Li, Jeongchang Kim
2020 conf
BMSB
Sungjun Ahn, Sung-Ik Park, Jae-Young Lee, Bo-Mi Lim, Sunhyoung Kwon, Namho Hur, Jeongchang Kim
2020 J jnl
IEEE Trans. Broadcast.
Sungjun Ahn, Sung-Ik Park, Jae-Young Lee, Bo-Mi Lim, Sunhyoung Kwon, Namho Hur, Yiyan Wu, Liang Zhang, Wei Li, Jeongchang Kim
2020 conf
BMSB
Sungjun Ahn, Sunhyoung Kwon, Sung-Ik Park, Jae-Young Lee, Namho Hur, Joonhyuk Kang
2020 J jnl
IEEE Access
Sungjun Ahn, Sung-Ik Park, Sunhyoung Kwon, Jae-Young Lee, Namho Hur
2020 J jnl
IEEE Trans. Broadcast.
Liang Zhang, Wei Li, Yiyan Wu, Yu Xue, Elvino Sousa, Sung-Ik Park, Jae-Young Lee, Namho Hur, Heung Mook Kim
2019 conf
BMSB
Hyeongseok Kim, Jeongchang Kim, Sung Ik Park, Jae-Young Lee, Namho Hur, Michael Simon, Mark Aitken, Kevin Gage
2019 conf
BMSB
Hoiyoon Jung, Sung-Ik Park, Jae-Young Lee, Namho Hur, Heung Mook Kim, Jeongchang Kim, Michael Simon, Mark Aitken
2019 conf
BMSB
Liang Zhang, Jon Montalban, Yiyan Wu, Wei Li, Sung-Ik Park, Jae-Young Lee, Heung Mook Kim, Namho Hur, Eneko Iradier, Pablo Angueira
2019 conf
BMSB
Jae-Young Lee, Sung Ik Park, Hyun-Jeong Yim, Bo-Mi Lim, Sunhyoung Kwon, Sungjun Ahn, Namho Hur, Heung Mook Kim
2019 conf
BMSB
Hyeongseok Kim, Jeongchang Kim, Sung Ik Park, Jae-Young Lee, Namho Hur
2019 J jnl
IEEE Trans. Broadcast.
Wei Li, Yiyan Wu, Sebastien Lafleche, Khalil Salehian, Liang Zhang, Adrian Florea, Sung-Ik Park, Jae-Young Lee, Heung Mook Kim, Namho Hur, Cristina Regueiro, Jon Montalban, Pablo Angueira
2019 conf
BMSB
Sungjun Ahn, Sung-Ik Park, Jae-Young Lee, Sunhyoung Kwon, Bo-Mi Lim, Heung Mook Kim, Namho Hur, Jeongchang Kim
2019 conf
BMSB
Sunhyoung Kwon, Sung Ik Park, Jae-Young Lee, Bo-Mi Lim, Sungjun Ahn, Heung Mook Kim, Joonhyuk Kang
2019 J jnl
IEEE Trans. Broadcast.
Jae-Young Lee, Sung-Ik Park, Sunhyoung Kwon, Bo-Mi Lim, Sungjun Ahn, Namho Hur, Heung Mook Kim, Jeongchang Kim
2019 J jnl
IEEE Wirel. Commun.
Liang Zhang, Yiyan Wu, Wei Li, Bo Rong, Khalil Salehian, Sebastien Lafleche, Xianbin Wang, Sung Ik Park, Heung Mook Kim, Jae-Young Lee, Namho Hur, Pablo Angueira, Jon Montalban
2019 conf
BMSB
Sungho Jeon, Sung-Ik Park, Younseok Choi, Yoo-Sang Shin, Jin Sol Nam, Jaekwon Lee, Jahoon Ku, Bo-Mi Lim, Sungjun Ahn, Jae-Young Lee
2019 conf
BMSB
Bo-Mi Lim, Sunhyoung Kwon, Sungjun Ahn, Sung Ik Park, Jae-Young Lee, Namho Hur, Heung Mook Kim, Jeongchang Kim
2019 conf
BMSB
George Henrique Maranhao Garcia de Oliveira, Uirá Moreno Rosário e Barros, Leonardo Chaves, Gabriel Ferraresso, Leandro Pacheco, Julio Omi, Jae-Young Lee, Sung-Ik Park, Cristiano Akamine, Ricardo Seriacopi Rabaça, Natalia Silva Santiago, Carlos Felipe Celestino Leonel, Matheus Andrade Santana, Victor Gabriel Rizzi Varela, Rodrigo Admir Vaz, Eric da Silva Ferraz, Rodrigo Ribeiro de Oliveira
2019 J jnl
IEEE Trans. Broadcast.
Sung-Ik Park, Jae-Young Lee, Sunhyoung Kwon, Bo-Mi Lim, Sungjun Ahn, Heung Mook Kim, Sungho Jeon, Jaekwon Lee, Michael Simon, Mark Aitken, Kevin Gage, Yiyan Wu, Liang Zhang, Wei Li, Jeongchang Kim
2019 conf
BMSB
Seok-Ki Ahn, Sung-Ik Park, Jae-Young Lee, Bo-Mi Lim, Sunhyoung Kwon, Jeongchang Kim
2019 conf
ICTC
Jaehwui Bae, Jae-Hyun Seo, Youngsu Kim, Jae-Young Lee, Namho Hur, Dong-Joon Choi, Ho Jae Kim, Hyoung-Nam Kim
2019 conf
BMSB
Liang Zhang, Yiyan Wu, Wei Li, Sung-Ik Park, Jae-Young Lee, Namho Hur, Heung Mook Kim
2019 J jnl
IEEE Trans. Broadcast.
Liang Zhang, Wei Li, Yiyan Wu, Khalil Salehian, Sebastien Lafleche, Zhihong Hong, Sung-Ik Park, Heung Mook Kim, Jae-Young Lee, Namho Hur, Xianbin Wang, Pablo Angueira, Jon Montalban
2018 conf
BMSB
Hoiyoon Jung, Sung-Ik Park, Jae-Young Lee, Namho Hur, Heung Mook Kim, Jeongchang Kim, Michael Simon, Mark Aitken
2018 conf
BMSB
Sung-Ik Park, Jae-Young Lee, Sunhyoung Kwon, Bo-Mi Lim, Sungjun Ahn, Heung Mook Kim, Sungho Jeon, Jaekwon Lee, Michael Simon, Mark Aitken, Kevin Gage, Yiyan Wu, Liang Zhang, Wei Li, Jeongchang Kim
2018 conf
BMSB
Wei Li, Liang Zhang, Yiyan Wu, Khalil Salehian, Sebastien Lafleche, Sung-Ik Park, Jae-Young Lee, Heung Mook Kim, Namho Hur
2018 conf
BMSB
Sunhyoung Kwon, Sung Ik Park, Jae-Young Lee, Bo-Mi Lim, Heung Mook Kim, Joonhyuk Kang
2018 J jnl
IEEE Trans. Broadcast.
Jae-Young Lee, Sung Ik Park, Sunhyoung Kwon, Bo-Mi Lim, Heung Mook Kim, Namho Hur, Anthony Pesin, Jean-Claude Chevet, Joan Llach, Alan Stein, Sungho Jeon, Yiyan Wu
2018 J jnl
IEEE Trans. Broadcast.
Sung Ik Park, Jae-Young Lee, Bo-Mi Lim, Sunhyoung Kwon, Jae-Hyun Seo, Heung Mook Kim, Namho Hur, Jeongchang Kim
2018 conf
BMSB
Jae-Young Lee, Sung Ik Park, Sunhyoung Kwon, Bo-Mi Lim, Sungjun Ahn, Namho Hur, Heung Mook Kim, Sungho Jeon, David Gomez-Barquero
2018 conf
BMSB
Sungho Jeon, Jaekwon Lee, Sunhyoung Kwon, Bo-Mi Lim, Sungjun Ahn, Yoo-Sang Shin, Jae-Young Lee, Sung Ik Park
2018 conf
BMSB
Bo-Mi Lim, Sunhyoung Kwon, Sungjun Ahn, Sung Ik Park, Jae-Young Lee, Namho Hur, Heung Mook Kim, Jeongchang Kim
2018 J jnl
IEEE Commun. Mag.
Liang Zhang, Yiyan Wu, Wei Li, Khalil Salehian, Sebastien Lafleche, Xianbin Wang, Sung Ik Park, Heung Mook Kim, Jae-Young Lee, Namho Hur, Pablo Angueira, Jon Montalban
2018 conf
BMSB
Sungjun Ahn, Sung-Ik Park, Jae-Young Lee, Sunhyoung Kwon, Bo-Mi Lim, Heung Mook Kim, Namho Hur, Yiyan Wu, Liang Zhang, Wei Li, Hyeongseok Kim, Jeongchang Kim
2018 conf
BMSB
Liang Zhang, Yiyan Wu, Wei Li, Khalil Salehian, Sebastien Lafleche, Zhihong Hong, Sung-Ik Park, Jae-Young Lee, Heung Mook Kim, Namho Hur, Michael Simon, David Gomez-Barquero
2018 conf
5G World Forum
Liang Zhang, Yiyan Wu, Wei Li, Khalil Salehian, Sebastien Lafleche, Zhihong Hong, Sung-Ik Park, Jae-Young Lee, Heung Mook Kim, Namho Hur
2017 conf
BMSB
Sunhyoung Kwon, Sung Ik Park, Jae-Young Lee, Bo-Mi Lim, Heung Mook Kim, Namho Hur, Joonhyuk Kang
2017 J jnl
IEEE Trans. Broadcast.
Sung Ik Park, Wei Li, Jae-Young Lee, Yiyan Wu, Xianbin Wang, Sunhyoung Kwon, Bo-Mi Lim, Heung Mook Kim, Namho Hur, Liang Zhang, Jeongchang Kim
2017 conf
BMSB
Liang Zhang, Wei Li, Yiyan Wu, Sebastien Lafleche, Khalil Salehian, Zhihong Hong, Adrian Florea, Xianbin Wang, Sung Ik Park, Heung Mook Kim, Jae-Young Lee, Namho Hur, Pablo Angueira, Jon Montalban, Cristina Regueiro
2017 conf
BMSB
Liang Zhang, Yiyan Wu, Wei Li, Khalil Salehian, Sebastien Lafleche, Adrian Florea, Xianbin Wang, Sung Ik Park, Heung Mook Kim, Jae-Young Lee, Namho Hur, Pablo Angueira, Jon Montalban, Cristina Regueiro
2017 conf
BMSB
Wei Li, Yiyan Wu, Sebastien Lafleche, Khalil Salehian, Liang Zhang, Adrian Florea, Sung Ik Park, Jae-Young Lee, Heung Mook Kim, Namho Hur, Cristina Regueiro, Jon Montalban, Pablo Angueira
2017 J jnl
IEEE Trans. Broadcast.
Sung Ik Park, Jae-Young Lee, Bo-Mi Lim, Youngmin Kim, Sunhyoung Kwon, Heung Mook Kim, Jeongchang Kim
2017 conf
BMSB
Bo-Mi Lim, Sung Ik Park, Jae-Young Lee, Sunhyoung Kwon, Heung Mook Kim, Namho Hur, Yiyan Wu, Jeongchang Kim
2017 J jnl
IEEE Trans. Broadcast.
Jae-Young Lee, Sung Ik Park, Sunhyoung Kwon, Bo-Mi Lim, Heung Mook Kim, Jon Montalban, Pablo Angueira, Liang Zhang, Wei Li, Yiyan Wu, Jeongchang Kim
2017 J jnl
IEEE Trans. Broadcast.
Seho Myung, Sung Ik Park, Kyung-Joong Kim, Jae-Young Lee, Sunhyoung Kwon, Jeongchang Kim
2017 conf
BMSB
Sungho Jeon, Junghyun Kim, Yoo-Sang Shin, Sanghoon Kim, Sangjin Hahm, Young-Woo Suh, Sung Ik Park, Jae-Young Lee, Jong-Soo Seo
2017 conf
ICTC
Jaehwui Bae, Jae-Hyun Seo, Youngsu Kim, Jae-Young Lee, Namho Hur, Heung Mook Kim
2017 conf
BMSB
Jae-Young Lee, Sung Ik Park, Sunhyoung Kwon, Bo-Mi Lim, Heung Mook Kim, Namho Hur, Anthony Pesin, Jean-Claude Chevet, Joan Llach, Alan Stein, Sungho Jeon, Yiyan Wu
2017 conf
BMSB
Sung Ik Park, Wei Li, Jae-Young Lee, Yiyan Wu, Xianbin Wang, Sunhyoung Kwon, Bo-Mi Lim, Heung Mook Kim, Namho Hur, Liang Zhang, Jeongchang Kim
2017 J jnl
IEEE Trans. Broadcast.
Wei Li, Yiyan Wu, Liang Zhang, Khalil Salehian, Sebastien Lafleche, Dazhi He, Yao Wang, Yunfeng Guan, Wenjun Zhang, Jon Montalban, Pablo Angueira, Manuel Vélez, Sung Ik Park, Jae-Young Lee, Heung Mook Kim
2016 conf
BMSB
Sunhyoung Kwon, Sung Ik Park, Jae-Young Lee, Heung Mook Kim, Joonhyuk Kang
2016 conf
BMSB
Jon Montalban, Jon Barrueco, Pablo Angueira, Liang Zhang, Yiyan Wu, Wei Li, Heung Mook Kim, Sung Ik Park, Jae-Young Lee
2016 conf
BMSB
Liang Zhang, Zhihong Hong, Wei Li, Yiyan Wu, Khalil Salehian, David Gomez-Barquero, Pablo Angueira, Jon Montalban, Heung Mook Kim, Sung Ik Park, Jae-Young Lee
2016 J jnl
IEEE Trans. Broadcast.
Cristina Regueiro, Jon Montalban, Jon Barrueco, Manuel Vélez, Pablo Angueira, Yiyan Wu, Liang Zhang, Sung Ik Park, Jae-Young Lee, Heung Mook Kim
2016 J jnl
IEEE Trans. Broadcast.
Liang Zhang, Wei Li, Yiyan Wu, Xianbin Wang, Sung Ik Park, Heung Mook Kim, Jae-Young Lee, Pablo Angueira, Jon Montalban
2016 J jnl
IEEE Trans. Broadcast.
Sung Ik Park, Jae-Young Lee, Seho Myoung, Liang Zhang, Yiyan Wu, Jon Montalban, Sunhyoung Kwon, Bo-Mi Lim, Pablo Angueira, Heung Mook Kim, Namho Hur, Jeongchang Kim
2016 J jnl
IEEE Trans. Broadcast.
Kyung-Joong Kim, Seho Myung, Sung Ik Park, Jae-Young Lee, Makiko Kan, Yuji Shinohara, Jong-Woong Shin, Jinwoo Kim
2016 conf
BMSB
Bo-Mi Lim, Sung Ik Park, Jae-Young Lee, Sunhyoung Kwon, Heung Mook Kim, Jeongchang Kim
2016 conf
BMSB
Jae-Young Lee, Sung Ik Park, Sunhyoung Kwon, Bo-Mi Lim, Heung Mook Kim, Yiyan Wu, Liang Zhang, Wei Li, Jon Montalban, Pablo Angueira
2016 conf
BMSB
Liang Zhang, Wei Li, Yiyan Wu, Khalil Salehian, Pablo Angueira, Jon Montalban, Heung Mook Kim, Sung Ik Park, Jae-Young Lee, Xianbin Wang
2016 conf
BMSB
Wei Li, Yiyan Wu, Liang Zhang, Khalil Salehian, Sebastien Lafleche, Dazhi He, Yao Wang, Yunfeng Guan, Wenjun Zhang, Jon Montalban, Pablo Angueira, Manuel Vélez, Sung Ik Park, Jae-Young Lee, Heung Mook Kim
2015 conf
BMSB
Jon Barrueco, Cristina Regueiro, Jon Montalban, Manuel Vélez, Pablo Angueira, Heung Mook Kim, Sung Ik Park, Jae-Young Lee
2015 conf
BMSB
Liang Zhang, Yiyan Wu, Wei Li, Zhihong Hong, Khalil Salehian, Heung Mook Kim, Sung Ik Park, Jae-Young Lee, Pablo Angueira, Jon Montalban, Manuel Vélez
2015 conf
BMSB
Jae-Young Lee, Sung Ik Park, Sunhyoung Kwon, Heung Mook Kim, Yiyan Wu, Liang Zhang, Wei Li, Jon Montalban, Pablo Angueira
2015 conf
BMSB
Sung Ik Park, Yiyan Wu, Liang Zhang, Jon Montalban, Jae-Young Lee, Pablo Angueira, Sunhyoung Kwon, Heung Mook Kim, Namho Hur, Jeongchang Kim
2015 conf
BMSB
Liang Zhang, Yiyan Wu, Wei Li, Zhihong Hong, Khalil Salehian, Heung Mook Kim, Sung Ik Park, Jae-Young Lee, Pablo Angueira, Jon Montalban, Manuel Vélez
2015 conf
BMSB
Jon Montalban, Jon Barrueco, Itziar Angulo, Liang Zhang, Yiyan Wu, Wei Li, Heung Mook Kim, Sung Ik Park, Jae-Young Lee
2015 J jnl
IEEE Trans. Broadcast.
Liang Zhang, Wei Li, Yiyan Wu, Zhihong Hong, Khalil Salehian, Xianbin Wang, Pablo Angueira, Jon Montalban, Manuel Vélez, Sung Ik Park, Heung Mook Kim, Jae-Young Lee
2015 J jnl
IEEE Trans. Broadcast.
Jon Montalban, Itziar Angulo, Cristina Regueiro, Yiyan Wu, Liang Zhang, Sung Ik Park, Jae-Young Lee, Heung Mook Kim, Manuel Vélez, Pablo Angueira
2015 conf
BMSB
Sunhyoung Kwon, Sung Ik Park, Jae-Young Lee, Heung Mook Kim, Namho Hur, Jeongchang Kim
2014 conf
BMSB
Sunhyoung Kwon, Sung Ik Park, Yiyan Wu, Jae-Young Lee, Heung Mook Kim, Namho Hur, Jeongchang Kim
2014 conf
BMSB
Jae-Young Lee, Jin-Hyuk Song, Sung Ik Park, Heung Mook Kim
2008 J jnl
IEEE Trans. Broadcast.
Sung Ik Park, So Ra Park, Homin Eum, Jae-Young Lee, Yong-Tae Lee, Heung Mook Kim
2008 J jnl
IEEE Trans. Broadcast.
Sung Ik Park, Jae-Young Lee, Heung Mook Kim, Wangrok Oh
docs/apk-code-schema.md
← Index docs/apk-code-schema.md markdown
# APK Code Analysis — ClickHouse Schema

All tables follow the `ReplacingMergeTree(analysis_date)` pattern from
`docs/new-code-binja-schema.md`, except `code_apk_analysis_errors` which
uses `MergeTree()`.

**Companion PDD:** `APK_CODE_ANALYSIS_PDD-Tech_Annex.md` §7

---

## Table overview

| # | Table | Analog (Binja) | Engine | Key |
|---|-------|----------------|--------|-----|
| 1 | `code_apk_decompiled_methods_content` | `code_binja_decompiled_functions_content` | ReplacingMergeTree | `decompiled_method_hash` |
| 2 | `code_apk_decompiled_methods_references` | `code_binja_decompiled_functions_references` | ReplacingMergeTree | `(sha256, decompiled_method_hash)` |
| 3 | `code_apk_smali_methods_content` | `code_binja_disassembled_functions_content` | ReplacingMergeTree | `smali_method_hash` |
| 4 | `code_apk_smali_methods_references` | `code_binja_disassembled_functions_references` | ReplacingMergeTree | `(sha256, smali_method_hash)` |
| 5 | `code_apk_method_similarity_metrics` | `code_binja_function_similarity_metrics` | ReplacingMergeTree | `smali_method_hash` |
| 6 | `code_apk_cfg_methods` | `code_binja_cfg_functions` | ReplacingMergeTree | `smali_method_hash` |
| 7 | `code_binja_strings_raw` *(shared)* | — | Null (→ MV) | — |
| 8 | `code_apk_analysis_errors` | `function_analysis_errors_binja` | MergeTree | `(sha256, error_location, error_hash)` |

---

## Table 1: `code_apk_decompiled_methods_content`

**Analog:** `code_binja_decompiled_functions_content`

```sql
CREATE TABLE IF NOT EXISTS code_apk_decompiled_methods_content (
    decompiled_method_hash FixedString(64),          -- SHA-256 of normalized Java source
    decompiled_method String CODEC(ZSTD(3)),          -- Full Java method source
    decompiled_method_type Enum8('USER'=1, 'LIBRARY'=2, 'UNKNOWN'=5) DEFAULT 'UNKNOWN',
    decompiled_has_string_encryption UInt8 DEFAULT 0,
    decompiled_has_reflection_calls UInt8 DEFAULT 0,
    decompiled_excessive_goto_count UInt8 DEFAULT 0,
    analysis_date DateTime64(3, 'UTC'),

    INDEX idx_method_content_token lower(decompiled_method) TYPE tokenbf_v1(32768, 3, 0) GRANULARITY 1
) ENGINE = ReplacingMergeTree(analysis_date)
ORDER BY decompiled_method_hash;
```

## Table 2: `code_apk_decompiled_methods_references`

**Analog:** `code_binja_decompiled_functions_references`

```sql
CREATE TABLE IF NOT EXISTS code_apk_decompiled_methods_references (
    sha256 FixedString(64),
    decompiled_method_hash FixedString(64),
    smali_method_hash Nullable(FixedString(64)),
    decompiled_class_name LowCardinality(String),
    decompiled_method_name LowCardinality(String),
    decompiled_method_signature String,               -- Dalvik descriptor: (Landroid/os/Bundle;)V
    decompiled_method_prototype String,               -- Java-style: void onCreate(Bundle)
    functions_caller Array(String),
    functions_call Array(String),
    analysis_date DateTime64(3, 'UTC'),

    INDEX idx_decompiled_class_name decompiled_class_name TYPE tokenbf_v1(32768, 3, 0) GRANULARITY 1,
    INDEX idx_decompiled_method_name decompiled_method_name TYPE tokenbf_v1(32768, 3, 0) GRANULARITY 1,
    INDEX idx_functions_caller functions_caller TYPE tokenbf_v1(32768, 3, 0) GRANULARITY 1,
    INDEX idx_functions_call functions_call TYPE tokenbf_v1(32768, 3, 0) GRANULARITY 1
) ENGINE = ReplacingMergeTree(analysis_date)
ORDER BY (sha256, decompiled_method_hash);
```

## Table 3: `code_apk_smali_methods_content`

**Analog:** `code_binja_disassembled_functions_content`

```sql
CREATE TABLE IF NOT EXISTS code_apk_smali_methods_content (
    smali_method_hash FixedString(64),                -- SHA-256 of normalized smali body
    smali_method String CODEC(ZSTD(3)),               -- Full smali method body
    smali_method_type Enum8('USER'=1, 'LIBRARY'=2, 'UNKNOWN'=5) DEFAULT 'UNKNOWN',
    smali_instructions_count UInt32,
    smali_register_count UInt16,
    smali_has_string_encryption UInt8 DEFAULT 0,
    smali_has_reflection_calls UInt8 DEFAULT 0,
    smali_excessive_goto_count UInt8 DEFAULT 0,
    smali_flattened_score Float64 DEFAULT 0.0,       -- Control flow flattening score (0.01.0)
    smali_mba_score Float64 DEFAULT 0.0,             -- Mixed boolean-arithmetic score (0.01.0)
    analysis_date DateTime64(3, 'UTC'),

    INDEX idx_smali_ngram smali_method TYPE ngrambf_v1(3, 32768, 3, 0) GRANULARITY 1,
    INDEX idx_smali_method_type smali_method_type TYPE set(3) GRANULARITY 1,
    INDEX idx_smali_instr_count smali_instructions_count TYPE minmax GRANULARITY 4,
    INDEX idx_smali_reg_count smali_register_count TYPE minmax GRANULARITY 4,
    INDEX idx_smali_flattened smali_flattened_score TYPE minmax GRANULARITY 4,
    INDEX idx_smali_mba smali_mba_score TYPE minmax GRANULARITY 4
) ENGINE = ReplacingMergeTree(analysis_date)
ORDER BY smali_method_hash;
```

## Table 4: `code_apk_smali_methods_references`

**Analog:** `code_binja_disassembled_functions_references`

```sql
CREATE TABLE IF NOT EXISTS code_apk_smali_methods_references (
    sha256 FixedString(64),
    smali_method_hash FixedString(64),
    decompiled_method_hash Nullable(FixedString(64)),
    smali_class_name LowCardinality(String),
    smali_method_name LowCardinality(String),
    smali_method_signature String,
    analysis_date DateTime64(3, 'UTC'),

    INDEX idx_smali_class_name smali_class_name TYPE tokenbf_v1(32768, 3, 0) GRANULARITY 1,
    INDEX idx_smali_method_name smali_method_name TYPE tokenbf_v1(32768, 3, 0) GRANULARITY 1
) ENGINE = ReplacingMergeTree(analysis_date)
ORDER BY (sha256, smali_method_hash);
```

## Table 5: `code_apk_method_similarity_metrics`

**Analog:** `code_binja_function_similarity_metrics`

Content-based fuzzy matching table. Structural/CFG scalars (block_count, edge_count, etc.)
are in `code_apk_cfg_methods` (Table 6) — this table holds only fuzzy hashes and MinHash.

```sql
CREATE TABLE IF NOT EXISTS code_apk_method_similarity_metrics (
    smali_method_hash FixedString(64),
    -- Raw smali fuzzy hashes (analog: ssdeep_disassembly / tlsh_disassembly)
    ssdeep_smali Nullable(String),
    tlsh_smali Nullable(FixedString(72)),
    -- Semantically normalized smali fuzzy hashes (analog: ssdeep_llil / tlsh_llil)
    ssdeep_smali_normalized Nullable(String),
    tlsh_smali_normalized Nullable(FixedString(72)),
    minhash Array(UInt8),
    analysis_date DateTime64(3, 'UTC'),

    INDEX idx_ssdeep ssdeep_smali TYPE bloom_filter GRANULARITY 1,
    INDEX idx_tlsh tlsh_smali TYPE bloom_filter GRANULARITY 1,
    INDEX idx_ssdeep_norm ssdeep_smali_normalized TYPE bloom_filter GRANULARITY 1,
    INDEX idx_tlsh_norm tlsh_smali_normalized TYPE bloom_filter GRANULARITY 1
) ENGINE = ReplacingMergeTree(analysis_date)
ORDER BY smali_method_hash;
```

## Table 6: `code_apk_cfg_methods`

**Analog:** `code_binja_cfg_functions` (see `db_migration/cfg_functions_ddl.sql`)

Structural and topological features computed from smali CFG. All fields mirror
the Binja table with APK-appropriate naming.

```sql
CREATE TABLE IF NOT EXISTS code_apk_cfg_methods (
    -- Identity
    smali_method_hash FixedString(64),

    -- Tier 0: Exact structural match
    cfg_topology_hash FixedString(16),

    -- Tier 1: Structural pre-filtering
    block_count UInt16,
    edge_count UInt16,
    cfg_instructions_count UInt32,            -- Dalvik instruction count (analog: llil_total_operations)
    call_count UInt16,
    cyclomatic_complexity UInt16,
    loop_count UInt16,
    max_depth UInt16,
    max_fan_out UInt16,
    md_index_topdown UInt64,
    md_index_bottomup UInt64,
    prime_product_smali UInt64,              -- Dalvik semantic primes (analog: prime_product_llil)

    -- Tier 2: Fuzzy matching
    cfg_feature_tlsh Nullable(FixedString(72)),
    wl_minhash Array(UInt8),

    -- Embedding-ready storage
    bb_features Array(Array(UInt16)),        -- ACFG block feature vectors
    cfg_adjacency Array(UInt32),             -- Packed (src << 16 | tgt)

    analysis_date DateTime64(3, 'UTC'),

    -- Indexes
    INDEX idx_topology cfg_topology_hash TYPE bloom_filter GRANULARITY 1,
    INDEX idx_complexity cyclomatic_complexity TYPE minmax GRANULARITY 4,
    INDEX idx_block_count block_count TYPE minmax GRANULARITY 4,
    INDEX idx_edge_count edge_count TYPE minmax GRANULARITY 4,
    INDEX idx_call_count call_count TYPE minmax GRANULARITY 4,
    INDEX idx_cfg_instr_count cfg_instructions_count TYPE minmax GRANULARITY 4,
    INDEX idx_loop_count loop_count TYPE minmax GRANULARITY 4,
    INDEX idx_max_depth max_depth TYPE minmax GRANULARITY 4,
    INDEX idx_max_fan_out max_fan_out TYPE minmax GRANULARITY 4,
    INDEX idx_md_topdown md_index_topdown TYPE minmax GRANULARITY 4,
    INDEX idx_md_bottomup md_index_bottomup TYPE minmax GRANULARITY 4,
    INDEX idx_prime prime_product_smali TYPE bloom_filter GRANULARITY 1,
    INDEX idx_cfg_tlsh cfg_feature_tlsh TYPE bloom_filter GRANULARITY 1
) ENGINE = ReplacingMergeTree(analysis_date)
ORDER BY smali_method_hash;
```

**Column mapping (APK → Binja):**

| APK column | Binja column | Notes |
|------------|-------------|-------|
| `smali_method_hash` | `disassembled_function_hash` | Both SHA-256 of normalized code |
| `cfg_instructions_count` | `llil_total_operations` | Dalvik instructions vs LLIL operations |
| `prime_product_smali` | `prime_product_llil` | Same prime algorithm, Dalvik semantic categories |
| All others | Same name | Identical algorithms from shared `cfg_features.py` |

## Table 7: `code_binja_strings_raw` (shared)

APK strings are inserted into the existing `code_binja_strings_raw` Null-engine table,
which feeds materialized views (`code_binja_strings_by_binary`, `mv_string_popularity_public`).
This enables cross-format string correlation between PE/ELF/Mach-O/APK samples.

No new table creation needed — see `docs/new-code-binja-schema.md` for the existing DDL.

## Table 8: `code_apk_analysis_errors`

**Analog:** `function_analysis_errors_binja`

```sql
CREATE TABLE IF NOT EXISTS code_apk_analysis_errors (
    sha256 FixedString(64),
    class_name Nullable(String) CODEC(ZSTD(3)),
    method_name Nullable(String) CODEC(ZSTD(3)),
    error_location LowCardinality(String) CODEC(ZSTD(3)),   -- 'jadx', 'apktool', 'androguard', 'analysis'
    error_message Nullable(String) CODEC(ZSTD(3)),
    error_type Nullable(String) CODEC(ZSTD(3)),
    error_hash FixedString(32),                               -- MD5 for dedup
    status Enum8('new' = 1, 'investigating' = 2, 'fixed' = 3, 'wontfix' = 4) DEFAULT 'new',
    analysis_date DateTime64(3, 'UTC')
) ENGINE = MergeTree()
ORDER BY (sha256, error_location, error_hash);
```