add platform list of platform api
This commit is contained in:
parent
3cc02a3292
commit
1f2de8b60d
15 changed files with 654199 additions and 11 deletions
20
androscalpel_platform_api_list/src/lib.rs
Normal file
20
androscalpel_platform_api_list/src/lib.rs
Normal 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)
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue