diff options
| author | Ajax <commial@gmail.com> | 2017-08-03 17:35:24 +0200 |
|---|---|---|
| committer | Ajax <commial@gmail.com> | 2017-08-03 19:46:11 +0200 |
| commit | a00bbd87654960f5e39c213a4e0a484472bb8bd3 (patch) | |
| tree | e50d39a926645c855adf1f480468c6926c690625 /miasm2/core/objc.py | |
| parent | c01a309d013827a56b64359e24782e0c9bdb34ce (diff) | |
| download | miasm-a00bbd87654960f5e39c213a4e0a484472bb8bd3.tar.gz miasm-a00bbd87654960f5e39c213a4e0a484472bb8bd3.zip | |
Avoid racing ._size assignment in ExprInt
With Singleton behavior activated, ._size can be set during __new__, and reset to None during __init__. During unpickling, attributes fixes and __init__ / __new__ call order can also result in a weird behavior Actually, as _size is not modified during __new__, ExprInt behavior is now homogeneous with others Expr's __init__
Diffstat (limited to 'miasm2/core/objc.py')
0 files changed, 0 insertions, 0 deletions