aboutsummaryrefslogtreecommitdiff
path: root/smali
AgeCommit message (Collapse)Author
2015-02-19Merge remote-tracking branch 'remotes/aosp/upstream-master' into HEADIgor Murashkin
- Brings up smali from 2.0.3 to 2.0.5 Bug: 19446717
2015-01-21Tweak how array descriptors are parsedBen Gruver
This is needed to allow smalidea to have an outer array type element to represent the type as a whole, and an inner class type element for the actual element type
2015-01-21Add lexer implementation based on existing smali lexerBen Gruver
2015-01-20Add stringtemplate dependency to smali, because proguard.Ben Gruver
2014-07-19Implement implicit method/field references in smaliBen Gruver
2014-02-17Improve how method parameter lists are lexedBen Gruver
2014-02-13Extract dexlib2 as a separate host libraryandroid-wear-5.0.0_r1android-l-preview_r2android-cts-5.1_r9android-cts-5.1_r8android-cts-5.1_r7android-cts-5.1_r6android-cts-5.1_r5android-cts-5.1_r4android-cts-5.1_r3android-cts-5.1_r28android-cts-5.1_r27android-cts-5.1_r26android-cts-5.1_r25android-cts-5.1_r24android-cts-5.1_r23android-cts-5.1_r22android-cts-5.1_r21android-cts-5.1_r20android-cts-5.1_r2android-cts-5.1_r19android-cts-5.1_r18android-cts-5.1_r17android-cts-5.1_r16android-cts-5.1_r15android-cts-5.1_r14android-cts-5.1_r13android-cts-5.1_r10android-cts-5.1_r1android-cts-5.0_r9android-cts-5.0_r8android-cts-5.0_r7android-cts-5.0_r6android-cts-5.0_r5android-cts-5.0_r4android-cts-5.0_r3android-5.1.1_r9android-5.1.1_r8android-5.1.1_r7android-5.1.1_r6android-5.1.1_r5android-5.1.1_r4android-5.1.1_r38android-5.1.1_r37android-5.1.1_r36android-5.1.1_r35android-5.1.1_r34android-5.1.1_r33android-5.1.1_r30android-5.1.1_r3android-5.1.1_r29android-5.1.1_r28android-5.1.1_r26android-5.1.1_r25android-5.1.1_r24android-5.1.1_r23android-5.1.1_r22android-5.1.1_r20android-5.1.1_r2android-5.1.1_r19android-5.1.1_r18android-5.1.1_r17android-5.1.1_r16android-5.1.1_r15android-5.1.1_r14android-5.1.1_r13android-5.1.1_r12android-5.1.1_r10android-5.1.1_r1android-5.1.0_r5android-5.1.0_r4android-5.1.0_r3android-5.1.0_r1android-5.0.2_r3android-5.0.2_r1android-5.0.1_r1android-5.0.0_r7android-5.0.0_r6android-5.0.0_r5.1android-5.0.0_r5android-5.0.0_r4android-5.0.0_r3android-5.0.0_r2android-5.0.0_r1lollipop-wear-releaselollipop-releaselollipop-mr1-wfc-releaselollipop-mr1-releaselollipop-mr1-fi-releaselollipop-mr1-devlollipop-mr1-cts-releaselollipop-devlollipop-cts-releasel-previewidea133-weekly-releaseBen Gruver
Change-Id: Iae608e6b6f17e69096ec9f6154f38b579474d650
2014-02-13Fix up the build files and some minor tweaks to build smali/baksmali 2.*Ben Gruver
- Replace usages of FluentIterable, which isn't in the version of guava in the AOSP tree - Include pre-generated antlr sources, due to issues caused by the older version of antlr in the AOSP tree Change-Id: Ib05f4ab032cae551cc94acef05edc891befe473a
2014-02-13Merge tag 'v2.0.3' into masterBen Gruver
Conflicts: scripts/smali Change-Id: Id26d343be87dc1fa6a09cc4b567cdbcb5970e211
2014-02-03Clean up some unused/unneeded tokens in smaliParser.gBen Gruver
2014-01-18Refactor the maven upload build stuffBen Gruver
This also adds the required javadoc jars
2014-01-17Add gradle configuration for uploading smali artifacts to mavenBen Gruver
2013-12-29Use known-good locale when doing jflex codegenBen Gruver
jflex appears to be using the default locale for a String.toUpperCase somewhere, which causes incorrect java code to be generated in the turkish locale.
2013-12-08Allow primitive types for 21c instruction format (e.g. check-cast)Ben Gruver
2013-11-10Don't attempt to create the smali.jar/baksmali.jar symlinks on windows.Ben Gruver
Unsurprisingly, ant.symlink is unsupported on windows.
2013-09-15Remove the now unused builder instructions and instruction factoriesBen Gruver
2013-09-14Fix the tests related to bracketed namesBen Gruver
2013-09-14Allow arbitrary bracketed member namesBen Gruver
Dalvik allows accesses and definitions of fields with angle brackets It "allows" definitions of bracketed method names, but it will reject any attempt to actually call them (except <init>, of course).
2013-09-08Implement just-in-time instruction fixup due to string jumboificationBen Gruver
2013-09-08Generify the IO requirements for writing a dex fileBen Gruver
The DexWriter implementations now write to a generic "DexDataStore", instead of writing directly to a file. Also, writing of the DebugItems and CodeItems are linked, with the code items being written to a temporary location, and then the entire code item section is written as a batch after the debug item section.
2013-09-07Implement instruction fixing in MutableMethodImplementationBen Gruver
2013-09-02Implement instructions for the method builderBen Gruver
2013-08-24Delete BuilderMethodImplementation, and simplify the DexWriter stuff accordinglyBen Gruver
DexBuilder.internMethod now accepts a generic MethodImplementation instead. It is assumed that the various String/Type/etc. references will have been interned by and returned from the appropriate DexBuilder methodDelete BuilderMethodImplementation DexBuilder.internMethod now accepts a generic MethodImplementation instead. It is assumed that the various String/Type/etc. references will have been interned by and returned from the appropriate DexBuilder method
2013-08-24Remove the Instruction template parameter from InstructionFactoryBen Gruver
2013-08-24Initial stub MethodImplementationBuilder and integration into smaliBen Gruver
2013-08-24Remove support for using arbitrary offsets instead of labelsBen Gruver
2013-06-01Don't crash if the smali/baksmali.properties file can't be foundBen Gruver
2013-05-12Git rid of some warnings in smali's main.javaBen Gruver
2013-05-07Fix up proguard configurationBen Gruver
2013-04-30Write the correct header version based on the api levelBen Gruver
2013-04-30Add multi-threading support for smaliBen Gruver
2013-04-29Clean up smali's main class a bitBen Gruver
2013-04-29Add new DexBuilder interfaceBen Gruver
This is a different "front-end" for the existing writer functionality that is meant to be a more memory efficient method for building a new dex file from scratch
2013-04-27Implementation of new generificationified writer functionalityBen Gruver
2013-04-18Add support to smali for a .source directive with no source fileBen Gruver
2013-04-18Change .param and .local syntax, to be able to handle empty name/type/signatureBen Gruver
2013-04-17Get rid of unneeded TODOBen Gruver
2013-04-17Refactor how api specific Opcodes work (make them non-static)Ben Gruver
2013-04-16Fix issue with .param directive when there are parameters of type DBen Gruver
2013-04-16Tweak the syntax for the .array-data structureBen Gruver
Now each number is an individual element, instead of the weird "re-interpret numbers as bytes, concatenate, and then re-interpret as numbers based on element width" thing that was going on before Also, only element widths 1, 2, 4 and 8 are allowed
2013-04-16Switch to new parameter syntaxBen Gruver
The new syntax is: .param p1, firstParamName which is closer to the existing local syntax: .local v0, someLocal:I
2013-04-15Change totalmethodRegisters and methodParameterRegisters to scoped method ↵Ben Gruver
attributes
2013-04-15Add token+text for I_LINE imaginary tokenBen Gruver
2013-04-15Change syntax of const/high16 and const-wide/16Ben Gruver
The literal is now specified as the post-shifted literal value, rather than the pre-shifted 16 bits
2013-04-15Fix the line number on instruction errorsBen Gruver
2013-04-15Split out the build rule for the parser and tree walkerBen Gruver
2013-04-15Update to latest antlr3/string templateBen Gruver
2013-04-15Refactor smali to use dexlib2Ben Gruver
Array data instructions aren't working yet
2013-03-03Factor out dependency versions, and upgrade to gradle 14.0Ben Gruver
2013-02-24Create smali.jar/baksmali.jar symlinks after building jarsBen Gruver