romangol / indroid Goto Github PK
View Code? Open in Web Editor NEWDalvik vm Instrumentation OS
Dalvik vm Instrumentation OS
你好。
最近在研究你的Indroid,也拜读了论文《An Automated Online Analysis Framework for Android》,论文上说,在4.0.x, 4.1.x和4.2.x都可以编译成功。我在4.0.4和4.2.2上尝试了一下,发现都不能成功。
我首先使用的使用4.0.4的源码,将Indroid中的源码替换过去,然后使用
make -j4 livdvm 进行编译,发现有的文件不存在,我查看了一下,发现4.2中的源码中存在,所以使用4.2.2在尝试一下。下载整个4.2.2的源码中之后,不编译整个系统,直接编译libdvm。
使用 make -j4 libdvm
又发现了新的问题。
报错如下:
dalvik/vm/mterp/out/InterpC-portable.cpp: In function 'void dvmInterpretPortable(Thread*)':
dalvik/vm/mterp/out/InterpC-portable.cpp:3313:1: error: array subscript is above array bounds [-Werror=array-bounds]
dalvik/vm/mterp/out/InterpC-portable.cpp:3325:1: error: array subscript is above array bounds [-Werror=array-bounds]
target arm C++: libdvm <= dalvik/vm/mterp/out/InterpC-armv7-a.cpp
target thumb C++: libdvm <= dalvik/vm/AllocTracker.cpp
target thumb C++: libdvm <= dalvik/vm/AtomicCache.cpp
cc1plus: all warnings being treated as errors
请问我该使用那个版本?
我的系统:Ubuntu 12.04 64位 gcc 4.4.7 jdk:1.6.0
你好!最近在看你这个的源码,看到indroid的那个ppt上面说有dex文件重组和修复,但是源码中好像没看到,请问具体在什么位置?
/root/dpan/android422/prebuilts/gcc/linux-x86/arm/arm-linux-androideabi-4.6/bin/../lib/gcc/arm-linux-androideabi/4.6.x-google/../../../../arm-linux-androideabi/bin/ld: out/target/product/mako/obj/SHARED_LIBRARIES/libdvm_intermediates/indroid/Probe.o: in function diaos_init:dalvik/vm/indroid/Probe.cpp:75: error: undefined reference to 'gossip_loccs::FuncTracer::init(std::basic_string<char, std::char_traits, std::allocator > const&)'
/root/dpan/android422/prebuilts/gcc/linux-x86/arm/arm-linux-androideabi-4.6/bin/../lib/gcc/arm-linux-androideabi/4.6.x-google/../../../../arm-linux-androideabi/bin/ld: out/target/product/mako/obj/SHARED_LIBRARIES/libdvm_intermediates/indroid/Probe.o: in function diaos_init:dalvik/vm/indroid/Probe.cpp:76: error: undefined reference to 'gossip_loccs::ObjTracer::init(std::basic_string<char, std::char_traits, std::allocator > const&)'
/root/dpan/android422/prebuilts/gcc/linux-x86/arm/arm-linux-androideabi-4.6/bin/../lib/gcc/arm-linux-androideabi/4.6.x-google/../../../../arm-linux-androideabi/bin/ld: out/target/product/mako/obj/SHARED_LIBRARIES/libdvm_intermediates/indroid/Probe.o: in function diaos_init:dalvik/vm/indroid/Probe.cpp:77: error: undefined reference to 'gossip_loccs::PaReTracer::init()'
/root/dpan/android422/prebuilts/gcc/linux-x86/arm/arm-linux-androideabi-4.6/bin/../lib/gcc/arm-linux-androideabi/4.6.x-google/../../../../arm-linux-androideabi/bin/ld: out/target/product/mako/obj/SHARED_LIBRARIES/libdvm_intermediates/indroid/Probe.o: in function diaos_monitor_func_call:dalvik/vm/indroid/Probe.cpp:107: error: undefined reference to 'gossip_loccs::FuncTracer::record_func(Method const_, unsigned int)'
/root/dpan/android422/prebuilts/gcc/linux-x86/arm/arm-linux-androideabi-4.6/bin/../lib/gcc/arm-linux-androideabi/4.6.x-google/../../../../arm-linux-androideabi/bin/ld: out/target/product/mako/obj/SHARED_LIBRARIES/libdvm_intermediates/indroid/Probe.o: in function diaos_monitor_object:dalvik/vm/indroid/Probe.cpp:120: error: undefined reference to 'gossip_loccs::ObjTracer::record_obj(Object_)'
/root/dpan/android422/prebuilts/gcc/linux-x86/arm/arm-linux-androideabi-4.6/bin/../lib/gcc/arm-linux-androideabi/4.6.x-google/../../../../arm-linux-androideabi/bin/ld: out/target/product/mako/obj/SHARED_LIBRARIES/libdvm_intermediates/indroid/Probe.o: in function diaos_monitor_parameter:dalvik/vm/indroid/Probe.cpp:128: error: undefined reference to 'gossip_loccs::FuncTracer::record_func(Method const*, unsigned int)'
你好:
最近使用了你的Indroid,在4.2.2 环境上按4.2.2源码编译成功,也可以使用,我自己添加了class.dlist、flag.dlist、method.dlist、unpack.dlist,但是没有生成dexdumpOut.txt文件,请问是什么原因?是我自己的配置问题还是此源码不能生成dexdumpOut.txt文件?
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.