iovisor / ubpf

Userspace eBPF VM
Apache License 2.0
814 stars 132 forks source link

Spruce Up Disassembler #550

Open hawkinsw opened 5 days ago

hawkinsw commented 5 days ago

Bring disassembler code into modern Python era by using f-strings for formatting output. Also, add an option for giving verbose information about the fields of the disassembled instructions. Finally, add the ability to print warnings when unused fields in the instruction contain non-zero values.

coveralls commented 5 days ago

Coverage Status

coverage: 80.809%. remained the same when pulling bc3c102d81490cdaf56201d3e1cd782a310e1563 on hawkinsw:disassembler into 661668211e0d654c1fc66f75a63d6a1739c2649c on iovisor:main.