add platform list of platform api

This commit is contained in:
Jean-Marie 'Histausse' Mineau 2025-04-22 10:40:24 +02:00
parent 3cc02a3292
commit 1f2de8b60d
Signed by: histausse
GPG key ID: B66AEEDA9B645AD2
15 changed files with 654199 additions and 11 deletions

View file

@ -0,0 +1,20 @@
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)
}