the injection offset in IDCFlip is now completely left aligned
(instead of bytewise left aligned and bitwise right aligned) git-svn-id: https://www4.informatik.uni-erlangen.de/i4svn/danceos/trunk/devel/fail@1959 8c4709b5-6ec9-48aa-a5cd-a96041d1645a
This commit is contained in:
@ -434,7 +434,7 @@ bool L4SysExperiment::run() {
|
||||
Bit8u bit_index = bit_offset & 7;
|
||||
|
||||
// apply the fault
|
||||
curr_instr_plain[byte_index] ^= 1 << bit_index;
|
||||
curr_instr_plain[byte_index] ^= 0x80 >> bit_index;
|
||||
|
||||
// decode the instruction
|
||||
bxInstruction_c bochs_instr;
|
||||
|
||||
Reference in New Issue
Block a user