angr 9.2.179__cp310-abi3-win_amd64.whl → 9.2.181__cp310-abi3-win_amd64.whl

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.

Potentially problematic release.


This version of angr might be problematic. Click here for more details.

angr/__init__.py CHANGED
@@ -2,7 +2,7 @@
2
2
  # pylint: disable=wrong-import-position
3
3
  from __future__ import annotations
4
4
 
5
- __version__ = "9.2.179"
5
+ __version__ = "9.2.181"
6
6
 
7
7
  if bytes is str:
8
8
  raise Exception(
@@ -55,7 +55,13 @@ class VEXExprConverter(Converter):
55
55
  except UnsupportedIROpError:
56
56
  log.warning("VEXExprConverter: Unsupported IROp %s.", expr.op)
57
57
  return DirtyExpression(
58
- manager.next_atom(), f"unsupported_{expr.op}", [], bits=expr.result_size(manager.tyenv)
58
+ manager.next_atom(),
59
+ f"unsupported_{expr.op}",
60
+ [],
61
+ bits=expr.result_size(manager.tyenv),
62
+ ins_addr=manager.ins_addr,
63
+ vex_block_addr=manager.block_addr,
64
+ vex_stmt_idx=manager.vex_stmt_idx,
59
65
  )
60
66
 
61
67
  log.warning("VEXExprConverter: Unsupported VEX expression of type %s.", type(expr))
@@ -64,7 +70,15 @@ class VEXExprConverter(Converter):
64
70
  except ValueError:
65
71
  # e.g., "ValueError: Type Ity_INVALID does not have size"
66
72
  bits = 0
67
- return DirtyExpression(manager.next_atom(), f"unsupported_{type(expr)!s}", [], bits=bits)
73
+ return DirtyExpression(
74
+ manager.next_atom(),
75
+ f"unsupported_{type(expr)!s}",
76
+ [],
77
+ bits=bits,
78
+ ins_addr=manager.ins_addr,
79
+ vex_block_addr=manager.block_addr,
80
+ vex_stmt_idx=manager.vex_stmt_idx,
81
+ )
68
82
 
69
83
  @staticmethod
70
84
  def convert_list(exprs, manager):
@@ -479,8 +493,22 @@ class VEXStmtConverter(Converter):
479
493
  try:
480
494
  func = STATEMENT_MAPPINGS[type(stmt)]
481
495
  except KeyError:
482
- dirty = DirtyExpression(manager.next_atom(), str(stmt), [], bits=0)
483
- return DirtyStatement(idx, dirty, ins_addr=manager.ins_addr)
496
+ dirty = DirtyExpression(
497
+ manager.next_atom(),
498
+ str(stmt),
499
+ [],
500
+ bits=0,
501
+ ins_addr=manager.ins_addr,
502
+ vex_block_addr=manager.block_addr,
503
+ vex_stmt_idx=manager.vex_stmt_idx,
504
+ )
505
+ return DirtyStatement(
506
+ idx,
507
+ dirty,
508
+ ins_addr=manager.ins_addr,
509
+ vex_block_addr=manager.block_addr,
510
+ vex_stmt_idx=manager.vex_stmt_idx,
511
+ )
484
512
 
485
513
  return func(idx, stmt, manager)
486
514
 
@@ -631,6 +659,9 @@ class VEXStmtConverter(Converter):
631
659
  maddr=maddr,
632
660
  msize=stmt.mSize,
633
661
  bits=bits,
662
+ ins_addr=manager.ins_addr,
663
+ vex_block_addr=manager.block_addr,
664
+ vex_stmt_idx=manager.vex_stmt_idx,
634
665
  )
635
666
 
636
667
  if stmt.tmp == 0xFFFFFFFF:
@@ -133,7 +133,7 @@ class CASIntrinsics(PeepholeOptimizationMultiStmtBase):
133
133
  ins_addr=cas_stmt.ins_addr,
134
134
  )
135
135
 
136
- assignment_dst = cas_stmt.expd_lo
136
+ assignment_dst = cas_stmt.old_lo
137
137
  stmt = Assignment(cas_stmt.idx, assignment_dst, call_expr, **cas_stmt.tags) # type:ignore
138
138
  return [stmt]
139
139
 
@@ -155,7 +155,7 @@ class CASIntrinsics(PeepholeOptimizationMultiStmtBase):
155
155
  bits=cas_stmt.bits,
156
156
  ins_addr=cas_stmt.ins_addr,
157
157
  )
158
- assignment_dst = cas_stmt.expd_lo
158
+ assignment_dst = cas_stmt.old_lo
159
159
  stmt = Assignment(cas_stmt.idx, assignment_dst, call_expr, **cas_stmt.tags) # type:ignore
160
160
  return [stmt, next_stmt]
161
161
 
