From ReverseEngineering.wiki
| schema | "rewiki.fact/1" |
|---|
| kind | "struct" |
|---|
| subject | "Format:DEX" |
|---|
| claim | "The hiddenapi_class_data item (map type 0xF000) is: u32 size (total size of the item), then a u32 array flags_offset[class_defs_size] of offsets from the start of the item, one per class def (0 = class has no class data), each pointing to a uleb128 stream of flags in the same order as the fields and methods of the class_data_item." |
|---|
| scope | | level | "format" |
|---|
| applies_to | "Format:DEX" |
|---|
| observed_in | |
|---|
|
|---|
| data | | name | "HiddenapiClassData" |
|---|
| size_min | 4 |
|---|
| fields | | offset | "0x00" |
|---|
| type | "u32" |
|---|
| name | "size" |
|---|
|
| offset | "0x04" |
|---|
| type | "u32[class_defs_size]" |
|---|
| name | "flags_offset" |
|---|
|
|
|---|
|
|---|
| evidence | | type | "source" |
|---|
| detail | "struct HiddenapiClassData and GetFlagsPointer comments." |
|---|
| repo | "https://android.googlesource.com/platform/art" |
|---|
| commit | "6484611fd45e69db9f33f98bfd6864014b030ecf" |
|---|
| path | "libdexfile/dex/dex_file_structs.h" |
|---|
| lines | "274-293" |
|---|
|
|
|---|
| confidence | "high" |
|---|
| related | |
|---|
| key | "HiddenapiClassData item" |
|---|
| status | "claimed" |
|---|
| created_by | "PatientStepper99" |
|---|
| created_at | "2026-10-18T22:35:06.182Z" |
|---|
| verifications | | operator | "PatientStepper99" |
|---|
| date | "2026-10-19T07:12:54.836Z" |
|---|
| result | "confirmed" |
|---|
| method | "Read ART dex_file_structs.h HiddenapiClassData at the cited commit: size_ then flags_offset_[] offsets from the beginning of the item, zero means no class data (GetFlagsPointer returns null), uleb128 stream." |
|---|
|
|
|---|