aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2017-04-21Add support for getting byte sizes to dex backed referencesWojtek Kaliciński
2017-04-12Support dex version 38 in smali am: 2f57904b10Colin Cross
am: 14e1a01692 Change-Id: Ie0e44635686fe372bc60d9ea6d0a9237c145a238
2017-04-12Support dex version 38 in smaliColin Cross
am: 2f57904b10 Change-Id: I23202c3721dd0991dedf2f872306d31269818fe1
2017-04-11Support dex version 38 in smaliandroid-vts-8.0_r9android-vts-8.0_r8android-vts-8.0_r7android-vts-8.0_r6android-vts-8.0_r2android-vts-8.0_r13android-vts-8.0_r12android-vts-8.0_r11android-vts-8.0_r10android-vts-8.0_r1android-security-8.0.0_r54android-security-8.0.0_r53android-security-8.0.0_r52android-cts-8.0_r9android-cts-8.0_r8android-cts-8.0_r7android-cts-8.0_r6android-cts-8.0_r5android-cts-8.0_r4android-cts-8.0_r3android-cts-8.0_r26android-cts-8.0_r25android-cts-8.0_r24android-cts-8.0_r23android-cts-8.0_r22android-cts-8.0_r21android-cts-8.0_r20android-cts-8.0_r2android-cts-8.0_r19android-cts-8.0_r18android-cts-8.0_r17android-cts-8.0_r16android-cts-8.0_r15android-cts-8.0_r14android-cts-8.0_r13android-cts-8.0_r12android-cts-8.0_r11android-cts-8.0_r10android-cts-8.0_r1android-8.0.0_r9android-8.0.0_r7android-8.0.0_r51android-8.0.0_r50android-8.0.0_r49android-8.0.0_r48android-8.0.0_r47android-8.0.0_r46android-8.0.0_r45android-8.0.0_r44android-8.0.0_r43android-8.0.0_r42android-8.0.0_r41android-8.0.0_r40android-8.0.0_r4android-8.0.0_r39android-8.0.0_r38android-8.0.0_r37android-8.0.0_r36android-8.0.0_r35android-8.0.0_r32android-8.0.0_r31android-8.0.0_r30android-8.0.0_r3android-8.0.0_r29android-8.0.0_r28android-8.0.0_r2android-8.0.0_r17android-8.0.0_r16android-8.0.0_r15android-8.0.0_r13android-8.0.0_r12android-8.0.0_r11android-8.0.0_r10android-8.0.0_r1security-oc-releaseoreo-vts-releaseoreo-security-releaseoreo-releaseoreo-r6-releaseoreo-r5-releaseoreo-r4-releaseoreo-r3-releaseoreo-r2-releaseoreo-devoreo-cts-releaseColin Cross
Smali is used by cts-api-coverage. Bug: 36902714 Test: m -j ANDROID_COMPILE_WITH_JACK=false continuous_instrumentation_tests_api_coverage Change-Id: I4b02caa9d4b6370497faeb4ab142b297865c5234 (cherry picked from commit 705b1ebf36002a7ffb8fb957480e30b67836625e)
2017-04-08Merge "Support dex version 38 in smali" am: bda1c3d6e4 am: 04ae4cc3fc am: ↵Colin Cross
db31e77294 am: b3a2877810 Change-Id: I6a47c3f473d6933dd60d3d96c464745b9f9e7442
2017-04-08Merge "Support dex version 38 in smali" am: bda1c3d6e4 am: 04ae4cc3fcColin Cross
am: db31e77294 Change-Id: If9f87da2ee128b0c06d190a926b2d31752301906
2017-04-08Merge "Support dex version 38 in smali" am: bda1c3d6e4Colin Cross
am: 04ae4cc3fc Change-Id: I08456051806186ea64a319c9882d40503a83e560
2017-04-08Merge "Support dex version 38 in smali"Colin Cross
am: bda1c3d6e4 Change-Id: I84203913f655535637926e40d9f1c203738a5412
2017-04-08Merge "Support dex version 38 in smali"android-wear-o-preview-4android-wear-o-preview-3android-o-preview-2Colin Cross
2017-04-07Support dex version 38 in smaliColin Cross
Smali is used by cts-api-coverage. Test: m -j ANDROID_COMPILE_WITH_JACK=false continuous_instrumentation_tests_api_coverage Change-Id: I4b02caa9d4b6370497faeb4ab142b297865c5234
2017-03-31Bump smalidea version to v0.05Ben Gruver
2017-03-31Correctly calculate the offset for switch targets in smalideaBen Gruver
This fixes an issue where watches on registers (among other things) don't work inside a method containing a switch statement, due to a failure analyzing the method.
2017-03-29Merge pull request #504 from Furniel/masterBen Gruver
Fixed Android M and N deodexing(Fixes #503)
2017-03-29Fixed Android M and N deodexing(Fixes #503)Furniel
2017-03-25Add initial support for vdex filesBen Gruver
This is the bare minimum to get deodexing to work with vdex files.
2017-03-22Update version to 2.2.0Ben Gruver
2017-03-21Update version to 0.04Ben Gruver
2017-03-21Add Project argument to SmaliClassFinder constructorBen Gruver
In some cases, scope.getProject() may be null. Apparently, IDEA will automatically pass in the project if you specify one in the constructor. See, e.g. MigrationElementFinder in the IDEA source.
2017-03-21Add missing read actions in SmaliPositionManagerBen Gruver
2017-03-21Update linked version of IDEA to 2016.3.5Ben Gruver
2017-03-21getStubOrPsiParent() -> getParentByStub()Ben Gruver
2017-03-21Use newer jcommander version for releaseBen Gruver
The newer version has some fixes we need, but we should still ensure that we can compile against the old version, since that's the version currently in AOSP.
2017-03-12Improve the special case logic when propagating register typesBen Gruver
This improves the logic dealing with initializing uninitialized reference and narrowing register types after an instance-of
2017-03-11Fix possible NPE when generating accessor commentsBen Gruver
2017-03-11Fix missing format argumentBen Gruver
2017-02-22Fix download link in README.mdBen Gruver
2017-01-07Propagate sideways conversions after an instance-of + if-eq/if-eqzBen Gruver
Previously, we only propagated the conversion if it was a narrowing conversion, to avoid problems that can occur with member access with widening conversions. However, it should be safe to do the conversion for a "sideways" conversion - one that is neither widening or narrowing. This can happen if we don't yet have full knowledge of the register types, or, less likely, if the "true" branch is impossible to reach. In the first case, we should get better type info as we continue to analyze the method, and we'll revisit the conversion once we have better type info. Or, if it really is an impossible conversion, we still want to propagate the type from the instance-of to the true branch.
2016-12-12Merge "Remove core-junit from API 26 and above" am: 5db2e2633a am: ↵Paul Duffin
1354be504d am: 2b4d329cc1 am: 9e84fb4b5c Change-Id: Ie4d233352bb880864426cb56c4e7edb30dd6ec66
2016-12-12Merge "Remove core-junit from API 26 and above" am: 5db2e2633a am: 1354be504dPaul Duffin
am: 2b4d329cc1 Change-Id: I8321c2160bf4877e1e9ded54e4829f97c0283712
2016-12-12Merge "Remove core-junit from API 26 and above" am: 5db2e2633aPaul Duffin
am: 1354be504d Change-Id: I54ea50898073bff164c5a078cf95f149e6ddd0ca
2016-12-12Merge "Remove core-junit from API 26 and above"Paul Duffin
am: 5db2e2633a Change-Id: I82699c3f6f9b07343a0c870a7ae638f61d2c3bac
2016-12-12Merge "Remove core-junit from API 26 and above"android-o-preview-1android-n-mr2-preview-2android-n-mr2-preview-1o-previewPaul Duffin
2016-12-09Remove core-junit from API 26 and abovePaul Duffin
From 26 and above core-junit will no longer be on the bootclasspath. Bug: 30188076 Test: make checkbuild Change-Id: If3f13e0dcc31d5692594a9213462bec82b040b94
2016-11-12Don't perform type narrowing after an instance-of on dalvikBen Gruver
2016-11-06Add better error message for when instruction offset is out of rangeBen Gruver
2016-10-23Improve the error message for a truncated last instructionBen Gruver
2016-10-23Clean up how api levels are handled in various placesBen Gruver
Now that dex files store an associated Opcodes instance, we don't need to pass the api level around as much.
2016-10-23Add additional exception info if StringReference doesn't resolve to a StringBen Gruver
2016-10-23Fix null start/end locations in SmaliCodeFragmentFactory.evaluateRegisterBen Gruver
2016-10-23Don't attempt to evaluate an out-of-bounds registerBen Gruver
2016-10-23Remove some unneeded casts in BuilderClassDefBen Gruver
2016-10-23Make BuilderAnnotationSet publicBen Gruver
It is used as a return type of public api BuilderClassDef.getAnnotations
2016-10-17Add default dependencies for Android NBen Gruver
2016-10-17Remove obsolete TODOBen Gruver
2016-10-17Resolve odex dependencies to jar files when neededBen Gruver
2016-10-16Bump the version number to v2.2b4Ben Gruver
2016-10-16Use a BufferedInputStream in ZipDexContainer.isDexBen Gruver
2016-10-16Be more precise about narrowing after an instance-ofBen Gruver
Only do the additional narrowing when all predecessors of the instance-of are equivalent move instructions.
2016-10-16Add a --classes option for disassemble/deodex commandsBen Gruver
2016-10-15Ensure all smali files are closed after the writing is completeAlbert Gorski
This makes sure that all smali files are closed after writing to them by surrounding the writer code with a try/finally block that closes the output stream once the writing has completed or when an exception occurs.