Skip to content

Commit

Permalink
hotfix modRM disp non-negative case
Browse files Browse the repository at this point in the history
  • Loading branch information
bdcht committed Oct 23, 2015
1 parent c1ed3f9 commit cf75ac1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion amoco/arch/x86/utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -84,8 +84,8 @@ def getModRM(obj,Mod,RM,data):
d = d.int(-1)
bs = b+s
if bs._is_cst and bs.v==0x0:
bs.v = d
bs.size = adrsz
bs.v = d & bs.mask
d = 0
return env.mem(bs,opdsz,seg,d),data

Expand Down

0 comments on commit cf75ac1

Please sign in to comment.