1 2 3 4 5 ··· 7 下一页
摘要: 注册回调 LocationListener,listener 被封装在 receiver 中 @Override public void requestLocationUpdates(LocationRequest request, ILocationListener listener, Pendi 阅读全文
posted @ 2025-09-17 13:04 梦过无声 阅读(25) 评论(0) 推荐(0)
摘要: EventHub // frameworks/native/services/inputflinger/EventHub.cpp status_t EventHub::openDeviceLocked(const char* devicePath) { ... // Get device name. 阅读全文
posted @ 2025-09-03 19:00 梦过无声 阅读(36) 评论(0) 推荐(0)
摘要: 检查rc文件是否存在 static constexpr const char* CGROUPS_RC_PATH = "/dev/cgroup_info/cgroup.rc"; if (access(CGROUPS_RC_PATH, F_OK) == 0) { LOG(WARNING) << "Att 阅读全文
posted @ 2025-06-18 15:12 梦过无声 阅读(189) 评论(0) 推荐(0)
摘要: 官方示意图 * Following is class diagram for uicc classes: * * UiccController * # * | * UiccSlot[] * # * | * UiccCard * # * | * UiccProfile * # # * | * Uicc 阅读全文
posted @ 2025-01-14 15:21 梦过无声 阅读(56) 评论(0) 推荐(0)
摘要: 设置属性 // frameworks/base/core/java/android/os/SystemProperties.java native_set(String key, String def); // frameworks/base/core/jni/android_os_SystemPr 阅读全文
posted @ 2024-06-25 10:36 梦过无声 阅读(117) 评论(0) 推荐(0)
摘要: Xposed XposedBridge hook模板 public static XC_MethodHook.Unhook findAndHookMethod(Class<?> clazz, String methodName, Object... parameterTypesAndCallback 阅读全文
posted @ 2024-06-24 18:42 梦过无声 阅读(512) 评论(0) 推荐(0)
摘要: 参考 lsposed运行流程分析 riru 通过修改系统属性ro.dalvik.vm.native.bridge将libriruloader.so注入到zygote进程中 zygote会执行LoadNativeBridge函数, LoadNativeBridge函数会根据属性ro.dalvik.vm 阅读全文
posted @ 2024-06-21 18:52 梦过无声 阅读(548) 评论(0) 推荐(0)
摘要: Frida Gadget 方案 Frida Gadget 配置文件 { "interaction": { "type": "script-directory", "path": "/usr/local/frida/scripts" } } 网络方式 { "interaction": { "type" 阅读全文
posted @ 2024-05-24 13:54 梦过无声 阅读(667) 评论(0) 推荐(0)
摘要: 五种预编译选项 var prebuiltTypes = map[string]string{ "SHARED_LIBRARIES": "cc_prebuilt_library_shared", "STATIC_LIBRARIES": "cc_prebuilt_library_static", "EX 阅读全文
posted @ 2024-05-24 13:23 梦过无声 阅读(176) 评论(0) 推荐(0)
摘要: #include <stdio.h> #include <stdlib.h> #include <sys/ptrace.h> #include <stdint.h> #include <errno.h> #include <sys/wait.h> int main(int argc, char* a 阅读全文
posted @ 2024-05-18 23:40 梦过无声 阅读(155) 评论(0) 推荐(0)
1 2 3 4 5 ··· 7 下一页