2 stable releases

1.0.1 Jul 18, 2021

#2262 in Parser implementations

Download history 8/week @ 2024-02-18 35/week @ 2024-02-25 5/week @ 2024-03-03 15/week @ 2024-03-10 5/week @ 2024-03-17 2/week @ 2024-03-24 44/week @ 2024-03-31 1/week @ 2024-04-07 5/week @ 2024-04-14

53 downloads per month
Used in yaxpeax-dis

0BSD license

28KB
571 lines

yaxpeax-lc87

crate documentation

an lc87 decoder implemented as part of the yaxpeax proect, including traits provided by yaxpeax-arch.

users of this library will either want to use quick and dirty APIs, or more generic decode interfaces from yaxpeax-arch - appropriate when mixing yaxpeax-lc87 with other yaxpeax decoders, such as yaxpeax-x86.

features

  • it exists
  • pretty small?
  • #[no_std]

it exists

i'm aware of only one other lc87 decoder on the internet: chrisnoisel's Ghidra work.

pretty small?

the lc87 instruction set is very small. the decoder is about 300 lines of Rust. it seems plausible that there is more rodata in the form of opcode strings, than actual code to disassemble instructions.

#[no_std]

if, for some reason, you want to disassemble lc87 instructions without the Rust standard library around, that should work. this is primarily for consistency with other decoders than any need, and is not particularly tested.

Dependencies

~220KB