zyantific / zydis

Fast and lightweight x86/x86-64 disassembler and code generation library
https://zydis.re
MIT License
3.47k stars 436 forks source link

rep movsb is not reporting (r/e)si/(r(e)di as read #524

Open ZehMatt opened 2 months ago

ZehMatt commented 2 months ago

image The registers are reported as conditional write but rep movsb is also updating them based on the direction flag so they should be at least marked as read. I know that technically I can go by memory operands as that always implies read but the update operation of those registers aren't related to the memory operand.