3 releases (breaking)

0.3.1 Jan 30, 2023
0.2.0 Jul 27, 2020
0.1.0 Jul 27, 2020

#494 in Development tools

Download history 127/week @ 2022-11-27 151/week @ 2022-12-04 115/week @ 2022-12-11 197/week @ 2022-12-18 173/week @ 2022-12-25 219/week @ 2023-01-01 200/week @ 2023-01-08 208/week @ 2023-01-15 181/week @ 2023-01-22 375/week @ 2023-01-29 258/week @ 2023-02-05 334/week @ 2023-02-12 247/week @ 2023-02-19 255/week @ 2023-02-26 236/week @ 2023-03-05 256/week @ 2023-03-12

1,028 downloads per month

BSD-2-Clause

205KB
694 lines

Language Server for GAS/GO Assembly

Goal

Provide hovering and (TODO) autocompletion for assembly files written in the GAS/NASM or GO assembly flavors. It supports assembly files for the x86 or x86_64 instruction sets.

This tool can serve as reference when reading the assembly output of a program. This way you can query what each command exactly does and deliberate about whether the compiler is producing the desired output or whether you have to tweak your code for optimisation.

Installation

Using cargo

Install using the cargo package manager, either from crates.io or from github:

cargo install asm-lsp
# or to get the latest version from github
cargo install --git https://github.com/bergercookie/asm-lsp

Using .deb (Debian/Ubuntu)

Debian packages are also provided in the here

Set up as a language server

Add a section like the following in your settings.json file:

"asm-lsp": {
    "command": "asm-lsp",
    "filetypes": [
        "asm", "s", "S"
    ]
}

Demo

Hovering / Documentation support

Autocomplete

TODO

Acknowledgements

Current rust package builds on top of the opcodes python package

Dependencies

~8–17MB
~345K SLoC