Comments (9)
Hi,
it's possible to modify a class file with androguard, but not yet a dex file
(it's in my todo list, but not at the top :))
So if you would like to contribute to this feature, it will be cool :)
Original comment by [email protected]
on 24 Oct 2011 at 12:01
- Changed state: Accepted
from androguard.
Thanks for the reply! I've cloned your project and tried to add the .dex
modification support to .dvm. But as I do not have experience in reversing
.dex, one problem is that I am kind of lost in the code :(. I've found the doc,
which shows me a nice hierarchy of the code, and the inline comments are pretty
helpful. And it will be very great if there is some other documents, such as
notes about the basic functionality of each class, and the basic workflow. :)
Original comment by breaddawson
on 28 Oct 2011 at 12:03
from androguard.
The code follow the dex documentation, so I think you must read the
documentation of the format :)
Original comment by [email protected]
on 28 Oct 2011 at 7:21
from androguard.
Sure. I was reading the code together with one document about dex file format.
Hopefully I'll get into it quickly. :) Other than the body of the method
itself, there is also index field as well as metadata, such as method index,
local variable size, etc. So I guess I need to modify both the method body and
these metadata at the same time to make it a valid .dex, right?
Original comment by breaddawson
on 28 Oct 2011 at 4:45
from androguard.
Yes I think you must modify all variables which depends of the size of the
method. And also you must modify the CFG.
Original comment by [email protected]
on 28 Oct 2011 at 7:03
from androguard.
Hi,
news ?:)
Original comment by [email protected]
on 8 Nov 2011 at 11:16
from androguard.
So sorry to say that there is little progress. I am now trying to modify the
Dalvik interpreter to do the instrumentation. :)
Original comment by breaddawson
on 12 Nov 2011 at 11:59
from androguard.
Original comment by [email protected]
on 15 Nov 2011 at 6:12
- Added labels: Type-Enhancement, Priority-Low
- Removed labels: Type-Defect, Priority-Medium
from androguard.
Original comment by [email protected]
on 3 Feb 2012 at 6:19
- Changed state: WontFix
from androguard.
Related Issues (20)
- Androdd filename bug
- test_analysis_offset.py can't run HOT 2
- Problem with DalvikFormat save()
- "TypeError: exceptions must be old-style classes or derived from BaseException, not str " when running androdd.py HOT 1
- get_main_activity() HOT 1
- Exceptions must be old-style classes (androcsign)
- Patch for /androlyze.py
- AndroidManifest.xml is not well formatted in OBAD Malware
- DAD error when tryiong to decompile SMForw malware class
- androaxml error "not well-formed (invalid token)"
- Renaming methods with prototype in their name does not update the python exports
- Renaming a method, then the class make all the methods have the same name
- suggestion: add Modification of DEX file to the wiki RE
- Is there any API can be used for building a data-dependence-graph for one method?
- Error in decoding byte array into utf-8 and utf-16 strings
- AttributeError: 'NoneType' object has no attribute 'set_attributes' HOT 1
- dad does not decompile correctly interface HOT 1
- string of length 0 found in BadNews Malware sample
- Incorrect Sign Conversion for readsleb128
- androsign.py Segmentation Fault HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from androguard.