Crates.io | naslint |
lib.rs | naslint |
version | 0.0.22 |
source | src |
created_at | 2021-02-12 01:05:53.245631 |
updated_at | 2021-02-15 15:58:12.077198 |
description | A NASM linter which enforces a basic style guide to your (NASM) assembly |
homepage | |
repository | https://github.com/AltriusRS/NASLint |
max_upload_size | |
id | 353996 |
size | 105,806 |
A code linter for NASM code
TAB
replacementcargo install naslint
Other installation methods coming soon
naslint -i /path/to/file.asm
NASLint may contain unstable content for specific versions, to make use of options marked as unstable, the -Z
flag must be present in the command
naslint -i /path/to/file.asm -Z --check-dead
In the above example, we enable the unstable options flag, and gain access to the dead code checking methods of the program. If the -Z
flag was not included, the program would throw an error.
NASLint should be able to compile to any target which has support from the Rust programming language, but certain features require the environment to be one supported by the NASM compiler itself. Please keep this in mind when installing
Currently NASLint only supports NASM syntax Assembly files, but in the future I hope to be able to enable more compatibility for other Assembly syntax types.
If you have any feedback or suggestions, or you want to report a bug, please open an issue with an appropriate title and labels
Contributions should follow the Rust code of conduct, at a minimum.
The software within this repository is dual licensed under Apache 2.0 and MIT. Any contributions of source code are hereby licensed under Apache 2.0 and MIT unless otherwise specified.