19 Commits

Author SHA1 Message Date
Shivang Desai
891703dff2 Update HelloWorld.smali
-o option does not seem to work with latest smali version.
Hence modified first command in comments section.
2022-03-08 14:50:22 -06:00
Ben Gruver
e6f4475c87 Add full invoke-custom example 2018-05-23 13:34:16 -07:00
Narayan Kamath
99b80bbc5a Revert "Add lambda experimental dalvik opcodes"
This reverts commit 144951a9e9e6c87866245f2bdeebf0ebedaa0e38.
2016-08-17 13:15:18 +01:00
Igor Murashkin
144951a9e9 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-03-16 11:40:58 -07:00
Caleb Fenton
9546ddf95a Add registers directive so example will compile 2015-01-20 08:18:32 -08:00
Caleb Fenton
45e4284c1d Use 2.x 'param' directive 2014-10-10 14:17:57 -07:00
Ben Gruver
569c014562 Allow arbitrary bracketed member names
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-14 13:35:04 -07:00
Ben Gruver
f8637cedd5 Add an example showing how methods can be overriden based on return value 2011-09-17 18:01:03 -04:00
JesusFreke@JesusFreke.com
daa8cef392 Add new RecursiveExceptionHandler example
git-svn-id: https://smali.googlecode.com/svn/trunk@562 55b6fa8a-2a1e-11de-a435-ffa8d773f76a
2010-01-12 08:10:30 +00:00
JesusFreke@JesusFreke.com
14d3868d76 Updated comments to reflect new smali.jar usage
git-svn-id: https://smali.googlecode.com/svn/trunk@260 55b6fa8a-2a1e-11de-a435-ffa8d773f76a
2009-07-07 01:49:46 +00:00
JesusFreke@JesusFreke.com
5d104d2610 Updated comments to reflect new smali.jar usage
git-svn-id: https://smali.googlecode.com/svn/trunk@259 55b6fa8a-2a1e-11de-a435-ffa8d773f76a
2009-07-07 01:48:07 +00:00
JesusFreke@JesusFreke.com
b03e029611 added an example showing the creation and usage of an interface
git-svn-id: https://smali.googlecode.com/svn/trunk@91 55b6fa8a-2a1e-11de-a435-ffa8d773f76a
2009-06-05 05:15:24 +00:00
JesusFreke@JesusFreke.com
5dc3a8d75a - Added a new "p0" style register reference, where p0 indicates the first parameter register, p1 the 2nd parameter register and so forth. This makes it less annoying when you are writing a method and have to add more registers, which would push the parameter registers back.
- Updated the the tests and examples with the new register format, where appropriate

git-svn-id: https://smali.googlecode.com/svn/trunk@89 55b6fa8a-2a1e-11de-a435-ffa8d773f76a
2009-06-04 06:44:10 +00:00
JesusFreke@JesusFreke.com
3ca2a39dea Deleted old examples
git-svn-id: https://smali.googlecode.com/svn/trunk@86 55b6fa8a-2a1e-11de-a435-ffa8d773f76a
2009-06-04 05:57:24 +00:00
JesusFreke@JesusFreke.com
1834b365d6 - changed the comment char from ; to #
- updated the tests and examples to use the new comment style
- changed the lexer error messages to include the source file path

git-svn-id: https://smali.googlecode.com/svn/trunk@83 55b6fa8a-2a1e-11de-a435-ffa8d773f76a
2009-06-04 05:54:34 +00:00
JesusFreke@JesusFreke.com
e53f5ae41b rename the AnnotationTypes example
git-svn-id: https://smali.googlecode.com/svn/trunk@82 55b6fa8a-2a1e-11de-a435-ffa8d773f76a
2009-06-04 05:02:24 +00:00
JesusFreke@JesusFreke.com
3c0207bddd re-add the AnnotationTypes example
git-svn-id: https://smali.googlecode.com/svn/trunk@81 55b6fa8a-2a1e-11de-a435-ffa8d773f76a
2009-06-04 05:01:55 +00:00
JesusFreke@JesusFreke.com
baf5a9205b whitespace
git-svn-id: https://smali.googlecode.com/svn/trunk@80 55b6fa8a-2a1e-11de-a435-ffa8d773f76a
2009-06-04 04:57:47 +00:00
JesusFreke@JesusFreke.com
c2b3b1457a moved the examples
git-svn-id: https://smali.googlecode.com/svn/trunk@79 55b6fa8a-2a1e-11de-a435-ffa8d773f76a
2009-06-04 04:39:25 +00:00