[原创]某东 app 逆向分析 unidbg 算法模拟 | 宜武汇-ag真人国际厅网站

@override

public dvmobject getstaticobjectfield(basevm vm, dvmclass dvmclass, string signature) {

    switch (signature) {

        case "android/content/context->telephony_service:ljava/lang/string;":

            return new stringobject(vm, systemservice.telephony_service);

        case "android/content/context->wifi_service:ljava/lang/string;":

            return new stringobject(vm, systemservice.wifi_service);

        case "android/content/context->connectivity_service:ljava/lang/string;":

            return new stringobject(vm, systemservice.connectivity_service);

        case "android/content/context->accessibility_service:ljava/lang/string;":

            return new stringobject(vm, systemservice.accessibility_service);

        case "android/content/context->keyguard_service:ljava/lang/string;":

            return new stringobject(vm, systemservice.keyguard_service);

        case "android/content/context->activity_service:ljava/lang/string;":

            return new stringobject(vm, systemservice.activity_service);

        case "android/content/context->location_service:ljava/lang/string;":

            return new stringobject(vm, systemservice.location_service);

        case "android/content/context->window_service:ljava/lang/string;":

            return new stringobject(vm, systemservice.window_service);

        case "android/content/context->sensor_service:ljava/lang/string;":

            return new stringobject(vm, systemservice.sensor_service);

        case "android/content/context->ui_mode_service:ljava/lang/string;":

            return new stringobject(vm, systemservice.ui_mode_service);

        case "android/content/context->display_service:ljava/lang/string;":

            return new stringobject(vm, systemservice.display_service);

        case "android/content/context->audio_service:ljava/lang/string;":

            return new stringobject(vm, systemservice.audio_service);

        case "java/lang/void->type:ljava/lang/class;":

            return vm.resolveclass("java/lang/void");

        case "java/lang/boolean->type:ljava/lang/class;":

            return vm.resolveclass("java/lang/boolean");

        case "java/lang/byte->type:ljava/lang/class;":

            return vm.resolveclass("java/lang/byte");

        case "java/lang/character->type:ljava/lang/class;":

            return vm.resolveclass("java/lang/character");

        case "java/lang/short->type:ljava/lang/class;":

            return vm.resolveclass("java/lang/short");

        case "java/lang/integer->type:ljava/lang/class;":

            return vm.resolveclass("java/lang/integer");

        case "java/lang/long->type:ljava/lang/class;":

            return vm.resolveclass("java/lang/long");

        case "java/lang/float->type:ljava/lang/class;":

            return vm.resolveclass("java/lang/float");

        case "java/lang/double->type:ljava/lang/class;":

            return vm.resolveclass("java/lang/double");

    }

 

    throw new unsupportedoperationexception(signature);

原文链接:https://bbs.kanxue.com/thread-276430.htm

网络摘文,本文作者:15h,如若转载,请注明出处:https://www.15cov.cn/2023/08/27/原创某东-app-逆向分析-unidbg-算法模拟/

发表评论

邮箱地址不会被公开。 必填项已用*标注

网站地图