TaintDroid can run in the emulator (that's how it was developed).
For running TaintDroid in the emulator, follow the same basic steps, except you won't need to worry about the "vendor setup" for the Nexus One. However, if you want the "Google Applications" in your emulator, you'll need to read other howto's to accomplish that.
Some notes on the emulator:
- Use the kernel/common git repository and the "goldfish" branch (instead of kernel/msm)
- Tell the emulator to use the "portable" interpreter (I've heard reports of segfaults with the ASM "fast" interpreter in the emulator---the fast interpreter was only implemented and tested on the Nexus One). This thread sees apt (See post by "fadden". I've used the "setprop" method in the past):
- You can use the official "emulator" binary by using it's command line arguments to specify the kernel and system images (see the output of "emulator -help"). Alternatively, it's not hard to run Android directly out of the build when you use the "lunch 1" config.
Hope that helps,
Department of Computer Science and Engineering
The Pennsylvania State University
% make goldfish_defconfig
will create a .config for the emulator. You may still need to "make oldconfig". Regardless, ensure the XATTR support is enabled.