[panda-users] about linux_vmi DroidScope panda_plugin

Manolis Stamatogiannakis mstamat at gmail.com
Tue Apr 28 00:28:22 EDT 2015


You have to generate a kernelinfo for arm from the kernel you are using.
Or try to acquire the offsets in kernelinfo elsewhere.

See Joshua's email on asidstory thread.

M.

2015-04-27 20:27 GMT-07:00 xiaojuan Li <xiaotan6666 at gmail.com>:

> ok, and it seems just for linux, if I want to use it for android arm, i
> should use the arm-kernelinfo.conf, right?
>
> 2015-04-28 11:23 GMT+08:00 xiaojuan Li <xiaotan6666 at gmail.com>:
>
>> Thanks for your patience very much!
>> I will follow it to try!
>>
>> 2015-04-28 11:17 GMT+08:00 Manolis Stamatogiannakis <mstamat at gmail.com>:
>>
>>> You have to use it together with the osi plugin. osi plugin defines a
>>> ppp api for introspection (listing processes and such) and osi_linux
>>> implement that plugin.
>>>
>>> You can check osi_test for a usage example:
>>> https://github.com/moyix/panda/tree/master/qemu/panda_plugins/osi_test
>>> The ppp documentation may also be of help:
>>> https://github.com/moyix/panda/blob/master/docs/ppp.md
>>>
>>> Cheers,
>>> Manolis
>>>
>>>
>>> 2015-04-27 20:05 GMT-07:00 xiaojuan Li <xiaotan6666 at gmail.com>:
>>>
>>> thanks for your reply!
>>>> and how can I use the osi_linux plugin to get the process?
>>>> could you give some instructions?
>>>> I am just reading this code and try to understand it.
>>>> Thanks a lot!
>>>>
>>>>
>>>> 2015-04-28 10:43 GMT+08:00 Manolis Stamatogiannakis <mstamat at gmail.com>
>>>> :
>>>>
>>>>> I can confirm it not working for x86. I've struggled with it for
>>>>> several weeks, but in the end I gave up and wrote osi_linux from scratch.
>>>>>
>>>>> If you're interested in arm, then I don't know.
>>>>>
>>>>> Cheers,
>>>>> M.
>>>>>
>>>>>
>>>>> 2015-04-27 6:36 GMT-07:00 xiaojuan Li <xiaotan6666 at gmail.com>:
>>>>>
>>>>>> can anyone use linux_vmi plugin smoothly?
>>>>>> Thanks!
>>>>>>
>>>>>> 2015-04-27 6:44 GMT-04:00 xiaojuan Li <xiaotan6666 at gmail.com>:
>>>>>>
>>>>>> and the .so is linux_vmi.so, after i load this plugin, "help" in qemu
>>>>>>> monitor, it should show some options as the DroidScope has(eg, ps, pm etc.)
>>>>>>> but it doesn't.
>>>>>>> and how can I use the linux_vmi plugin to trace?
>>>>>>> Thanks a lot!
>>>>>>>
>>>>>>> 2015-04-27 6:03 GMT-04:00 xiaojuan Li <xiaotan6666 at gmail.com>:
>>>>>>>
>>>>>>> i have found where the problem is--------:should be in the configure
>>>>>>>> file
>>>>>>>>
>>>>>>>> [image: 内嵌图片 1]
>>>>>>>>
>>>>>>>> there should be a blank line between "fi" and "symlink".
>>>>>>>> and then i can get the .o and .so file.
>>>>>>>>
>>>>>>>> 2015-04-27 4:38 GMT-04:00 xiaojuan Li <xiaotan6666 at gmail.com>:
>>>>>>>>
>>>>>>>> Hi,
>>>>>>>>> May disturb again,but i have a question about linux_vmi DroidScope
>>>>>>>>> plugin:
>>>>>>>>> i find that makefile inside the /qemu/panda_plugins/linux_vmi
>>>>>>>>> seems not be used, there is no relating .so file in the target dir.
>>>>>>>>> Thanks!
>>>>>>>>>
>>>>>>>>> --
>>>>>>>>> wait and hope~~
>>>>>>>>>
>>>>>>>>
>>>>>>>>
>>>>>>>>
>>>>>>>> --
>>>>>>>> wait and hope~~
>>>>>>>>
>>>>>>>
>>>>>>>
>>>>>>>
>>>>>>> --
>>>>>>> wait and hope~~
>>>>>>>
>>>>>>
>>>>>>
>>>>>>
>>>>>> --
>>>>>> wait and hope~~
>>>>>>
>>>>>> _______________________________________________
>>>>>> panda-users mailing list
>>>>>> panda-users at mit.edu
>>>>>> http://mailman.mit.edu/mailman/listinfo/panda-users
>>>>>>
>>>>>>
>>>>>
>>>>
>>>>
>>>> --
>>>> wait and hope~~
>>>>
>>>
>>>
>>
>>
>> --
>> wait and hope~~
>>
>
>
>
> --
> wait and hope~~
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mailman.mit.edu/pipermail/panda-users/attachments/20150427/1b22ea53/attachment-0001.htm
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 427272772.png
Type: image/png
Size: 41126 bytes
Desc: not available
Url : http://mailman.mit.edu/pipermail/panda-users/attachments/20150427/1b22ea53/attachment-0001.png


More information about the panda-users mailing list