@@ -188,7 +188,7 @@ class RewritingAnalysis(ForwardAnalysis[RewritingState, ailment.Block, object, o
188
188
  def _reg_predicate(self, node_: Block, *, reg_offset: int, reg_size: int) -> tuple[bool, Any]:
189
189
  out_state: RewritingState = (
190
190
  self.head_controlled_loop_outstates[(node_.addr, node_.idx)]
191
- if is_head_controlled_loop_block(node_)
191
+ if is_head_controlled_loop_block(node_) and (node_.addr, node_.idx) in self.head_controlled_loop_outstates
192
192
  else self.out_states[(node_.addr, node_.idx)]
193
193
  )
194
194
  if reg_offset in out_state.registers and reg_size in out_state.registers[reg_offset]:
angr/rustylib.pyd CHANGED
Binary file
angr/unicornlib.dll CHANGED
Binary file
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: angr
3
- Version: 9.2.179
3
+ Version: 9.2.181
4
4
  Summary: A multi-architecture binary analysis toolkit, with the ability to perform dynamic symbolic execution and various static analyses on binaries
5
5
  License: BSD-2-Clause
6
6
  Project-URL: Homepage, https://angr.io/
@@ -16,12 +16,12 @@ Description-Content-Type: text/markdown
16
16
  License-File: LICENSE
17
17
  Requires-Dist: cxxheaderparser
18
18
  Requires-Dist: GitPython
19
- Requires-Dist: archinfo==9.2.179
19
+ Requires-Dist: archinfo==9.2.181
20
20
  Requires-Dist: cachetools
21
21
  Requires-Dist: capstone==5.0.3
22
22
  Requires-Dist: cffi>=1.14.0
23
- Requires-Dist: claripy==9.2.179
24
- Requires-Dist: cle==9.2.179
23
+ Requires-Dist: claripy==9.2.181
24
+ Requires-Dist: cle==9.2.181
25
25
  Requires-Dist: msgspec
26
26
  Requires-Dist: mulpyplexer
27
27
  Requires-Dist: networkx!=2.8.1,>=2.0
@@ -31,7 +31,7 @@ Requires-Dist: pycparser>=2.18
31
31
  Requires-Dist: pydemumble
32
32
  Requires-Dist: pyformlang
33
33
  Requires-Dist: pypcode<4.0,>=3.2.1
34
- Requires-Dist: pyvex==9.2.179
34
+ Requires-Dist: pyvex==9.2.181
35
35
  Requires-Dist: rich>=13.1.0
36
36
  Requires-Dist: sortedcontainers
37
37
  Requires-Dist: sympy
@@ -1,4 +1,4 @@
1
- angr/__init__.py,sha256=ykr03sxyCVZ3pYsAMuCKnrK8sqlHswO3PLzQaUNZ9FY,9246
1
+ angr/__init__.py,sha256=1pE5p9JThmNukyyFJyesCMVqYX_koyJJEZ5hEqvQnCg,9246
2
2
  angr/__main__.py,sha256=N6uAG4GA5S02pSDUKcWFmTuWiT-qiO7OP7kSfXsF4nQ,6142
3
3
  angr/annocfg.py,sha256=0NIvcuCskwz45hbBzigUTAuCrYutjDMwEXtMJf0y0S0,10742
4
4
  angr/blade.py,sha256=OGGW-oggqI9_LvgZhiQuh9Ktkvf3vhRBmH0XviNyZ6o,15801
@@ -15,7 +15,7 @@ angr/keyed_region.py,sha256=Cx6dadqFgEvRmEHTbCJpg9mXkBtKGc_BKckHc6bk1IU,17992
15
15
  angr/knowledge_base.py,sha256=hRoSLuLaOXmddTSF9FN5TVs7liftpBGq_IICz5AaYBk,4533
16
16
  angr/project.py,sha256=sXHWI8EVNK8Ax6--yNOMhyt77Mcxg6shzD1NbMf0GT0,38267
17
17
  angr/py.typed,sha256=la67KBlbjXN-_-DfGNcdOcjYumVpKG_Tkw-8n5dnGB4,8
18
- angr/rustylib.pyd,sha256=iPQ9RKBKQAQvjaZ2raUHNj_UtdC72xxyv_8qrVCFtX4,4460032
18
+ angr/rustylib.pyd,sha256=5x0LCPBwG7kvRlLurnGFW7SahVeGPQu9wW-hU1P5BAQ,4432384
19
19
  angr/serializable.py,sha256=l908phj_KcqopEEL_oCufbP_H6cm3Wc9v-5xdux1-6g,1533
20
20
  angr/sim_manager.py,sha256=w7yTfWR-P9yoN5x85eeiNpj9dTrnjpJ3o5aoFpDAPnc,39396
21
21
  angr/sim_options.py,sha256=WNLSnmn7gqKBYgQs3Me2H3zKusgt0WVqFzsBuzEZpoU,17436
@@ -27,7 +27,7 @@ angr/sim_variable.py,sha256=3DssmMw5G7m_-MYToJ3LBP-ooy2UQEuI2YgxIuX3d4Y,13177
27
27
  angr/slicer.py,sha256=DND0BERanYKafasRH9MDFAng0rSjdjmzXj2-phCD6CQ,10634
28
28
  angr/state_hierarchy.py,sha256=qDQCUGXmQm3vOxE3CSoiqTH4OAFFOWZZt9BLhNpeOhA,8484
29
29
  angr/tablespecs.py,sha256=Kx1e87FxTx3_ZN7cAHWZSRpdInT4Vfj5gExAWtLkLTw,3259
30
- angr/unicornlib.dll,sha256=VkbZ87Q4dyE29zeVYpWQUTKzXvQPFOs6PPYcmAduQOc,813568
30
+ angr/unicornlib.dll,sha256=skYKG7rr21BjT9G9Ci_Ij1XsohVimNzkcxmxPRsNF5s,813568
31
31
  angr/vaults.py,sha256=D_gkDegCyPlZMKGC5E8zINYAaZfSXNWbmhX0rXCYpvM,9718
32
32
  angr/ailment/__init__.py,sha256=X1LTS6MuTovGtbXBjZendUVOzRk-ib-bP0imuqJDOYI,2039
33
33
  angr/ailment/block.py,sha256=rkmimsNPhrUabVVbRd2IgCaW0hA2_isvAsKlYtHZhgY,2428
@@ -35,7 +35,7 @@ angr/ailment/block_walker.py,sha256=pAIHNaN0BMxz8iEy-_4qWz1xX-QFSSPr_iA1qqIWsa8,
35
35
  angr/ailment/constant.py,sha256=UG4OKm6VL3uBW_0NxlosWKBqK49gyduJjw64nBcfFfE,64
36
36
  angr/ailment/converter_common.py,sha256=6MxxI3PRZBlFlIP2uZhQAa8vDvJr0nMDd-QnTbPLn6o,180
37
37
  angr/ailment/converter_pcode.py,sha256=6kJmHk2WjPtfQDu_k-4ncRIaNayvxOdsyMFVNUwzUg0,23958
38
- angr/ailment/converter_vex.py,sha256=yIe0hFwuc_2mHVWw_F31u7hDPBQ-7VwuPXaQyNmqfXo,28159
38
+ angr/ailment/converter_vex.py,sha256=PSZvU83HCtRpVax87QUJXWiAshuZ02pNjyU9TbyJ8iU,29091
39
39
  angr/ailment/expression.py,sha256=8gmRcBOBdNitm9xLj7ZRyc8OWhYHep5ANSyQo7EIcms,48632
40
40
  angr/ailment/manager.py,sha256=N6yMJnBdxJfj568KYZbKYERHmQIQpMf_hZPwfpdk9Y8,699
41
41
  angr/ailment/statement.py,sha256=3JEhg-JDRrNjaeHFgO-liEIrZRW6v5sIsOqcGHiuM3A,30472
@@ -221,7 +221,7 @@ angr/analyses/decompiler/peephole_optimizations/basepointeroffset_and_mask.py,sh
221
221
  angr/analyses/decompiler/peephole_optimizations/bitwise_or_to_logical_or.py,sha256=09PA82Sg2FlBp2XZd4-WSES-8BQesXPXvIlpuuGByvM,1306
222
222
  angr/analyses/decompiler/peephole_optimizations/bool_expr_xor_1.py,sha256=vLXt0ekjRep4SgaNq1wyxVkBTzOMTa03d3rgkjUOcUg,995
223
223
  angr/analyses/decompiler/peephole_optimizations/bswap.py,sha256=fXV_a58W2X30KCanYeSHdZ2yPcfDlyZq_OkYNMkglrg,6420
224
- angr/analyses/decompiler/peephole_optimizations/cas_intrinsics.py,sha256=lzlyhe1RP020ezYN77QRFu5p7zNaH4XSMkpBhxRP7ms,7959
224
+ angr/analyses/decompiler/peephole_optimizations/cas_intrinsics.py,sha256=xfLNvquH6x_-NtEHJpbBJBPTIcBQW6-JpDmcHeuRTxA,7957
225
225
  angr/analyses/decompiler/peephole_optimizations/cmpord_rewriter.py,sha256=sJV-8aP9KUx5Kt7pZmb3M28K3z2bGD3NWJFZOdYaBYc,2662
226
226
  angr/analyses/decompiler/peephole_optimizations/coalesce_adjacent_shrs.py,sha256=fXq-qFe7JUdD5LdtUhoA9AF3LnY-3Jrmo4t3ZRJIIiQ,1414
227
227
  angr/analyses/decompiler/peephole_optimizations/coalesce_same_cascading_ifs.py,sha256=--C1JQluHt8ltdfUPBHvRD3SjW_ZcBU3oWdFwpCtpuw,1072
@@ -281,7 +281,7 @@ angr/analyses/decompiler/region_simplifiers/region_simplifier.py,sha256=9Kt6TmXF
281
281
  angr/analyses/decompiler/region_simplifiers/switch_cluster_simplifier.py,sha256=QYrSLtD9zvfJnU8VwFa0E7NaDfKkA8vF32s2G08wTho,24926
282
282
  angr/analyses/decompiler/region_simplifiers/switch_expr_simplifier.py,sha256=YSmBBC1MIr4Na1DDFiw-309nkyNTnL-9hucM8gZf-C0,3351
283
283
  angr/analyses/decompiler/ssailification/__init__.py,sha256=zcHoI7e2El2RSU_bHTpQRd1XRLHOfFScG6f3cm5y_lQ,108
284
- angr/analyses/decompiler/ssailification/rewriting.py,sha256=aIYuFGlroEXqxaf6lZCfodLD2B53Sb8UJgl2nNb4lg8,15076
284
+ angr/analyses/decompiler/ssailification/rewriting.py,sha256=opMP9ONIx-cQ26PSyXO_NR9MTM_LaH-MObFk8C2uXto,15143
285
285
  angr/analyses/decompiler/ssailification/rewriting_engine.py,sha256=wGUdybrGWTlE73hwS3gzyRiTtXL03tq8FL7-qYNl_X8,41486
286
286
  angr/analyses/decompiler/ssailification/rewriting_state.py,sha256=NAwVcBYh-BQo9K7nfnUlNDBAYflfFMgBYzsVD3BwiN8,1898
287
287
  angr/analyses/decompiler/ssailification/ssailification.py,sha256=LGRFDz6tQmKeJKomSQlxTTr3ILdJaI0iYBaizE5BNCI,11288
@@ -1398,9 +1398,9 @@ angr/utils/vex.py,sha256=epcrCexi_NjKnPGM2gfpiRsUea_Scd-71UMuF32ZAQo,306
1398
1398
  angr/utils/ssa/__init__.py,sha256=rKlgdaTSouwofsLNMa8MKfWb_tqntfp_B5nm-FOeh2Y,17390
1399
1399
  angr/utils/ssa/tmp_uses_collector.py,sha256=digAUQpYoFR1VYfwoXlF3T1pYdDi6Pdq_ck54SjMabQ,813
1400
1400
  angr/utils/ssa/vvar_uses_collector.py,sha256=HewqUQluNE9EsaiLeFo7LaBvws_DDBDYNt9RBExy464,1367
1401
- angr-9.2.179.dist-info/licenses/LICENSE,sha256=PmWf0IlSz6Jjp9n7nyyBQA79Q5C2ma68LRykY1V3GF0,1456
1402
- angr-9.2.179.dist-info/METADATA,sha256=ABpFB2zNnnO-f0azbvAqGUUZbYiLTxd83REKJq32Q-o,4557
1403
- angr-9.2.179.dist-info/WHEEL,sha256=OJ2zpOfp3Fst0GC5jHtFuY8tAf46LLgZ9O920dE4b3c,100
1404
- angr-9.2.179.dist-info/entry_points.txt,sha256=Vjh1C8PMyr5dZFMnik5WkEP01Uwr2T73I3a6N32sgQU,44
1405
- angr-9.2.179.dist-info/top_level.txt,sha256=dKw0KWTbwLXytFvv15oAAG4sUs3ey47tt6DorJG9-hw,5
1406
- angr-9.2.179.dist-info/RECORD,,
1401
+ angr-9.2.181.dist-info/licenses/LICENSE,sha256=PmWf0IlSz6Jjp9n7nyyBQA79Q5C2ma68LRykY1V3GF0,1456
1402
+ angr-9.2.181.dist-info/METADATA,sha256=BhTsNM6dHYZuXJioQSQQZG-3954H4kttEQCgdB--KHo,4557
1403
+ angr-9.2.181.dist-info/WHEEL,sha256=OJ2zpOfp3Fst0GC5jHtFuY8tAf46LLgZ9O920dE4b3c,100
1404
+ angr-9.2.181.dist-info/entry_points.txt,sha256=Vjh1C8PMyr5dZFMnik5WkEP01Uwr2T73I3a6N32sgQU,44
1405
+ angr-9.2.181.dist-info/top_level.txt,sha256=dKw0KWTbwLXytFvv15oAAG4sUs3ey47tt6DorJG9-hw,5
1406
+ angr-9.2.181.dist-info/RECORD,,
File without changes