commit | 43669ecc6e3f5d95ef1653fb7ba0c0445040fd3c | [log] [tgz] |
---|---|---|
author | Albert Gorski <sagorski@ncsu.edu> | Sun Oct 09 21:24:05 2016 -0400 |
committer | Ben Gruver <bgruv@google.com> | Sat Oct 15 21:12:23 2016 -0700 |
tree | 004fe481af4d5d3b177981f4dbc3de7683c743dc | |
parent | e75f2b230a1188ebfeffcb7737dfe94bcc0f9e44 [diff] |
Ensure all smali files are closed after the writing is complete 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.
smali/baksmali is an assembler/disassembler for the dex format used by dalvik, Android‘s Java VM implementation. The syntax is loosely based on Jasmin’s/dedexer's syntax, and supports the full functionality of the dex format (annotations, debug info, line info, etc.)
Downloads are at https://bitbucket.org/JesusFreke/smali/downloads. If you are interested in submitting a patch, feel free to send me a pull request here.
See the wiki for more info/news/release notes/etc.