search for: getaddressfrominstr

Displaying 1 result from an estimated 1 matches for "getaddressfrominstr".

2017 Feb 08
4
[RFC] Using Intel MPX to harden SafeStack
...rs and scale along with a simple displacement, then my pass may be able to compare them. However, if either the base or the index register is redefined by an instruction between the two checks, then my pass is currently unable to compare the two addresses. Incidentally, the pre-emit pass uses the getAddressFromInstr routine, which needs to be patched to properly handle certain global variable addresses [7]. The pre-emit pass also erases checks for addresses that do not specify a base or index register as well as those that specify a RIP-relative offset with no index register. I think that the source code wou...