angr 9.2.100__py3-none-win_amd64.whl → 9.2.102__py3-none-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
@@ -1,7 +1,7 @@
1
1
  # pylint: disable=wildcard-import
2
2
  # pylint: disable=wrong-import-position
3
3
 
4
- __version__ = "9.2.100"
4
+ __version__ = "9.2.102"
5
5
 
6
6
  if bytes is str:
7
7
  raise Exception(
@@ -2454,6 +2454,8 @@ class CFGBase(Analysis):
2454
2454
  src_function.addr,
2455
2455
  src_node,
2456
2456
  dst_node,
2457
+ ins_addr=ins_addr,
2458
+ stmt_idx=stmt_idx,
2457
2459
  to_function_addr=dst_function_addr,
2458
2460
  is_exception=jumpkind == "Ijk_Exception",
2459
2461
  )
angr/engines/pcode/cc.py CHANGED
@@ -96,6 +96,8 @@ def register_pcode_arch_default_cc(arch: ArchPcode):
96
96
  # we have a bunch of manually specified mappings
97
97
  manual_cc_mapping = {
98
98
  "68000:BE:32:default": SimCCM68k,
99
+ "RISCV:LE:32:RV32G": SimCCRISCV,
100
+ "RISCV:LE:32:RV32GC": SimCCRISCV,
99
101
  "RISCV:LE:64:RV64G": SimCCRISCV,
100
102
  "RISCV:LE:64:RV64GC": SimCCRISCV,
101
103
  "sparc:BE:32:default": SimCCSPARC,
@@ -207,7 +207,9 @@ class VariableManagerInternal(Serializable):
207
207
  unified_stack_variables = []
208
208
  unified_memory_variables = []
209
209
 
210
+ unified_variable_idents: Set[str] = set()
210
211
  for variable in self._unified_variables:
212
+ unified_variable_idents.add(variable.ident)
211
213
  if isinstance(variable, SimRegisterVariable):
212
214
  unified_register_variables.append(variable.serialize_to_cmessage())
213
215
  elif isinstance(variable, SimStackVariable):
@@ -223,6 +225,14 @@ class VariableManagerInternal(Serializable):
223
225
 
224
226
  relations = []
225
227
  for variable, unified in self._variables_to_unified_variables.items():
228
+ if unified.ident not in unified_variable_idents:
229
+ l.error(
230
+ "The unified variable %s is missing from the unified variables of function %#x. Please "
231
+ "report it on GitHub.",
232
+ unified.ident,
233
+ self.func_addr,
234
+ )
235
+ continue
226
236
  relation = variables_pb2.Var2Unified()
227
237
  relation.var_ident = variable.ident
228
238
  relation.unified_var_ident = unified.ident
@@ -311,7 +321,14 @@ class VariableManagerInternal(Serializable):
311
321
 
312
322
  for var2unified in cmsg.var2unified:
313
323
  variable = variable_by_ident[var2unified.var_ident]
314
- unified = unified_variable_by_ident[var2unified.unified_var_ident]
324
+ unified = unified_variable_by_ident.get(var2unified.unified_var_ident, None)
325
+ if unified is None:
326
+ l.warning(
327
+ "Unified variable %s is not found in unified_variable_by_ident.", var2unified.unified_var_ident
328
+ )
329
+ # as a stop gap, we make the variable unify to itself
330
+ model._variables_to_unified_variables[variable] = variable
331
+ continue
315
332
  model._variables_to_unified_variables[variable] = unified
316
333
 
317
334
  for phi2var in cmsg.phi2var:
angr/lib/angr_native.dll CHANGED
Binary file
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: angr
3
- Version: 9.2.100
3
+ Version: 9.2.102
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
  Home-page: https://github.com/angr/angr
6
6
  License: BSD-2-Clause
@@ -17,13 +17,13 @@ Description-Content-Type: text/markdown
17
17
  License-File: LICENSE
18
18
  Requires-Dist: CppHeaderParser
19
19
  Requires-Dist: GitPython
20
- Requires-Dist: ailment ==9.2.100
21
- Requires-Dist: archinfo ==9.2.100
20
+ Requires-Dist: ailment ==9.2.102
21
+ Requires-Dist: archinfo ==9.2.102
22
22
  Requires-Dist: cachetools
23
23
  Requires-Dist: capstone ==5.0.0.post1
24
24
  Requires-Dist: cffi >=1.14.0
25
- Requires-Dist: claripy ==9.2.100
26
- Requires-Dist: cle ==9.2.100
25
+ Requires-Dist: claripy ==9.2.102
26
+ Requires-Dist: cle ==9.2.102
27
27
  Requires-Dist: dpkt
28
28
  Requires-Dist: itanium-demangler
29
29
  Requires-Dist: mulpyplexer
@@ -33,7 +33,7 @@ Requires-Dist: protobuf >=3.19.0
33
33
  Requires-Dist: psutil
34
34
  Requires-Dist: pycparser >=2.18
35
35
  Requires-Dist: pyformlang
36
- Requires-Dist: pyvex ==9.2.100
36
+ Requires-Dist: pyvex ==9.2.102
37
37
  Requires-Dist: rich >=13.1.0
38
38
  Requires-Dist: rpyc
39
39
  Requires-Dist: sortedcontainers
@@ -49,10 +49,10 @@ Requires-Dist: myst-parser ; extra == 'docs'
49
49
  Requires-Dist: sphinx ; extra == 'docs'
50
50
  Requires-Dist: sphinx-autodoc-typehints ; extra == 'docs'
51
51
  Provides-Extra: pcode
52
- Requires-Dist: pypcode ~=2.0 ; extra == 'pcode'
52
+ Requires-Dist: pypcode ~=2.0.0 ; extra == 'pcode'
53
53
  Provides-Extra: testing
54
54
  Requires-Dist: keystone-engine ; extra == 'testing'
55
- Requires-Dist: pypcode ~=2.0 ; extra == 'testing'
55
+ Requires-Dist: pypcode ~=2.0.0 ; extra == 'testing'
56
56
  Requires-Dist: pytest ; extra == 'testing'
57
57
  Requires-Dist: pytest-split ; extra == 'testing'
58
58
  Requires-Dist: pytest-xdist ; extra == 'testing'
@@ -1,4 +1,4 @@
1
- angr/__init__.py,sha256=21woDHAvBdmFpvp0-Uih2rSDsQoo-aO8L5SSdvmowCE,3993
1
+ angr/__init__.py,sha256=AUOGmfUfMizk7QJKCYvZkbX6UH8TKbi5R-6xlmJWG8A,3993
2
2
  angr/__main__.py,sha256=kaO56Te6h73SM94BVtASF00q5QbBbC3eBs9poVc9sVI,1887
3
3
  angr/annocfg.py,sha256=dK5JAdN4Ig_jgxTBZeZXwk3kAS4-IQUvE6T02GBZTDQ,10818
4
4
  angr/blade.py,sha256=B8QXVQ93jz1YCIlb-dZLeBqYmVFdMXI5GleP1Wnxjrw,15519
@@ -63,7 +63,7 @@ angr/analyses/cfg/__init__.py,sha256=DRCry4KO2k5VJLyfxD_O6dWAdi21IUoaN5TqCnukJJs
63
63
  angr/analyses/cfg/cfb.py,sha256=TqYdFau9ZH_m6cwkxbA35vDs2ES5rOFqfIuZi0lCBsQ,15450
64
64
  angr/analyses/cfg/cfg.py,sha256=1JpPGlqXXRFwE0tk26xjabT_-dq-kqAxMv7o6-DUhp4,3146
65
65
  angr/analyses/cfg/cfg_arch_options.py,sha256=YONHg6y-h6BCsBkJK9tuxb94DDfeOoy9CUS-LVyyDyg,3112
66
- angr/analyses/cfg/cfg_base.py,sha256=JOliBFWPDWiIJlV5IUxU2Uf7BjExUNcJCibIlOQKoTs,123056
66
+ angr/analyses/cfg/cfg_base.py,sha256=rytyjMyPEEhT1H1CNL5amD6X7Me_HycPRUSOrDaBi2s,123134
67
67
  angr/analyses/cfg/cfg_emulated.py,sha256=Fi3rDN5ByxhO-H4Y7qn-3WZgBG12JGyvxcWmrD_FnFQ,152842
68
68
  angr/analyses/cfg/cfg_fast.py,sha256=2qcNkWihXV7M-KrOQv-j7B3m5okEe_7nIzgmZe09GHE,218261
69
69
  angr/analyses/cfg/cfg_fast_soot.py,sha256=eA_P-OY3gRRNj2BBgSPMsB_llGyFFCNW3VyGZ2uiMoM,26047
@@ -337,7 +337,7 @@ angr/engines/light/data.py,sha256=jZBAJxor2zg5m4s63joSrjUs8H-OeHBZiqZmc3dqEQQ,23
337
337
  angr/engines/light/engine.py,sha256=wL1OdFcu6nHBopFxLSMJSU1C2mwnC88BCVnwYME2XKY,45137
338
338
  angr/engines/pcode/__init__.py,sha256=UwMEwXQvHXIIgedJn2ZOvBBEgfHg2rfREBSpcTSXCZ4,83
339
339
  angr/engines/pcode/behavior.py,sha256=gwMFXQ3cibqchRHnRfiVzzzLIg2mgX-2XJlkD82p8J0,28720
340
- angr/engines/pcode/cc.py,sha256=lwMeO9Mg8L7-uxxPzYmu13n7YLNo-Sr3xxLk_-QHTOU,2994
340
+ angr/engines/pcode/cc.py,sha256=CUKkivYUddt8McAYLwAPO5btzDHwO65yBQvWs3CV9dU,3085
341
341
  angr/engines/pcode/emulate.py,sha256=N8d6iQKSpX-Q8b4BurBWbpeqGePcAtdvE8x7-ojJzcQ,16718
342
342
  angr/engines/pcode/engine.py,sha256=RdZZeKF0kHq94uwtZ6DYl43UJXyAhSie9M2ChVcVT4Y,10551
343
343
  angr/engines/pcode/lifter.py,sha256=N1Ui-BBY3Y6KhuwjOwJSthm4EaxksglAvReCXQGNLu8,52362
@@ -480,12 +480,12 @@ angr/knowledge_plugins/sync/__init__.py,sha256=RN3y0UhYax-GdPyAhondMXEBuWIu-enHj
480
480
  angr/knowledge_plugins/sync/sync_controller.py,sha256=Len-odz6vq6ZhGsRxKH6dSRvjxUnca88XQbtdjdP6Us,9276
481
481
  angr/knowledge_plugins/variables/__init__.py,sha256=tmh_2i0X6Y41TkEgxHRQ4y-kVEGZnlDIpJZ_wUkCISI,60
482
482
  angr/knowledge_plugins/variables/variable_access.py,sha256=CtstTsBph7RCGoWTFsiaPLDMuXjKQAoQ8lgwVMESisA,3751
483
- angr/knowledge_plugins/variables/variable_manager.py,sha256=gm5guiCHTMJfGQFXRmO5VBAWoFC058fNsoziNpvMcZU,45603
483
+ angr/knowledge_plugins/variables/variable_manager.py,sha256=DiJoq6cnGnyEAoC8HmzsvesCLRkPRopOiugHZBfY-mc,46435
484
484
  angr/knowledge_plugins/xrefs/__init__.py,sha256=-5A2h048WTRu6Et7q7bqlc-AyBXNuJ9AF9nE9zc3M4I,94
485
485
  angr/knowledge_plugins/xrefs/xref.py,sha256=w4wjDFl4xtJYOtJplp9s1AIX3wI1RE71po3ufh1M4aY,4963
486
486
  angr/knowledge_plugins/xrefs/xref_manager.py,sha256=OLHEmgwGbFYWhm6oMgglPQ8Fe7rAvKicFeyQoGqSylc,4009
487
487
  angr/knowledge_plugins/xrefs/xref_types.py,sha256=VR3xLQQ-gUg25oX0OL3BJHyQRlZh2A8syBac9ZMS9n4,271
488
- angr/lib/angr_native.dll,sha256=PbNXfzDx1iXUsdsxC8XgZZnMZCJY6-qIEeUqf4kVTkw,19217408
488
+ angr/lib/angr_native.dll,sha256=mZaGMgMSUOKaAFz_BjkaVsgv1LOKMkBzKvZ8cb2Mp1c,19217408
489
489
  angr/misc/__init__.py,sha256=Ct-Q6-c-Frdz5Ihkqmou3j_1jyJi8WJXlQxs-gPQg0Y,237
490
490
  angr/misc/ansi.py,sha256=TKrx7d_MViChHh5RBR2VLufNrujTUioJWsZS5ugk8k4,807
491
491
  angr/misc/autoimport.py,sha256=K64D53xl3xUqBulXAyaypzqYRBjjm4HDn6TlJsBouKw,3426
@@ -1289,9 +1289,9 @@ angr/utils/mp.py,sha256=EPeBml7i1HNOg9OFvj-hoqaGJzKD4fKyM-mHWIaJ3Ko,1825
1289
1289
  angr/utils/segment_list.py,sha256=lhGy16YKKaD-F0JtWmjJ6a2RFcdTrKcLfPE9ILRVtCs,20431
1290
1290
  angr/utils/timing.py,sha256=uOowCP8kotDrKDOjlAod-guBuYkAA8zEtiAwpdwMlIU,1334
1291
1291
  angr/utils/typing.py,sha256=_I4dzZSh1_uRKQ3PpjXseA_CaJH6ru2yAxjICkJhfmI,417
1292
- angr-9.2.100.dist-info/LICENSE,sha256=cgL_ho5B1NH8UxwtBuqThRWdjear8b7hktycaS1sz6g,1327
1293
- angr-9.2.100.dist-info/METADATA,sha256=HNEOh67lSEwerrYrBKE1-q7obv9vzQ_7uKaHNIyxj5Q,4923
1294
- angr-9.2.100.dist-info/WHEEL,sha256=at4xwl6JdXdkZHxdo5ixTwJ7ENtVftSy2wqmsdmo_4U,98
1295
- angr-9.2.100.dist-info/entry_points.txt,sha256=Vjh1C8PMyr5dZFMnik5WkEP01Uwr2T73I3a6N32sgQU,44
1296
- angr-9.2.100.dist-info/top_level.txt,sha256=dKw0KWTbwLXytFvv15oAAG4sUs3ey47tt6DorJG9-hw,5
1297
- angr-9.2.100.dist-info/RECORD,,
1292
+ angr-9.2.102.dist-info/LICENSE,sha256=cgL_ho5B1NH8UxwtBuqThRWdjear8b7hktycaS1sz6g,1327
1293
+ angr-9.2.102.dist-info/METADATA,sha256=cfvtd_0D44sXjEFqyP7UD-Fh1EmgHW6Wj657XvFdLJU,4927
1294
+ angr-9.2.102.dist-info/WHEEL,sha256=at4xwl6JdXdkZHxdo5ixTwJ7ENtVftSy2wqmsdmo_4U,98
1295
+ angr-9.2.102.dist-info/entry_points.txt,sha256=Vjh1C8PMyr5dZFMnik5WkEP01Uwr2T73I3a6N32sgQU,44
1296
+ angr-9.2.102.dist-info/top_level.txt,sha256=dKw0KWTbwLXytFvv15oAAG4sUs3ey47tt6DorJG9-hw,5
1297
+ angr-9.2.102.dist-info/RECORD,,
File without changes