-
Notifications
You must be signed in to change notification settings - Fork 566
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
i#6238: validate instructions: push,pop,cmp,pusha,popa,push_imm,ret,ret_far,loopne,loope,loop,movzx,cmp,rcr #6331
Conversation
…_imm,OP_ret,OP_ret_far,OP_loopne,OP_loope,OP_loop,OP_movzx,OP_cmp,OP_rcr
You removed FP for LOAD/STORE? I think people would want to distinguish a load or store to an FP reg from a GPR. |
Hm. Let me add to new types for FP to eclude subcategory assert in this case.
|
I don't think we should be making compound categories like FP_MOVE, FP_STORE, or FP_LOAD when we can compose the existing categories: what is the advantage of FP_STORE over FP|STORE? I would think combining FP with the other categories is what we want. |
Let's remove dr_fp_type_t at all in this case and migrate to categories. |
Oh I misread it: I thought that patch in your comment #6331 (comment) was adding DR_INSTR_CATEGORY_FP_LOAD. I don't think we need to update the older dr_fp_type_t. Marking it as deprecated (there is a Doxygen tag for that) sounds fine. |
Add instructions to categories:
OP_push,OP_pop,OP_cmp,OP_pusha,OP_popa,OP_push_imm,OP_ret,OP_ret_far,OP_loopne,OP_loope,OP_loop,OP_movzx,OP_cmp,OP_rcr
Fix: Moved category decoding after operands decoding to check STORE/LOAD memory access
Issue: #6238