Skip to content

Commit

Permalink
Pass inst as a positional arg
Browse files Browse the repository at this point in the history
  • Loading branch information
twizmwazin committed Aug 30, 2023
1 parent ee302c2 commit 4b89168
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tests/test_tricore.py
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ def test_lifting_abs_instructions(self):
print("Lifting (ABS format) ldmst 1000, e2", "-"*50)
inst = b'e5020005'
lifter = LifterTRICORE(ArchTRICORE(), 0)
lifter.lift(data=inst)
lifter.lift(inst)
lifter.irsb.pp()
self.assertEqual(lifter.irsb.arch.name, 'TRICORE')
self.assertEqual(lifter.irsb.stmts_used, 14)
Expand All @@ -27,7 +27,7 @@ def test_lifting_absb_instructions(self):
print("\nLifting (ABSB format) st.t 0x1000, 1, 0", "-"*50)
inst = b'D5010001'
lifter = LifterTRICORE(ArchTRICORE(), 0)
lifter.lift(data=inst)
lifter.lift(inst)
lifter.irsb.pp()
self.assertEqual(lifter.irsb.arch.name, 'TRICORE')
self.assertEqual(lifter.irsb.stmts_used, 21)
Expand Down

0 comments on commit 4b89168

Please sign in to comment.