JesusFreke@JesusFreke.com
d8b31a17ae
tweak assertions
...
git-svn-id: https://smali.googlecode.com/svn/trunk@386 55b6fa8a-2a1e-11de-a435-ffa8d773f76a
2009-08-11 04:12:39 +00:00
JesusFreke@JesusFreke.com
8922ca1c4c
Align the offset before placing the map item
...
git-svn-id: https://smali.googlecode.com/svn/trunk@385 55b6fa8a-2a1e-11de-a435-ffa8d773f76a
2009-08-11 02:58:00 +00:00
JesusFreke@JesusFreke.com
ae7235f8df
Fixed issue with size calculation in placeValue
...
git-svn-id: https://smali.googlecode.com/svn/trunk@384 55b6fa8a-2a1e-11de-a435-ffa8d773f76a
2009-08-11 02:56:41 +00:00
JesusFreke@JesusFreke.com
9cbb91a1be
Fixed issue with size calculation in placeValue
...
git-svn-id: https://smali.googlecode.com/svn/trunk@383 55b6fa8a-2a1e-11de-a435-ffa8d773f76a
2009-08-11 02:34:50 +00:00
JesusFreke@JesusFreke.com
ba70af346f
- added logic to keep the sections in the same place if the "in place" option is on
...
- added a null check to fix a null pointer exception
git-svn-id: https://smali.googlecode.com/svn/trunk@382 55b6fa8a-2a1e-11de-a435-ffa8d773f76a
2009-08-10 07:04:33 +00:00
JesusFreke@JesusFreke.com
2a8fa1a3b3
- added logic to check for registers in the debug info that are encoded as a signed LEB128, and keep the same format if the "preserve signed registers" option is on
...
- fixed several placement/write issues in the debug info
git-svn-id: https://smali.googlecode.com/svn/trunk@381 55b6fa8a-2a1e-11de-a435-ffa8d773f76a
2009-08-10 07:03:10 +00:00
JesusFreke@JesusFreke.com
d269393753
Fixed size calculation in placeItem
...
git-svn-id: https://smali.googlecode.com/svn/trunk@380 55b6fa8a-2a1e-11de-a435-ffa8d773f76a
2009-08-10 06:59:19 +00:00
JesusFreke@JesusFreke.com
14f02f4884
Fixed size calculation in placeItem
...
git-svn-id: https://smali.googlecode.com/svn/trunk@379 55b6fa8a-2a1e-11de-a435-ffa8d773f76a
2009-08-10 06:58:04 +00:00
JesusFreke@JesusFreke.com
626c1fed54
Fixed space issue in exception text
...
git-svn-id: https://smali.googlecode.com/svn/trunk@378 55b6fa8a-2a1e-11de-a435-ffa8d773f76a
2009-08-10 06:57:26 +00:00
JesusFreke@JesusFreke.com
9f6bc080a4
Added asserts to check if items are being placed in the original locations, when writing a dex file "in place"
...
git-svn-id: https://smali.googlecode.com/svn/trunk@377 55b6fa8a-2a1e-11de-a435-ffa8d773f76a
2009-08-10 06:57:05 +00:00
JesusFreke@JesusFreke.com
3c23129eec
Added support for writing parameter registers with the p<n> syntax
...
git-svn-id: https://smali.googlecode.com/svn/trunk@376 55b6fa8a-2a1e-11de-a435-ffa8d773f76a
2009-08-08 23:44:28 +00:00
JesusFreke@JesusFreke.com
b7399b7fb3
Changed parent of CodeItem to EncodedMethod instead of MethodIdItem
...
git-svn-id: https://smali.googlecode.com/svn/trunk@375 55b6fa8a-2a1e-11de-a435-ffa8d773f76a
2009-08-08 22:53:52 +00:00
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