home

=SYSCOP -= Hello, welcome to the SYSCOP wiki page. Here we have uploaded our code and several other resources that you can refer to regarding our project.

Project Description -
SYSCOP is a ptrace-driven applications' profiler for android that is capable to tracing and modifying system calls and parameters to trace what an application is doing within Dalvik. The idea here is to create an out-of VM view of Dalvik to monitor processes within it.

Resources -
Below are some sample tutorials and other resources that we found helpful during the implementation of our project - 1. A man page for ptrace. http://linux.die.net/man/2/ptrace

2. A very useful set of tutorials describing all the functionalities of ptrace. Keep in mind that these tutorials will not directly work on Android, but with some modification to the code, you can still use it with Linux. http://www.linuxjournal.com/article/6100?page=0,2 http://www.linuxjournal.com/article/6210

3. A few interesting forum discussions about the usage of ptrace. If you're having problems with implementing ptrace, you would probably want to look here. http://forums.devshed.com/c-programming-42/ptrace-problems-91206.html http://www.unix.com/man-page/FreeBSD/2/ptrace/ http://kerneltrap.org/node/5644

4. An interesting challenge that we came across while developing this program was to find a way to fork Dalvik from within our program itself instead of attaching to it like we are doing right now. Although we discarded this approach due to the complexity involved, here are some resources we came across during our attempt. http://groups.google.com/group/android-platform/browse_thread/thread/eb4aea60cfe22594?fwc=1 http://groups.google.com/group/android-porting/msg/d6d21a66443d2758 http://davanum.wordpress.com/2007/12/04/command-line-java-on-dalvikvm/

5. Last but not least, how do we get it running on the phone? To begin with, you will need to root your phone. We're sure that other groups have already put up useful links to do this, but we put it up for reference anyways. http://developer.android.com/guide/developing/device.html http://wiki.cyanogenmod.com/index.php/Full_Update_Guide_-_Nexus_One_Firmware_to_CyanogenMod http://wiki.cyanogenmod.com/index.php/Install_the_Latest_Android_sdk#Ubuntu:_Android_SDK.2C_ADB.2C_Fastboot.

Below is a link to our code -

For questions, please feel free to contact us- vivekrao1985@gmail.com prasadhirekerur@gmail.com