refactoring

This commit is contained in:
Jean-Marie Mineau 2025-03-11 11:32:53 +01:00
parent 95601d2dbe
commit b476d04b78
Signed by: histausse
GPG key ID: B66AEEDA9B645AD2
8 changed files with 1542 additions and 1514 deletions

View file

@ -7,8 +7,8 @@ use androscalpel::Apk;
use patcher::{
labeling,
transform_method,
ReflectionData, // ReflectionInvokeData, ReflectionClassNewInstData, ReflectionCnstrNewInstData,
reflection_patcher::transform_method,
runtime_data::RuntimeData, // ReflectionInvokeData, ReflectionClassNewInstData, ReflectionCnstrNewInstData,
};
use clap::Parser;
@ -40,9 +40,9 @@ fn main() {
.unwrap()
.read_to_string(&mut json)
.unwrap();
let reflection_data: ReflectionData = serde_json::from_str(&json).unwrap();
let reflection_data: RuntimeData = serde_json::from_str(&json).unwrap();
/*
let reflection_data = ReflectionData {
let reflection_data = RuntimeData {
invoke_data: vec![
ReflectionInvokeData {
method: IdMethod::from_smali(