Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/jiegec/la-inst
Examine and discover LoongArch instructions
https://github.com/jiegec/la-inst
Last synced: 2 months ago
JSON representation
Examine and discover LoongArch instructions
- Host: GitHub
- URL: https://github.com/jiegec/la-inst
- Owner: jiegec
- Created: 2023-10-04T18:30:34.000Z (over 1 year ago)
- Default Branch: master
- Last Pushed: 2023-10-26T09:26:45.000Z (about 1 year ago)
- Last Synced: 2024-10-26T22:48:41.818Z (3 months ago)
- Language: Rust
- Homepage:
- Size: 246 KB
- Stars: 14
- Watchers: 2
- Forks: 2
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# la-inst
Examine the effects of LoongArch instructions and discover undocumented ones.
Usage:
```shell
# discover undocumented instructions
$ cargo run --bin fuzz
# examine the behavior of instruction
$ cargo run --bin examine 00008020
Inst: 0x00008020, rd = 0, rj = 1, rk = 0
Binutils: Ok(Some("x86inc.b $r1"))
Ptrace: Register changed
LBT 1: OLD=0x00007fffd2cd0c00 NEW=0x0000000000000000
LBT 4: OLD=0x0000000000000000 NEW=0x0000000000000080
```## Acknowledgements
The method is inspired by [RensDofferhoff/iScanU](https://github.com/RensDofferhoff/iScanU).