Changeset 100824 in vbox
- Timestamp:
- Aug 9, 2023 12:21:27 AM (16 months ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/VMM/VMMAll/IEMAllThrdFuncsBltIn.cpp
r100806 r100824 163 163 * number of functions. 164 164 */ 165 /** @todo consider 32-bit EIP mid-instruction wrap-around... Difficult to 166 * test, since it would require replacing the default firmware. */ 165 167 #define BODY_CHECK_CS_LIM(a_cbInstr) do { \ 166 if (RT_LIKELY( pVCpu->cpum.GstCtx.eip - pVCpu->cpum.GstCtx.cs.u32Limit >= cbInstr)) \168 if (RT_LIKELY((uint32_t)(pVCpu->cpum.GstCtx.eip + cbInstr) <= pVCpu->cpum.GstCtx.cs.u32Limit)) \ 167 169 { /* likely */ } \ 168 170 else \
Note:
See TracChangeset
for help on using the changeset viewer.