Indentation

This commit is contained in:
feliam 2016-03-10 07:45:36 -03:00
parent 3038726a5b
commit 23b3f651f9
3 changed files with 6 additions and 5 deletions

View file

@ -206,6 +206,7 @@ class Uc(object):
except: # _uc might be pulled from under our feet
pass
# emulate from @begin, and stop when reaching address @until
def emu_start(self, begin, until, timeout=0, count=0):
status = _uc.uc_emu_start(self._uch, begin, until, timeout, count)

View file

@ -629,7 +629,6 @@ int x86_reg_write(struct uc_struct *uc, unsigned int regid, const void *value)
break;
case UC_X86_REG_FP0 ... UC_X86_REG_FP7:
{
//floatx80 cpu_set_fp80(uint64_t mant, uint16_t upper);
uint64_t mant = *(uint64_t*) value;
uint16_t upper = *(uint16_t*) (value + sizeof(uint64_t));
X86_CPU(uc, mycpu)->env.fpregs[regid - UC_X86_REG_FP0].d = cpu_set_fp80(mant, upper);
@ -654,6 +653,7 @@ int x86_reg_write(struct uc_struct *uc, unsigned int regid, const void *value)
fptag >>= 2;
}
}
break;
}
switch(uc->mode) {