Coder Social home page Coder Social logo

smalise's People

Contributors

dependabot[bot] avatar gh0u1l5 avatar loyieking avatar maksz42 avatar surendrajat avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar

smalise's Issues

code autocomplete/snippets support

Code auto-completion for smali will be super cool to see. If not for the class names, starting with the bytecodes will be very useful.
About snippets, I imagine something like a method stub, or if-eqz v_, :_ kind of replaceable snippet will come handy while editing large amount of smali.

Syntax Highlighting breaks when a class name is prefixed with a minus

In a project of mine I came across these two lines of smali code:

    new-instance v1, Lpkg/-$$Lambda$MainActivity$wqafgufGsPnnOcBuIzzHVhnovxo;
    invoke-direct {v1, p0}, Lpkg/-$$Lambda$MainActivity$wqafgufGsPnnOcBuIzzHVhnovxo;-><init>(Lpkg/MainActivity;)V

Which were highlighted like this:

Bildschirmfoto von 2021-04-09 15-41-12

I assume this is because of the "-" prefix as without them syntax highlighting works:

Bildschirmfoto von 2021-04-09 15-42-45

Peek/Goto registers

Could this be implemented so we can ctrl+click on a register and go to its first assignment or peek usage like a label?

Edit: What JEB does is that it highlights all the instances of that register in a method if you click on one of them. I think that's also a neat way.

Peek/Goto labels

Labels(:cond_1) inside the methods are not ctrl+click -able. Is this intended or just not implemented yet?

Lazy String parse

The regex.String /(".*?")/ in parser.js shouldn't be lazy as it won't catch escaped double quotes \".

Support radix conversion

First of all thanks for this nice extension. I'm planning to write writing an extension to automate apk reversing workflow with apktool, apksigner, jadx, etc. also because I found this extension for vs code :)

About the issue, res IDs in android are in decimal when decompiled to Java with tools like jadx. Each time I want to follow a res ID, I have to do printf '%d' 0x23 thing in a terminal or open calculator. JEB decompiler has this cool feature where you click on a HEX value and press B so you can cycle through DEC-OCT-HEX radix values which makes it super easy to work with the IDs and other values such as time periods.
Although that's not a smali feature what do you think about implementing it in this extension? Say a shortcut to toggle between HEX and DEC values or right-click and convert radix.

onHover for valid Resource IDs

For a resource ID in hexadecimal format like this:

const v1, 0x7f050001

when hover on 0x7f050001 an onHover tip could be shown, after searching in R$*.smali files, like this:

R$layout.main

or simply:

layout:main

Advantage: It will save the time of doing search and find the id each time these values are encountered.

Add a LICENSE

Hi. I've been uploading Smalise to open-vsx.org for people who don't use official VS Code builds, but it has been removed due to missing license. Could you please add a proper LICENSE file and update package.json?

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.