[PATCH V5 1/2] Initialize bnd register before performing inferior calls.

Yao Qi qiyaoltc@gmail.com
Tue Apr 26 14:08:00 GMT 2016


Walfred Tedeschi <walfred.tedeschi@intel.com> writes:

> BND registers should be initialized before performing an inferior call
> to avoid undesired bound violations.

What are the undesired bound violations?  Do have an example?

Resetting BND registers in the inferior call isn't right to me, the BND
setting isn't in effect in the inferior call.  If the function can
trigger bound violations, it is expected that it still can trigger
violations in the inferior call.

-- 
yao (齐尧)



More information about the Gdb-patches mailing list