JesusFreke@JesusFreke.com
b99bf47d67
added getParent() method for CodeItem
...
git-svn-id: https://smali.googlecode.com/svn/trunk@374 55b6fa8a-2a1e-11de-a435-ffa8d773f76a
2009-08-08 21:29:02 +00:00
JesusFreke@JesusFreke.com
149225a27f
Set the Bytes attribute multiple times, instead of using an array of bytes
...
git-svn-id: https://smali.googlecode.com/svn/trunk@373 55b6fa8a-2a1e-11de-a435-ffa8d773f76a
2009-08-08 21:14:37 +00:00
JesusFreke@JesusFreke.com
fdf48625bb
Refactor instruction 35c to set the Registers attribute multiple times, instead of setting it to an array
...
git-svn-id: https://smali.googlecode.com/svn/trunk@372 55b6fa8a-2a1e-11de-a435-ffa8d773f76a
2009-08-07 07:06:47 +00:00
JesusFreke@JesusFreke.com
7885a819a0
refactor ClassDefinition to use template attributes instead of object parameters
...
git-svn-id: https://smali.googlecode.com/svn/trunk@371 55b6fa8a-2a1e-11de-a435-ffa8d773f76a
2009-08-07 06:48:37 +00:00
JesusFreke@JesusFreke.com
fa7e91bff2
refactor the references to use template attributes instead of object parameters
...
git-svn-id: https://smali.googlecode.com/svn/trunk@370 55b6fa8a-2a1e-11de-a435-ffa8d773f76a
2009-08-06 07:15:50 +00:00
JesusFreke@JesusFreke.com
bc2e69f5b2
add check for null parameters value in calcHashcode()
...
git-svn-id: https://smali.googlecode.com/svn/trunk@369 55b6fa8a-2a1e-11de-a435-ffa8d773f76a
2009-08-06 06:47:52 +00:00
JesusFreke@JesusFreke.com
a3cf936fc2
refactor all the encoded value stuff to use template attributes instead of object properties
...
git-svn-id: https://smali.googlecode.com/svn/trunk@368 55b6fa8a-2a1e-11de-a435-ffa8d773f76a
2009-08-06 06:47:07 +00:00
JesusFreke@JesusFreke.com
cc32387e75
Fix for filled array pseudo instruction
...
git-svn-id: https://smali.googlecode.com/svn/trunk@367 55b6fa8a-2a1e-11de-a435-ffa8d773f76a
2009-08-06 05:22:20 +00:00
JesusFreke@JesusFreke.com
7ab77bc90b
Refactoring baksmali so that the template attributes are passed in, instead of relying on reflection to get attributes from an object
...
git-svn-id: https://smali.googlecode.com/svn/trunk@366 55b6fa8a-2a1e-11de-a435-ffa8d773f76a
2009-08-06 05:03:52 +00:00
JesusFreke@JesusFreke.com
cc8c2cee0b
Use the .getBytes(String) form
...
git-svn-id: https://smali.googlecode.com/svn/trunk@365 55b6fa8a-2a1e-11de-a435-ffa8d773f76a
2009-08-05 05:50:11 +00:00
JesusFreke@JesusFreke.com
814580d4cf
The stored offset is a relative offset from the position of the instruction, not an absolute offset
...
git-svn-id: https://smali.googlecode.com/svn/trunk@364 55b6fa8a-2a1e-11de-a435-ffa8d773f76a
2009-08-05 05:35:11 +00:00
JesusFreke@JesusFreke.com
416b72fc74
StringTemplate does't seem to want to iterate over the byte array returned by the iterator, but it works if you return an object and access the byte array as an attribute
...
git-svn-id: https://smali.googlecode.com/svn/trunk@363 55b6fa8a-2a1e-11de-a435-ffa8d773f76a
2009-08-05 05:33:53 +00:00
JesusFreke@JesusFreke.com
9596186473
- Return individual items from the iterator, instead of returning the same object every time
...
- Simplify PackedSwitchMethodItem, so that it just returns the target as a string, instead of an object
git-svn-id: https://smali.googlecode.com/svn/trunk@362 55b6fa8a-2a1e-11de-a435-ffa8d773f76a
2009-08-05 05:31:51 +00:00
JesusFreke@JesusFreke.com
5805483912
Fix an issue when calculating the line and address diff
...
git-svn-id: https://smali.googlecode.com/svn/trunk@361 55b6fa8a-2a1e-11de-a435-ffa8d773f76a
2009-08-05 04:22:13 +00:00
JesusFreke@JesusFreke.com
866267dfb7
Store the string values, not the objects
...
git-svn-id: https://smali.googlecode.com/svn/trunk@360 55b6fa8a-2a1e-11de-a435-ffa8d773f76a
2009-08-05 04:21:38 +00:00
JesusFreke@JesusFreke.com
1e4a0716f4
Use the bytecode address, not the start offset within the encoded debug info
...
git-svn-id: https://smali.googlecode.com/svn/trunk@359 55b6fa8a-2a1e-11de-a435-ffa8d773f76a
2009-08-05 04:07:48 +00:00
JesusFreke@JesusFreke.com
8140e9fca2
The annotation visibility should be lowercase
...
git-svn-id: https://smali.googlecode.com/svn/trunk@358 55b6fa8a-2a1e-11de-a435-ffa8d773f76a
2009-08-05 03:56:34 +00:00
JesusFreke@JesusFreke.com
0deaf0b93a
Store the class annotations
...
git-svn-id: https://smali.googlecode.com/svn/trunk@357 55b6fa8a-2a1e-11de-a435-ffa8d773f76a
2009-08-05 03:56:06 +00:00
JesusFreke@JesusFreke.com
190924d10c
Copied in the pom.xml from the previous dexlib
...
git-svn-id: https://smali.googlecode.com/svn/trunk@356 55b6fa8a-2a1e-11de-a435-ffa8d773f76a
2009-08-05 03:28:17 +00:00
JesusFreke@JesusFreke.com
83b80f81d3
Move new dexlib to trunk
...
git-svn-id: https://smali.googlecode.com/svn/trunk@355 55b6fa8a-2a1e-11de-a435-ffa8d773f76a
2009-08-05 03:23:36 +00:00
JesusFreke@JesusFreke.com
02017677b7
removing old dexlib
...
git-svn-id: https://smali.googlecode.com/svn/trunk@354 55b6fa8a-2a1e-11de-a435-ffa8d773f76a
2009-08-05 03:22:53 +00:00
JesusFreke@JesusFreke.com
2700dc281c
Add check for null parameterName value
...
git-svn-id: https://smali.googlecode.com/svn/trunk@353 55b6fa8a-2a1e-11de-a435-ffa8d773f76a
2009-08-04 06:22:26 +00:00
JesusFreke@JesusFreke.com
630a384c6b
Check for null source file
...
git-svn-id: https://smali.googlecode.com/svn/trunk@344 55b6fa8a-2a1e-11de-a435-ffa8d773f76a
2009-08-04 03:48:08 +00:00
JesusFreke@JesusFreke.com
0fa2c67bfd
Check for null code item
...
git-svn-id: https://smali.googlecode.com/svn/trunk@343 55b6fa8a-2a1e-11de-a435-ffa8d773f76a
2009-08-04 03:47:48 +00:00
JesusFreke@JesusFreke.com
af9124da4f
Update version to .95
...
git-svn-id: https://smali.googlecode.com/svn/trunk@340 55b6fa8a-2a1e-11de-a435-ffa8d773f76a
2009-08-03 06:11:25 +00:00
JesusFreke@JesusFreke.com
cf6729c1ee
Lots of misc cleanup/refactoring to work with the new dexlib
...
git-svn-id: https://smali.googlecode.com/svn/trunk@336 55b6fa8a-2a1e-11de-a435-ffa8d773f76a
2009-08-03 05:47:16 +00:00
JesusFreke@JesusFreke.com
613d7e6f69
Fixed typo in usage message
...
git-svn-id: https://smali.googlecode.com/svn/trunk@290 55b6fa8a-2a1e-11de-a435-ffa8d773f76a
2009-07-28 01:57:51 +00:00
JesusFreke@JesusFreke.com
6369fae625
Updating version to 0.94
...
git-svn-id: https://smali.googlecode.com/svn/trunk@289 55b6fa8a-2a1e-11de-a435-ffa8d773f76a
2009-07-28 01:50:04 +00:00
JesusFreke@JesusFreke.com
e5f232f28d
Fixed typo in EncodedMethod
...
git-svn-id: https://smali.googlecode.com/svn/trunk@288 55b6fa8a-2a1e-11de-a435-ffa8d773f76a
2009-07-28 01:49:23 +00:00
JesusFreke@JesusFreke.com
14d3868d76
Updated comments to reflect new smali.jar usage
...
git-svn-id: https://smali.googlecode.com/svn/trunk@260 55b6fa8a-2a1e-11de-a435-ffa8d773f76a
2009-07-07 01:49:46 +00:00
JesusFreke@JesusFreke.com
5d104d2610
Updated comments to reflect new smali.jar usage
...
git-svn-id: https://smali.googlecode.com/svn/trunk@259 55b6fa8a-2a1e-11de-a435-ffa8d773f76a
2009-07-07 01:48:07 +00:00
JesusFreke@JesusFreke.com
1df7df69fa
Changed ArrayDeque to LinkedList, for compatibility with java 5
...
git-svn-id: https://smali.googlecode.com/svn/trunk@258 55b6fa8a-2a1e-11de-a435-ffa8d773f76a
2009-07-07 01:43:12 +00:00
JesusFreke@JesusFreke.com
51ff76a01d
Updated version
...
git-svn-id: https://smali.googlecode.com/svn/trunk@236 55b6fa8a-2a1e-11de-a435-ffa8d773f76a
2009-07-03 19:01:57 +00:00
JesusFreke@JesusFreke.com
2062d413eb
Fixed an issue with the template that prevented baksmali from working
...
git-svn-id: https://smali.googlecode.com/svn/trunk@234 55b6fa8a-2a1e-11de-a435-ffa8d773f76a
2009-07-03 18:55:36 +00:00
JesusFreke@JesusFreke.com
f1e5086830
Added some tests for line number debug info
...
git-svn-id: https://smali.googlecode.com/svn/trunk@232 55b6fa8a-2a1e-11de-a435-ffa8d773f76a
2009-07-03 02:14:25 +00:00
JesusFreke@JesusFreke.com
aaf4c4062a
Fixed an issue with the handling of large line numbers (larger than a signed short)
...
git-svn-id: https://smali.googlecode.com/svn/trunk@231 55b6fa8a-2a1e-11de-a435-ffa8d773f76a
2009-07-03 02:13:54 +00:00
JesusFreke@JesusFreke.com
c6573dfb98
Removed unneeded support for making a stream
...
git-svn-id: https://smali.googlecode.com/svn/trunk@226 55b6fa8a-2a1e-11de-a435-ffa8d773f76a
2009-06-28 19:57:02 +00:00
JesusFreke@JesusFreke.com
a537069854
Improved version handling
...
git-svn-id: https://smali.googlecode.com/svn/trunk@225 55b6fa8a-2a1e-11de-a435-ffa8d773f76a
2009-06-27 04:43:53 +00:00
JesusFreke@JesusFreke.com
9293a116b3
Added an option to only read the dex file then exit (mostly for profiling)
...
git-svn-id: https://smali.googlecode.com/svn/trunk@224 55b6fa8a-2a1e-11de-a435-ffa8d773f76a
2009-06-27 02:10:07 +00:00
JesusFreke@JesusFreke.com
dd5fc67202
Added support for the V type as a literal in annotations
...
git-svn-id: https://smali.googlecode.com/svn/trunk@223 55b6fa8a-2a1e-11de-a435-ffa8d773f76a
2009-06-25 07:14:58 +00:00
JesusFreke@JesusFreke.com
87f4a1a35e
Added support for NaNd, NaNf, InfinityD, InfinityF, -InfinityD and -InfinityF constants
...
git-svn-id: https://smali.googlecode.com/svn/trunk@222 55b6fa8a-2a1e-11de-a435-ffa8d773f76a
2009-06-25 07:07:05 +00:00
JesusFreke@JesusFreke.com
69c3abb483
- fixed an issue where java.lang.Object from core.jar couldn't be re-assembled, because it has no superclass
...
git-svn-id: https://smali.googlecode.com/svn/trunk@221 55b6fa8a-2a1e-11de-a435-ffa8d773f76a
2009-06-25 04:38:00 +00:00
JesusFreke@JesusFreke.com
3249b724ea
- fixed an issue where -D didn't use the specified file
...
git-svn-id: https://smali.googlecode.com/svn/trunk@219 55b6fa8a-2a1e-11de-a435-ffa8d773f76a
2009-06-23 06:29:07 +00:00
JesusFreke@JesusFreke.com
c894b9658c
- removed the ability to dump to stdout (issues with the CLI recognizing '-' as a value instead of an option)
...
- tweaked the version and usage info
git-svn-id: https://smali.googlecode.com/svn/trunk@218 55b6fa8a-2a1e-11de-a435-ffa8d773f76a
2009-06-23 06:21:29 +00:00
JesusFreke@JesusFreke.com
60188336df
Updated the mojo to match the new interface for smali
...
git-svn-id: https://smali.googlecode.com/svn/trunk@217 55b6fa8a-2a1e-11de-a435-ffa8d773f76a
2009-06-23 06:20:29 +00:00
JesusFreke@JesusFreke.com
2cd9246976
Significant rewrite of the command line interface, using apache commons CLI
...
git-svn-id: https://smali.googlecode.com/svn/trunk@216 55b6fa8a-2a1e-11de-a435-ffa8d773f76a
2009-06-23 06:19:50 +00:00
JesusFreke@JesusFreke.com
44682fe235
Fixed an issue where the parent references were not being populated when interning an item
...
git-svn-id: https://smali.googlecode.com/svn/trunk@215 55b6fa8a-2a1e-11de-a435-ffa8d773f76a
2009-06-23 06:15:43 +00:00
JesusFreke@JesusFreke.com
24b394bc43
cleaned up comment
...
git-svn-id: https://smali.googlecode.com/svn/trunk@214 55b6fa8a-2a1e-11de-a435-ffa8d773f76a
2009-06-23 03:59:14 +00:00
JesusFreke@JesusFreke.com
fdef6422d2
- Fixed an issue when trying to set a null AnnotationDirectoryItem to a ClassDefItem
...
- Fixed an issue when interning a CodeItem with no debug info
- Fixed an issue where the MapItem wasn't getting added to the dex file correctly when creating a dex file from scratch
git-svn-id: https://smali.googlecode.com/svn/trunk@213 55b6fa8a-2a1e-11de-a435-ffa8d773f76a
2009-06-23 02:37:34 +00:00
JesusFreke@JesusFreke.com
81014659d9
Significant rewrite of the command line interface
...
git-svn-id: https://smali.googlecode.com/svn/trunk@212 55b6fa8a-2a1e-11de-a435-ffa8d773f76a
2009-06-23 01:45:47 +00:00