| To: | Martin Hicks <mort@xxxxxxx> |
|---|---|
| Subject: | Re: [kdb] Invalidate registers if values are on the stack? |
| From: | Keith Owens <kaos@xxxxxxxxxx> |
| Date: | Sat, 07 Feb 2009 23:14:39 +1100 |
| Cc: | kdb@xxxxxxxxxxx |
| In-reply-to: | Your message of "Fri, 06 Feb 2009 12:31:33 MDT." <20090206183133.GR17610@xxxxxxxxxxxxxxxxxxxxxxxxx> |
On Fri, 6 Feb 2009 12:31:33 -0600,
Martin Hicks <mort@xxxxxxx> wrote:
>
>why does bb_start_block0_special in arch/x86/kdb/kdba_bt.c automatically
>invalidate the register if the NS specifies that the contents of the
>register is also on the stack?
>
> for (i = 0; i < r->mem_size; ++i) {
> value = r->mem[i].value;
> if (test_bit(value, r->skip_mem.bits)) {
> /* this memory entry is not defined for this label */
> continue;
> }
> bb_memory_set_reg_value(BBRG_RSP, r->mem[i].offset_address,
> value, 0);
> bb_reg_set_undef(value);
> }
Not also, instead of. If a saved register is passed on stack then we
do not want the register that originally contained that value to be
considered as part of the data flow.
|
| <Prev in Thread] | Current Thread | [Next in Thread> |
|---|---|---|
| ||
| Previous by Date: | Invalidate registers if values are on the stack?, Martin Hicks |
|---|---|
| Next by Date: | 诚招韩国方便面经销商, jinzhenji216@xxxxxxxxx |
| Previous by Thread: | Invalidate registers if values are on the stack?, Martin Hicks |
| Next by Thread: | 诚招韩国方便面经销商, jinzhenji216@xxxxxxxxx |
| Indexes: | [Date] [Thread] [Top] [All Lists] |