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
JesusFreke@JesusFreke.com
281b510a9c
- started writing javadoc documentation
...
- cleanup of DexFile, and related refactoring
git-svn-id: https://smali.googlecode.com/svn/trunk@211 55b6fa8a-2a1e-11de-a435-ffa8d773f76a
2009-06-23 01:44:36 +00:00
JesusFreke@JesusFreke.com
d166b746b9
- Redid the option parsing logic to use the apache commons cli library
...
- Added options to the dump command, to help with dumping and comparing 2 dex files
git-svn-id: https://smali.googlecode.com/svn/trunk@210 55b6fa8a-2a1e-11de-a435-ffa8d773f76a
2009-06-22 08:03:46 +00:00
JesusFreke@JesusFreke.com
ec857fcecd
- Added the ability to sort the offsetted sections in a way that guarantees a unique order for a given set of items (helpful when trying to compare dex files)
...
- Fixed an issue with decodeLong in NumberUtils
git-svn-id: https://smali.googlecode.com/svn/trunk@209 55b6fa8a-2a1e-11de-a435-ffa8d773f76a
2009-06-22 07:57:13 +00:00
JesusFreke@JesusFreke.com
6ccb8b3d2b
Added a hashCode and equals method, so that interning annotations that reference items works correctly
...
git-svn-id: https://smali.googlecode.com/svn/trunk@208 55b6fa8a-2a1e-11de-a435-ffa8d773f76a
2009-06-21 23:43:34 +00:00
JesusFreke@JesusFreke.com
9f8be06898
Fixed an issue where baksmali didn't output the optional signature info on local debug directives, when available
...
git-svn-id: https://smali.googlecode.com/svn/trunk@207 55b6fa8a-2a1e-11de-a435-ffa8d773f76a
2009-06-21 22:02:53 +00:00
JesusFreke@JesusFreke.com
0871036088
Misc cleanup/refactoring
...
git-svn-id: https://smali.googlecode.com/svn/trunk@206 55b6fa8a-2a1e-11de-a435-ffa8d773f76a
2009-06-21 20:38:03 +00:00
JesusFreke@JesusFreke.com
56d16a23f6
Misc cleanup/refactoring
...
git-svn-id: https://smali.googlecode.com/svn/trunk@205 55b6fa8a-2a1e-11de-a435-ffa8d773f76a
2009-06-21 20:12:57 +00:00
JesusFreke@JesusFreke.com
bf4ca730cc
Misc cleanup/refactoring
...
git-svn-id: https://smali.googlecode.com/svn/trunk@204 55b6fa8a-2a1e-11de-a435-ffa8d773f76a
2009-06-21 20:07:36 +00:00
JesusFreke@JesusFreke.com
cb83d271e5
Misc cleanup/refactoring
...
git-svn-id: https://smali.googlecode.com/svn/trunk@203 55b6fa8a-2a1e-11de-a435-ffa8d773f76a
2009-06-21 20:06:46 +00:00