mirror of
https://github.com/capstone-engine/capstone.git
synced 2025-02-08 23:26:19 +00:00
![Rot127](/assets/img/avatar_default.png)
Because the cs_insn->mnemonic gets set *after* the post_printer is called and cs_insn->mnemonic is not memset to 0 before, post_printer() of PPC receives a cs_insn->mnemonic with random data. This in turn leads randomly to incorrect setting of the branch hints and the update_cr0 flag. Because those are set in the post_printer() of PPC.