Ben Gruver
a8be1b4c80
Fix NullPointerException if source file is not set in lexer
2012-09-24 18:22:02 -07:00
Ben Gruver
a3dce1f48c
Move parseFloat and parseDouble to LiteralTools
2012-09-24 18:17:39 -07:00
Ben Gruver
de3a5f95ae
Fix how the classpath is set for JavaExec gradle tasks
2012-09-24 00:20:30 -07:00
Ben Gruver
40c48da564
The great tab cleanup of 2012
2012-09-23 21:16:21 -07:00
Ben Gruver
8d299c0222
Generate separate POSITIVE/NEGATIVE_INTEGER_LITERAL tokens
2012-09-23 18:14:59 -07:00
Ben Gruver
48d5b73027
Remove ANTLR lexer
2012-09-23 18:14:03 -07:00
Bryan Bishop
b88e9c3752
fix tabs/spaces in scripts/smali
2012-09-23 13:36:47 -07:00
Ben Gruver
0ab2c455b0
Add support links to README
2012-09-23 13:32:52 -07:00
Ben Gruver
be22572a8f
Add README.md
2012-09-23 13:22:08 -07:00
Ben Gruver
15ecbaa9f0
Remove unneeded .gitignore files
2012-09-16 01:01:31 -07:00
Ben Gruver
8e279d0763
Update version to 1.4.1
2012-09-16 00:38:11 -07:00
Ben Gruver
48640a885b
Update version to 1.4.0
2012-09-16 00:24:22 -07:00
Ben Gruver
1f1f012292
Fix BIG_ENDIAN constant in HeaderItem
2012-09-16 00:18:16 -07:00
Ben Gruver
cc5871feef
Apply idea plugin
2012-09-16 00:18:03 -07:00
Ben Gruver
181c04c839
Add copyright/license for build scripts
2012-09-16 00:03:44 -07:00
Ben Gruver
dc3c933b95
Remove poms and smali-maven-plugin
2012-09-15 23:57:24 -07:00
Ben Gruver
9382ba8591
Use JavaExec instead of ant.java
2012-09-15 23:17:12 -07:00
Ben Gruver
c9afead1a9
Implement proguard support
2012-09-15 22:56:10 -07:00
Ben Gruver
5cf9fe7c0a
Generate fat jars for smali and baksmali
2012-09-15 19:21:34 -07:00
Ben Gruver
7d1263a4ff
Implement versioning in the gradle build
2012-09-15 19:21:30 -07:00
Ben Gruver
480c79aeea
gradleize smali project
2012-09-15 19:20:12 -07:00
Ben Gruver
1026c6c10c
gradleize baksmali project
2012-09-15 15:58:43 -07:00
Ben Gruver
4c1774eb41
gradleize dexlib project
2012-09-15 15:58:43 -07:00
Ben Gruver
7d7ee58ad9
gradleize util project
2012-09-15 15:58:31 -07:00
Ben Gruver
94599babbb
Add gradlew, in preparation for moving to gradle
2012-09-14 20:51:40 -07:00
Ben Gruver
4374e7babc
Don't use con.smali to test if we're on a windows system.
2012-09-04 23:38:21 -07:00
Ben Gruver
06bc17a75e
Correctly handle duplicate (except case) reserved file names on windows
2012-09-04 21:04:13 -07:00
Ben Gruver
b58433a074
Allow multiple ClassDefItems to share a single empty ClassDataItem
2012-09-03 17:00:45 -07:00
Ben Gruver
ed33c426e7
Properly deodex instructions that come after an unresolvable odex instruction
2012-09-03 16:41:10 -07:00
Ben Gruver
ee54115485
Refactor the instruction rule in the tree walker
2012-08-24 17:22:03 -07:00
Ben Gruver
4af666e4a6
Remove support for the extended opcodes
2012-08-24 16:54:05 -07:00
Ben Gruver
47873da1c5
Refactor the instruction rule in the parser
2012-08-24 15:17:33 -07:00
Ben Gruver
3cf9e0c1e5
Allow non-standard header sizes
2012-08-24 14:58:30 -07:00
Ben Gruver
5934004fe3
Allow try end addresses that fall in the middle of an instruction
2012-08-24 14:52:55 -07:00
Ben Gruver
7d37656282
Add getters for inWords and outWords in CodeItem
2012-07-13 18:31:13 -07:00
Ben Gruver
66b89545a4
Fix bug in Utf8Utils
2012-07-13 18:27:27 -07:00
Ben Gruver
343df2f456
Simplify deodexing
...
This makes it possible to deodex an odex file using only the dependencies
listed in the odex file itself. Adding extra dependencies via the -c
option should no longer be needed.
2012-07-05 21:55:54 -07:00
Ben Gruver
5b4073a85c
Add the findbugs library to baksmali explicitly, rather than transitively through dexlib
2012-07-05 21:54:03 -07:00
Ben Gruver
30ab0c266a
Remove obsolete TODO regarding duplicate classes in the class path
2012-07-03 22:43:11 -07:00
Ben Gruver
a9ce1cf3ec
For unknown opcodes, mention the original opcode value in a comment
2012-07-03 22:36:29 -07:00
Ben Gruver
2f81aec886
Treat unknown opcodes as nops
2012-06-28 23:13:45 -07:00
Ben Gruver
9069177bff
Bump version number to 1.3.4-dev
2012-06-20 22:45:14 -07:00
Ben Gruver
5f2ad8bd13
Suppress some warnings when doing the proguard thing
2012-06-20 22:22:11 -07:00
Ben Gruver
0534f304b6
Use proguard on the assembled smali/baksmali jars
...
This is primarily to remove any unused classes, to reduce the jar size
2012-06-20 16:32:28 -07:00
Ben Gruver
0aa30d93f8
Don't compare encoded values with item references by item index
2012-06-20 16:29:54 -07:00
Ben Gruver
7bb622e0b1
Set the default local to en-US, to avoid locale specific weirdness
2012-06-19 18:03:44 -07:00
Ben Gruver
3f70d08442
Gracefully handle duplicate methods and fields in baksmali
...
baksmali will emit duplicate methods and fields as commented blocks, when it
is safe to do so.
2012-06-19 16:03:20 -07:00
Ben Gruver
9c7c421f51
Check for duplicate field/method definitions in ClassDataItem
2012-06-19 12:04:58 -07:00
Ben Gruver
0d2ce20ee4
Fix up makeDefaultValueForType method
...
1. Remove the unused DexFile parameter
2. Add a convenience wrapper that accepts a TypeIdItem
2012-06-18 15:28:55 -07:00
Ben Gruver
662e425150
Rename MethodIdItem.getVirtualMethodString to getShortMethodString
2012-06-18 15:25:33 -07:00