【Android安全】dex文件结构

参见:
https://blog.csdn.net/feelabclihu/article/details/124762847
https://blog.51cto.com/qinxiu/4996955

记住方法代码段的位置:
struct class_def_item_list dex_class_defs 数组

struct class_def_item class_def[0] 元素中的

uint class_data_off 成员变量所指向的
struct class_data_item class_data 结构体中的

struct encoded_method_list direct_methods 和 struct encoded_method_list virtual_methods 数组中的

struct encoded_method method[0] 元素中的

struct uleb128 code_off 成员变量 所指向的dex文件偏移处

猜你喜欢

转载自blog.csdn.net/qq_39441603/article/details/131988634