Changeset 99234 in vbox for trunk/src/VBox
- Timestamp:
- Mar 30, 2023 1:39:01 PM (22 months ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/HostDrivers/Support/posix/SUPR3HardenedMain-posix.cpp
r99223 r99234 247 247 if ( RT_FAILURE(rc) 248 248 || Dis.pCurInstr->uOpcode != OP_JMP 249 || !(Dis. ModRM.Bits.Mod == 0 && Dis.ModRM.Bits.Rm == 5 /* wrt RIP */))249 || !(Dis.arch.x86.ModRM.Bits.Mod == 0 && Dis.arch.x86.ModRM.Bits.Rm == 5 /* wrt RIP */)) 250 250 return NULL; 251 251 252 252 /* Extract start address. */ 253 pbSym = (pbSym + cbInstr + Dis.Param1. uDisp.i32);253 pbSym = (pbSym + cbInstr + Dis.Param1.arch.x86.uDisp.i32); 254 254 pbSym = (uint8_t *)*((uintptr_t *)pbSym); 255 255 # else
Note:
See TracChangeset
for help on using the changeset viewer.