chyyuu / distorm

Automatically exported from code.google.com/p/distorm
GNU General Public License v3.0
0 stars 0 forks source link

DF_STOP_ON_CALL defined twice in __init__.py #52

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
Trivial (and hamless) mistake. Not really that important.

__init__.py:
---8<---
# Some features
DF_NONE = 0
DF_MAXIMUM_ADDR16 = 1
DF_MAXIMUM_ADDR32 = 2
DF_RETURN_FC_ONLY = 4
DF_STOP_ON_CALL = 8     <--------------------- First definition
# Flow control flags
DF_STOP_ON_CALL = 0x8   <--------------------- Second
DF_STOP_ON_RET  = 0x10
DF_STOP_ON_SYS  = 0x20
DF_STOP_ON_UNC_BRANCH  = 0x40
DF_STOP_ON_CND_BRANCH  = 0x80
DF_STOP_ON_INT  = 0x100
DF_STOP_ON_CMOV  = 0x200
DF_STOP_ON_FLOW_CONTROL = (DF_STOP_ON_CALL | DF_STOP_ON_RET | DF_STOP_ON_SYS | \
    DF_STOP_ON_UNC_BRANCH | DF_STOP_ON_CND_BRANCH | DF_STOP_ON_INT | DF_STOP_ON_CMOV)
---8<---

Original issue reported on code.google.com by vex...@gmail.com on 8 Aug 2012 at 10:14

GoogleCodeExporter commented 9 years ago
vext I accidentally committed the wrong file. And now I am on vacation. I will 
try to fix it now, or once I am back. Thanks!

Original comment by distorm@gmail.com on 8 Aug 2012 at 5:06

GoogleCodeExporter commented 9 years ago

Original comment by distorm@gmail.com on 20 Sep 2012 at 11:14