angr 9.2.43__py3-none-manylinux2014_x86_64.whl → 9.2.45__py3-none-manylinux2014_x86_64.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.43"
4
+ __version__ = "9.2.45"
5
5
 
6
6
  if bytes is str:
7
7
  raise Exception(
@@ -871,7 +871,7 @@ class RegionIdentifier(Analysis):
871
871
  full_graph.add_edge(src, dst, **data)
872
872
  if src in loop_nodes:
873
873
  subgraph.add_edge(src, dst, **data)
874
- elif src is region:
874
+ elif src == region:
875
875
  subgraph.add_edge(head, dst, **data)
876
876
  elif src in normal_entries:
877
877
  # graph.add_edge(src, region, **data)
@@ -887,9 +887,9 @@ class RegionIdentifier(Analysis):
887
887
  full_graph.add_edge(src, dst, **data)
888
888
  if dst in loop_nodes:
889
889
  subgraph.add_edge(src, dst, **data)
890
- elif dst is region:
890
+ elif dst == region:
891
891
  subgraph.add_edge(src, head, **data)
892
- elif dst is normal_exit_node:
892
+ elif dst == normal_exit_node:
893
893
  region_outedges.append((node, dst))
894
894
  # graph.add_edge(region, dst, **data)
895
895
  delayed_edges.append((region, dst, data))
@@ -417,8 +417,12 @@ class SimEngineRDVEX(
417
417
  elif self.state.is_heap_address(addr):
418
418
  # Load data from the heap
419
419
  heap_offset = self.state.get_heap_offset(addr)
420
- vs: MultiValues = self.state.heap_definitions.load(heap_offset, size=size, endness=endness)
421
- defs = set(LiveDefinitions.extract_defs_from_mv(vs))
420
+ try:
421
+ vs: MultiValues = self.state.heap_definitions.load(heap_offset, size=size, endness=endness)
422
+ defs = set(LiveDefinitions.extract_defs_from_mv(vs))
423
+ except SimMemoryMissingError:
424
+ continue
425
+
422
426
  self.state.add_heap_use_by_defs(defs, self._codeloc())
423
427
  result = result.merge(vs) if result is not None else vs
424
428
 
@@ -579,7 +583,7 @@ class SimEngineRDVEX(
579
583
  elif expr0_v is not None and expr1_v is None:
580
584
  # adding a single value to a multivalue
581
585
  if expr1.count() == 1 and 0 in expr1:
582
- vs = {v.sign_extend(expr0_v.size() - v.size()) + expr0_v for v in expr1[0]}
586
+ vs = {expr0_v + v.sign_extend(expr0_v.size() - v.size()) for v in expr1[0]}
583
587
  r = MultiValues(offset_to_values={0: vs})
584
588
  else:
585
589
  # adding two single values together
angr/utils/graph.py CHANGED
@@ -146,6 +146,9 @@ def subgraph_between_nodes(graph, source, frontier, include_frontier=False):
146
146
  traversed.add(node)
147
147
 
148
148
  for _, succ, data in graph.out_edges(node, data=True):
149
+ if g0.has_edge(node, succ):
150
+ continue
151
+
149
152
  g0.add_edge(node, succ, **data)
150
153
  if succ in traversed or succ in frontier:
151
154
  continue
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: angr
3
- Version: 9.2.43
3
+ Version: 9.2.45
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
@@ -16,13 +16,13 @@ Description-Content-Type: text/markdown
16
16
  License-File: LICENSE
17
17
  Requires-Dist: CppHeaderParser
18
18
  Requires-Dist: GitPython
19
- Requires-Dist: ailment (==9.2.43)
20
- Requires-Dist: archinfo (==9.2.43)
19
+ Requires-Dist: ailment (==9.2.45)
20
+ Requires-Dist: archinfo (==9.2.45)
21
21
  Requires-Dist: cachetools
22
22
  Requires-Dist: capstone (!=5.0.0rc2,>=3.0.5rc2)
23
23
  Requires-Dist: cffi (>=1.14.0)
24
- Requires-Dist: claripy (==9.2.43)
25
- Requires-Dist: cle (==9.2.43)
24
+ Requires-Dist: claripy (==9.2.45)
25
+ Requires-Dist: cle (==9.2.45)
26
26
  Requires-Dist: dpkt
27
27
  Requires-Dist: itanium-demangler
28
28
  Requires-Dist: mulpyplexer
@@ -32,7 +32,7 @@ Requires-Dist: progressbar2 (>=3)
32
32
  Requires-Dist: protobuf (>=3.19.0)
33
33
  Requires-Dist: psutil
34
34
  Requires-Dist: pycparser (>=2.18)
35
- Requires-Dist: pyvex (==9.2.43)
35
+ Requires-Dist: pyvex (==9.2.45)
36
36
  Requires-Dist: rpyc
37
37
  Requires-Dist: sortedcontainers
38
38
  Requires-Dist: sympy
@@ -1,4 +1,4 @@
1
- angr/__init__.py,sha256=nnAqJY9N3HcR1ewZjtHwFhI3oTungftUju3ZdrtM87E,2800
1
+ angr/__init__.py,sha256=RgYjRtaqH_SSid1YFJS-8otGx6IK9SzyIwfy8_2ZHUE,2800
2
2
  angr/annocfg.py,sha256=dK5JAdN4Ig_jgxTBZeZXwk3kAS4-IQUvE6T02GBZTDQ,10818
3
3
  angr/blade.py,sha256=1f5cqw1w6mKtYszN2-5QMxaoP_bbqpIaVlE7Vpf8yjc,15161
4
4
  angr/block.py,sha256=2XEvImDfD9NeQAKPGnulds4GKepThwwtnvV-22S3Gf0,14215
@@ -105,7 +105,7 @@ angr/analyses/decompiler/graph_region.py,sha256=iGyTyhCS7DQx0xMTj2xnyQm1TWK9pqxm
105
105
  angr/analyses/decompiler/jump_target_collector.py,sha256=rA0IhZuJ20-jOQTjT7fnhyW2qwPdJI4SmnhLRtuADro,1181
106
106
  angr/analyses/decompiler/jumptable_entry_condition_rewriter.py,sha256=dcgnXt3oKa8Qm_KtT-Rl7XDmLetvOj_UFALxC2HGLac,2139
107
107
  angr/analyses/decompiler/redundant_label_remover.py,sha256=kDGGFWWV61I5fbASiTQTHgDCFLIOkffUdDOsu5yg5ok,5385
108
- angr/analyses/decompiler/region_identifier.py,sha256=GGfGSYqr5_bgegXaKrQ3kVAPcYc67i-xjbjpF_ssnaQ,43923
108
+ angr/analyses/decompiler/region_identifier.py,sha256=A3egJzcp_1XnGjiVnsEobgaXuzJ9_3ttLwSEv-ikdoQ,43923
109
109
  angr/analyses/decompiler/region_walker.py,sha256=lTfweYbY4_a2f2yGztTKG6JtU1jXf-kaz-NHbX9nkXE,717
110
110
  angr/analyses/decompiler/sequence_walker.py,sha256=Ak8jog1BRJIQZdOv7QRzcv-SgXR0Wfh0QicqgXuWUIM,7410
111
111
  angr/analyses/decompiler/utils.py,sha256=mOR2BphGYNoewtpL3eTpUaoXDaNRyYYrNT4jjg4qIB8,13427
@@ -243,7 +243,7 @@ angr/analyses/reaching_definitions/__init__.py,sha256=SMMZsXT0LZwiTUbcooXzo9g5pj
243
243
  angr/analyses/reaching_definitions/call_trace.py,sha256=5y8VtU-5-2ISamCkok6zoMahWASO2TBQYl5Q0pgeLGw,2217
244
244
  angr/analyses/reaching_definitions/dep_graph.py,sha256=jR6X6mUYu73vM6AyCo2PT22ldlMX8dZEDyaEx6bqNZg,7516
245
245
  angr/analyses/reaching_definitions/engine_ail.py,sha256=AJ218XvV1uJpuE2YKtH2JIi6_cVsu3BddPklvJ-g4WA,49471
246
- angr/analyses/reaching_definitions/engine_vex.py,sha256=I4hDEoO94XhNNNgUrVI89va347LoM24tYh2T-aV1QuM,50256
246
+ angr/analyses/reaching_definitions/engine_vex.py,sha256=Fhi6kacWvWhpblSEBoPB1rSJCdzU05IwKTHU5Or5m_k,50361
247
247
  angr/analyses/reaching_definitions/external_codeloc.py,sha256=sayJE7htFBBPXkZGnOeTK9hxoW-LPS2r1NeX39p-uF0,1099
248
248
  angr/analyses/reaching_definitions/function_handler.py,sha256=URJj8d-kHImWDuQLyvFWBx4S6cgV7EZFjAI7Z2pdwio,5284
249
249
  angr/analyses/reaching_definitions/heap_allocator.py,sha256=L7LCcE-QvLd_vuc0slWmQ6X73wkYNMkUEDy1cJAV818,2634
@@ -1172,14 +1172,14 @@ angr/utils/dynamic_dictlist.py,sha256=80kE4ySWF3dAffUt5qlyUfK6h0A8jOVMMaNG8RNUz7
1172
1172
  angr/utils/enums_conv.py,sha256=YdnZzvuVc_BW1EuC4OtEo7LqB35XkPrXICyWox8Posg,2091
1173
1173
  angr/utils/env.py,sha256=wWlmjLp7CtafKItn7xq2RW3UzGGgxw58Wc8fSm3EZJQ,363
1174
1174
  angr/utils/formatting.py,sha256=QOw75CLSrttGTn2aYQzBFIBhZj40J9ESQZxJOz0BexA,4217
1175
- angr/utils/graph.py,sha256=nKQqvuOHOu2TehGINOMVqeTqUvdJIqRI_LDixDzRvCo,17403
1175
+ angr/utils/graph.py,sha256=ikSv7IpddByxhS9YJGMtvmyDf11gqFO9HxtPVl5MyZU,17469
1176
1176
  angr/utils/lazy_import.py,sha256=VgN0-cMsr6XdGIq56Js1X8YecfPdW9Z4NrB3d2jD-5Y,308
1177
1177
  angr/utils/library.py,sha256=MYbY6rvC2Fi1ofbBHynh6-cdmaDETxj8hBz1gxKvsQQ,7178
1178
1178
  angr/utils/loader.py,sha256=QdkatPiyRfz5KdfCzRI1Xp3TJL_Pa75wY0dsILgMbwk,1944
1179
1179
  angr/utils/mp.py,sha256=xSWDnZdkLaTwGXntuSDwb2tIqMsIxJpmLrxd_YWBILw,1822
1180
1180
  angr/utils/timing.py,sha256=ddkLlRzlfmDlvRn9LseX9iQNQcNnQxzaJqnDSq7i1iU,1035
1181
- angr-9.2.43.dist-info/LICENSE,sha256=cgL_ho5B1NH8UxwtBuqThRWdjear8b7hktycaS1sz6g,1327
1182
- angr-9.2.43.dist-info/METADATA,sha256=oCn9b4VkOugwcTSWbMGxo0GHegHYhhArnJeb9ri15dA,4381
1183
- angr-9.2.43.dist-info/WHEEL,sha256=0vUkZ48XaG9BBQXbxXsqZ8EM_YeqwdOA_1j85LwuWGE,109
1184
- angr-9.2.43.dist-info/top_level.txt,sha256=dKw0KWTbwLXytFvv15oAAG4sUs3ey47tt6DorJG9-hw,5
1185
- angr-9.2.43.dist-info/RECORD,,
1181
+ angr-9.2.45.dist-info/LICENSE,sha256=cgL_ho5B1NH8UxwtBuqThRWdjear8b7hktycaS1sz6g,1327
1182
+ angr-9.2.45.dist-info/METADATA,sha256=-vr19xS-zHrweYkEjHSYuXZQ9NMmDQ-y7z9pBw3dOhs,4381
1183
+ angr-9.2.45.dist-info/WHEEL,sha256=0vUkZ48XaG9BBQXbxXsqZ8EM_YeqwdOA_1j85LwuWGE,109
1184
+ angr-9.2.45.dist-info/top_level.txt,sha256=dKw0KWTbwLXytFvv15oAAG4sUs3ey47tt6DorJG9-hw,5
1185
+ angr-9.2.45.dist-info/RECORD,,
File without changes
File without changes