802 Commits

Author SHA1 Message Date
Ryan Welton
4ab8df84b0 Add alternative constructor
Add constructor that can use a bytestream so we can parse a DexFile
completely in memory
2013-09-20 00:00:31 -04:00
Ben Gruver
a0c24f1c9f Fix issue with how the set of interfaces a class implements is calculated 2013-04-08 23:16:22 -07:00
Ben Gruver
541b934948 Fix an issue when merging two interface types 2013-04-08 22:17:56 -07:00
Ben Gruver
de7afc64ca Improve register merging in the case of an unresolved type 2013-04-08 18:43:33 -07:00
Ben Gruver
2a206e6f85 Allow arbitrary method names in <>
Kotlin is known to use <anonymous>
2013-04-07 13:23:47 -07:00
Ben Gruver
cf45978c6a Fix an NPE when trying to resolve a non-existent synthetic accessor 2013-04-01 23:14:56 -07:00
Ben Gruver
0c838afb2d Merge pull request #5 from psm14/feature/thread_safety
Make Utf8Utils thread-safe
2013-02-15 14:30:56 -08:00
Ben Gruver
625b799285 Move the version to a separate file 2013-02-14 16:04:06 -08:00
Patrick McLaughlin
9993130b74 Make Utf8Utils thread-safe 2013-01-11 18:25:58 -05:00
Ben Gruver
0856f098c0 Make sure elements are sorted by name when building an annotation in smali 2012-12-25 21:13:08 -08:00
Ben Gruver
b34b329f1d Use guava rather than google-collections 2012-12-25 20:26:03 -08:00
Ben Gruver
c1023018d9 Use java.lang.Object as the superclass of an unresolvable class while deodexing 2012-12-25 20:05:51 -08:00
Ben Gruver
ebd1b0e9c1 Ensure class permissions are valid when resolving a field while deodexing 2012-12-25 18:04:28 -08:00
Ben Gruver
650d426c12 Ensure class permissions are valid when resolving a virtual method while deodexing 2012-12-09 16:18:19 -08:00
Ben Gruver
85e27f8ee0 Update version to 1.4.2 2012-11-19 01:15:54 -08:00
Ben Gruver
9a9a664af2 Add support back for jumbo instructions
Support for these is no longer controlled by the api, but rather
by the -J option.
2012-11-19 01:06:42 -08:00
Ben Gruver
03935b392e Use the new virtual table logic for api >= 17 2012-11-18 23:55:10 -08:00
Ben Gruver
3a96d5d432 Change how release vs. non-release is detected
This allows the smali/baksmali builds to be simplified a bit
2012-10-29 21:42:29 -07:00
Ben Gruver
06bff592f8 Fix the build. doh. 2012-10-27 19:23:58 -07:00
Ben Gruver
3079b05e9a Clean up the smali gradle build a bit 2012-10-27 16:37:04 -07:00
Ben Gruver
03a89d0ac1 Fix the javadoc for ClassDataItem.getParentType 2012-10-11 20:00:15 -07:00
Ben Gruver
1176b75123 Add support for new virtual table generation
This adds support for a fix in dalvik that changes the way
virtual tables are generated.

This new logic can be turned on with the -K option. This option
will be removed once the new functionality can be tied to a released
api level, at which point, it will be triggered when using an
appropriate api level with the -a option.
2012-10-11 19:59:49 -07:00
Ben Gruver
ff05a416c5 Add the new StrictMath inlines 2012-10-08 21:12:21 -07:00
Ben Gruver
92a9aa2aa5 Minor cleanup of synthetic access related stuff 2012-10-08 19:18:06 -07:00
Ben Gruver
9a12fbef99 Fix an issue related to synthetic access methods in an unexpected format 2012-10-08 19:17:08 -07:00
Ben Gruver
b3ed2aa7d3 Prevent newline normalization on windows for smali tests 2012-10-06 16:51:47 -07:00
Ben Gruver
f4dd5319e9 Removed deleted argument from InitializeClassPath javadoc 2012-10-06 13:56:21 -07:00
Ben Gruver
671e5c7ea5 Revert "Fix newline issue for smali tests on Windows"
This reverts commit 097b40531b24f197436b4b1f51d586332cfe1fda.
2012-10-06 12:42:09 -07:00
Ben Gruver
598dcde6c9 Fix a deodex issue when merging an unresolved array type 2012-10-04 20:38:18 -07:00
Ben Gruver
60bb8c675c Simply the generic-ity around Instruction, OffsetInstruction and InstructionMethodItem 2012-09-25 20:18:42 -07:00
Ben Gruver
d317a0679d Print verbose errors in the tree walker 2012-09-25 19:56:35 -07:00
Ben Gruver
a59fe7e523 Change how the parent is determined for AnnotationDirectoryItem and ClassDataItem 2012-09-25 19:52:04 -07:00
Ben Gruver
097b40531b Fix newline issue for smali tests on Windows 2012-09-24 21:03:28 -07:00
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