diff options
| author | serpilliere <serpilliere@users.noreply.github.com> | 2016-10-03 13:33:56 +0200 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2016-10-03 13:33:56 +0200 |
| commit | 664cd60430c535931e2a10c5fbe18235756fba0c (patch) | |
| tree | a90abf03c7495779b12549f0a6d7a443b5b96def /miasm2/arch/mips32/sem.py | |
| parent | 9bc007e7350851d1d97e426f4d1ae369facdb721 (diff) | |
| parent | c86e781f38e4b3688392d726bdd6fcbc2e6d377b (diff) | |
| download | miasm-664cd60430c535931e2a10c5fbe18235756fba0c.tar.gz miasm-664cd60430c535931e2a10c5fbe18235756fba0c.zip | |
Merge pull request #430 from commial/feature/int_ExprInt
Feature/int expr int
Diffstat (limited to 'miasm2/arch/mips32/sem.py')
| -rw-r--r-- | miasm2/arch/mips32/sem.py | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/miasm2/arch/mips32/sem.py b/miasm2/arch/mips32/sem.py index 93f7d8c3..d03772ca 100644 --- a/miasm2/arch/mips32/sem.py +++ b/miasm2/arch/mips32/sem.py @@ -131,8 +131,8 @@ def l_and(arg1, arg2, arg3): @sbuild.parse def ext(arg1, arg2, arg3, arg4): - pos = int(arg3.arg) - size = int(arg4.arg) + pos = int(arg3) + size = int(arg4) arg1 = arg2[pos:pos + size].zeroExtend(32) @sbuild.parse @@ -311,8 +311,8 @@ def tlbp(): def ins(ir, instr, a, b, c, d): e = [] - pos = int(c.arg) - l = int(d.arg) + pos = int(c) + l = int(d) my_slices = [] if pos != 0: |