androscalpel/androscalpel_platform_api_list/src/lib.rs

20 lines
547 B
Rust

pub mod sdk34;
pub use sdk34::*;
// TODO: automate addign a new SDK
// TODO: different version with different features
/// Test if the class is part of the platform classes.
pub fn is_platform_class(smali: &str) -> bool {
is_sdk34_platform_class(smali)
}
/// Test if the field is part of the platform classes.
pub fn is_platform_field(smali: &str) -> bool {
is_sdk34_platform_field(smali)
}
/// Test if the method is part of the platform classes.
pub fn is_platform_method(smali: &str) -> bool {
is_sdk34_platform_method(smali)
}