Commit Graph

26 Commits

Author SHA1 Message Date
Connor Tumbleson
1fb87e3e4c Post smali 2.0.6 cleanup
- fix smaliDecoder/AccessorTest to use new DexFileFactory params
 - remove unneeded ds/tree files
 - cleanup unmerged lines
2015-05-02 06:59:36 -05:00
Ben Gruver
7b3e5a1668 Don't wrap a large (>32k) register count in a register directive 2015-05-01 10:51:13 -05:00
Igor Murashkin
58b7c27316 Add lambda experimental dalvik opcodes
* Add new -X/--experimental flag to [dis]assemble opcodes not in art yet
* Add new opcodes liberate-variable, box-lambda, unbox-lambda,
                  capture-variable, create-lambda, invoke-lambda
* Add support for encoding 25x instructions
* Adds LambdaTest to check new opcodes assemble/disassemble properly

TODO: invoke-lambda-range

Change-Id: I5c8bcbfa8b6cb9a13ef2017fce2d1b7fda6e11c3
2015-05-01 10:46:51 -05:00
Ben Gruver
d54c78d966 Use [^] for the lexer's catch-all rule
[^] matches the entire character set, while . doesn't match new lines, etc.
2015-05-01 10:46:07 -05:00
Ben Gruver
df0156aa7e Use single-quotes in build.gradle files when double-quotes aren't needed
Conflicts:
	brut.apktool.smali/baksmali/build.gradle
	brut.apktool.smali/smali/build.gradle
	build.gradle
2015-05-01 10:43:59 -05:00
Ben Gruver
13b4c65ca1 Use the antlr plugin for gradle
Conflicts:
	brut.apktool.smali/smali/build.gradle
	brut.apktool.smali/smali/src/main/antlr3/smaliParser.g
	brut.apktool.smali/smali/src/main/antlr3/smaliTreeWalker.g
	brut.apktool.smali/smali/src/test/antlr3/org/jf/smali/expectedTokensTestGrammar.g
	smali/src/main/antlr/smaliParser.g
	smali/src/main/antlr/smaliTreeWalker.g
	smali/src/main/antlr3/smaliParser.g
	smali/src/main/antlr3/smaliTreeWalker.g
	smali/src/test/antlr/org/jf/smali/expectedTokensTestGrammar.g
	smali/src/test/antlr3/org/jf/smali/expectedTokensTestGrammar.g
2015-05-01 10:37:03 -05:00
Ben Gruver
08dca73690 Use the jflex plugin for gradle
Conflicts:
	brut.apktool.smali/smali/build.gradle
	brut.apktool.smali/smali/src/main/jflex/smaliLexer.flex
	build.gradle
	smali/src/main/jflex/smaliLexer.flex
	smali/src/main/jflex/smaliLexer.jflex
2015-05-01 10:31:01 -05:00
Connor Tumbleson
0003d56389 Switch to Proguard Gradle 2015-05-01 10:26:10 -05:00
Ben Gruver
b8016ae6ef Use the proguard plugin for gradle
Conflicts:
	brut.apktool.smali/baksmali/build.gradle
	brut.apktool.smali/smali/build.gradle
	build.gradle
2015-05-01 09:19:55 -05:00
Connor Tumbleson
2590521b33 fix all cherry-picks dumping files in wrong location 2015-01-21 08:10:42 -06:00
Ben Gruver
97c52167cf Add stringtemplate dependency to smali, because proguard.
Conflicts:
	build.gradle
2015-01-21 07:42:02 -06:00
Ben Gruver
2772be8e9d Implement implicit method/field references in smali 2015-01-21 07:21:37 -06:00
Ben Gruver
b66bf0500b Improve how method parameter lists are lexed 2015-01-21 07:20:31 -06:00
Ben Gruver
e1742d8547 Clean up some unused/unneeded tokens in smaliParser.g 2015-01-21 07:14:26 -06:00
Connor Tumbleson
a91e87bb04 update to smali 2.0.3 2014-01-19 10:37:31 -06:00
Connor Tumbleson
03fc77cca8 [smali] update to 2.0 final 2013-10-11 11:43:59 -05:00
Connor Tumbleson
79c68ed6d9 [smali] update to smali 2b6 2013-09-15 10:23:12 -05:00
Connor Tumbleson
a2c8d64d84 adjust build.gradle to handle apktool / dexlib2 2013-08-12 09:16:50 -05:00
Connor Tumbleson
007a6d45a2 Update to smali 2b5 2013-08-12 09:16:50 -05:00
Connor Tumbleson
dca0182339 progress on #403 2013-03-20 08:53:39 -05:00
Connor Tumbleson
626d7e7ecd fixes #396, update to smali v1.4.2 2013-02-16 07:32:39 -06:00
Connor Tumbleson
6744b2469c gradle redo (moved each to their own project for organization) 2013-01-16 16:06:32 -06:00
Connor Tumbleson
3fdf9ec09d Updating JesusFreke smali/baksmali to v1.4.1 (API17 changes) 2012-11-19 07:48:15 -06:00
Connor Tumbleson
689e0e59a6 updating JesusFreke's smali/baksmali. Fixed SmaliMod to handle removal of smaliLexer. 2012-10-08 18:50:34 -05:00
Connor Tumbleson
dd881e21d1 unify smali/baksmali/apktool properties into one folder 2012-09-20 19:28:24 -05:00
Connor Tumbleson
60c806f2e2 Moving all REPOs into one 2012-09-19 20:19:12 -05:00