well, that's fubar

This commit is contained in:
Jean-Marie Mineau 2025-05-12 15:32:39 +02:00
parent e9f28419c9
commit 5e25541da0
Signed by: histausse
GPG key ID: B66AEEDA9B645AD2
9 changed files with 487 additions and 94 deletions

View file

@ -8,7 +8,7 @@ use androscalpel::{Apk, Class, IdType};
use androscalpel::SmaliName;
use patcher::{
code_loading_patcher::{CodePatchingStrategy, insert_code},
code_loading_patcher::{insert_code, CodePatchingStrategy},
labeling,
reflection_patcher::transform_method,
runtime_data::RuntimeData, // ReflectionInvokeData, ReflectionClassNewInstData, ReflectionCnstrNewInstData,
@ -48,6 +48,7 @@ fn main() {
.read_to_string(&mut json)
.unwrap();
let mut rt_data: RuntimeData = serde_json::from_str(&json).unwrap();
rt_data.dedup();
// Dynamic Loading
insert_code(cli.code_loading_patch_strategy, &mut apk, &mut rt_data).unwrap();