angr 9.2.106__py3-none-win_amd64.whl → 9.2.107__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.106"
4
+ __version__ = "9.2.107"
5
5
 
6
6
  if bytes is str:
7
7
  raise Exception(
@@ -895,10 +895,6 @@ class PcodeBasicBlockLifter:
895
895
  last_decode_addr = irsb.addr
896
896
  last_imark_idx = 0
897
897
  for op_idx, op in enumerate(irsb._ops):
898
- # OpCode space begins with control ops ending with RETURN. Quickly filter non-control instructions.
899
- if op.opcode > pypcode.OpCode.RETURN:
900
- continue
901
-
902
898
  if op.opcode == pypcode.OpCode.IMARK:
903
899
  irsb._instruction_addresses.extend([vn.offset for vn in op.inputs])
904
900
  last_decode_addr = op.inputs[0].offset
angr/lib/angr_native.dll CHANGED
Binary file
@@ -253,18 +253,16 @@ class FormatString:
253
253
  max_sym_bytes = fmt_spec.length_spec
254
254
 
255
255
  # TODO: look for limits on other characters which scanf is sensitive to, '\x00', '\x20'
256
- _, _, match_indices = region.find(
257
- position, self.parser.state.solver.BVV(b"\n"), max_str_len, max_symbolic_bytes=max_sym_bytes
256
+ result, _, _ = region.find(
257
+ position,
258
+ self.parser.state.solver.BVV(b"\n"),
259
+ max_str_len,
260
+ max_symbolic_bytes=max_sym_bytes,
261
+ default=self.parser.state.solver.BVV(position + max_str_len, 64),
258
262
  )
259
263
 
260
- if not match_indices:
261
- # if no newline is found, mm is position + max_strlen
262
- mm = position + max_str_len
263
- # we're just going to concretize the length, load will do this anyways
264
- length = self.parser.state.solver.max_int(mm - position)
265
- else:
266
- # a newline is found, or a max length is specified with the specifier
267
- length = max(match_indices)
264
+ # concretize the length
265
+ length = self.parser.state.solver.max_int(result - position)
268
266
  src_str = region.load(position, length)
269
267
 
270
268
  # TODO all of these should be delimiters we search for above
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: angr
3
- Version: 9.2.106
3
+ Version: 9.2.107
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
@@ -15,13 +15,13 @@ Description-Content-Type: text/markdown
15
15
  License-File: LICENSE
16
16
  Requires-Dist: CppHeaderParser
17
17
  Requires-Dist: GitPython
18
- Requires-Dist: ailment ==9.2.106
19
- Requires-Dist: archinfo ==9.2.106
18
+ Requires-Dist: ailment ==9.2.107
19
+ Requires-Dist: archinfo ==9.2.107
20
20
  Requires-Dist: cachetools
21
21
  Requires-Dist: capstone ==5.0.0.post1
22
22
  Requires-Dist: cffi >=1.14.0
23
- Requires-Dist: claripy ==9.2.106
24
- Requires-Dist: cle ==9.2.106
23
+ Requires-Dist: claripy ==9.2.107
24
+ Requires-Dist: cle ==9.2.107
25
25
  Requires-Dist: dpkt
26
26
  Requires-Dist: itanium-demangler
27
27
  Requires-Dist: mulpyplexer
@@ -31,7 +31,7 @@ Requires-Dist: protobuf >=3.19.0
31
31
  Requires-Dist: psutil
32
32
  Requires-Dist: pycparser >=2.18
33
33
  Requires-Dist: pyformlang
34
- Requires-Dist: pyvex ==9.2.106
34
+ Requires-Dist: pyvex ==9.2.107
35
35
  Requires-Dist: rich >=13.1.0
36
36
  Requires-Dist: rpyc
37
37
  Requires-Dist: sortedcontainers
@@ -47,10 +47,10 @@ Requires-Dist: myst-parser ; extra == 'docs'
47
47
  Requires-Dist: sphinx ; extra == 'docs'
48
48
  Requires-Dist: sphinx-autodoc-typehints ; extra == 'docs'
49
49
  Provides-Extra: pcode
50
- Requires-Dist: pypcode ~=2.1.0 ; extra == 'pcode'
50
+ Requires-Dist: pypcode ~=3.0 ; extra == 'pcode'
51
51
  Provides-Extra: testing
52
52
  Requires-Dist: keystone-engine ; extra == 'testing'
53
- Requires-Dist: pypcode ~=2.1.0 ; extra == 'testing'
53
+ Requires-Dist: pypcode ~=3.0 ; extra == 'testing'
54
54
  Requires-Dist: pytest ; extra == 'testing'
55
55
  Requires-Dist: pytest-split ; extra == 'testing'
56
56
  Requires-Dist: pytest-xdist ; extra == 'testing'
@@ -1,4 +1,4 @@
1
- angr/__init__.py,sha256=gL2b7Kk3NQWtdo4OpnsfL_9d-Q4YkWSR4qhfQLbgwAA,3993
1
+ angr/__init__.py,sha256=R0l86rWUgejEZSvJjbSX_yUG3S1XbpboqEWc5DN0fcg,3993
2
2
  angr/__main__.py,sha256=kaO56Te6h73SM94BVtASF00q5QbBbC3eBs9poVc9sVI,1887
3
3
  angr/annocfg.py,sha256=1tnBfxgLJh9I6Brm1JDdsWLHGmCQYdD6PTC_bFTOMrg,10775
4
4
  angr/blade.py,sha256=B8QXVQ93jz1YCIlb-dZLeBqYmVFdMXI5GleP1Wnxjrw,15519
@@ -343,7 +343,7 @@ angr/engines/pcode/behavior.py,sha256=BuzA_nX_ebuFiGgup7aJ-bgD9KmUR2dPSGUM51MKxO
343
343
  angr/engines/pcode/cc.py,sha256=CUKkivYUddt8McAYLwAPO5btzDHwO65yBQvWs3CV9dU,3085
344
344
  angr/engines/pcode/emulate.py,sha256=l4MUuUEJDcCihfKCy5_4S6GOG_rzd1DdYzTQ1ObZdgI,16715
345
345
  angr/engines/pcode/engine.py,sha256=WTiIXZ8moilS4BHU-nQSgMopOstLnuoTjXWHpLOKF98,10532
346
- angr/engines/pcode/lifter.py,sha256=978w9-4xWjIUDfnrAOA0AQtcz-La300uwOgaXH-AwHM,52142
346
+ angr/engines/pcode/lifter.py,sha256=4y8kAIlqtb5xVL4gyyXZe74vTUXn9Bp6oMdOM_wNrWI,51942
347
347
  angr/engines/soot/__init__.py,sha256=TznVGXAtXWZQb7K3vgGXWalwHDuuJu9KkFvacG6rYhU,30
348
348
  angr/engines/soot/engine.py,sha256=vCcaW_QOSmK8XsO3qgvNbx303tTzEsf9dx_I2y1PjKU,17238
349
349
  angr/engines/soot/exceptions.py,sha256=Ta2qcX_NXRqst6OzoAaIZyzDuCqxhf-BEIBkzzID5Iw,221
@@ -489,7 +489,7 @@ angr/knowledge_plugins/xrefs/__init__.py,sha256=-5A2h048WTRu6Et7q7bqlc-AyBXNuJ9A
489
489
  angr/knowledge_plugins/xrefs/xref.py,sha256=1BMphrr8iViDtVWPXWidmY1_uNmw9LRvEwwZLt3Zqw8,4907
490
490
  angr/knowledge_plugins/xrefs/xref_manager.py,sha256=a4uvTJkdM0PQIuyYcd7t76IddrrVjPGe9SZrRaqp2II,3980
491
491
  angr/knowledge_plugins/xrefs/xref_types.py,sha256=VR3xLQQ-gUg25oX0OL3BJHyQRlZh2A8syBac9ZMS9n4,271
492
- angr/lib/angr_native.dll,sha256=NGnOf6ti4QdrEja2vdpCxc4nVFtNEsrpuNMNlsLU_U8,19241984
492
+ angr/lib/angr_native.dll,sha256=VLRjl2oGiTfidnO81SsAf5Oq5feCjxeN0EozUCik3uc,19241984
493
493
  angr/misc/__init__.py,sha256=Ct-Q6-c-Frdz5Ihkqmou3j_1jyJi8WJXlQxs-gPQg0Y,237
494
494
  angr/misc/ansi.py,sha256=m5RY65yyvluUJErkvCF4I4z1o5kXi2xb3Yuvt9bITCA,776
495
495
  angr/misc/autoimport.py,sha256=vSXclz6pss3lMecoT5_doX0SvORNmZPIvVyDm4je4HE,3419
@@ -1129,7 +1129,7 @@ angr/procedures/stubs/__init__.py,sha256=44m1-NIxNEwXtyCkYnHnH1jYw5Mp53ObHGzw1bT
1129
1129
  angr/procedures/stubs/b64_decode.py,sha256=baovh7-PURKxG0eks07cTX6_RO8gYw-UmqEgaHlf24w,342
1130
1130
  angr/procedures/stubs/caller.py,sha256=wT3A37gO0QBOKdsT12DpNz4zZMivFIwJtXr2oApJ8XI,343
1131
1131
  angr/procedures/stubs/crazy_scanf.py,sha256=CJe3qzTJEv_0AHmcl3gOxGwZOhV8o1z73fAMqIOiuJM,643
1132
- angr/procedures/stubs/format_parser.py,sha256=IEyFcaxaW8TNJws5dtqtvbgmIkvM-Jktf5nQDiBvdLk,28180
1132
+ angr/procedures/stubs/format_parser.py,sha256=fbFkxcAbUrmoUMK5zCBngleVXReOvcFHsPCabip-pBo,27941
1133
1133
  angr/procedures/stubs/syscall_stub.py,sha256=ZURVeDuH06xX-eseAMQZCkYYRDxXx2USQSkGhOoAl5o,902
1134
1134
  angr/procedures/testing/__init__.py,sha256=mkl-uqerjl2KIlTiJDmE9WW9zE9sL2MQsYLHOfeoJh8,106
1135
1135
  angr/procedures/testing/manyargs.py,sha256=omzRwPCNqrBodw1nJ-alQh4v_82NHaJfr-1E5xCGQjU,100
@@ -1293,9 +1293,9 @@ angr/utils/mp.py,sha256=cv_NeysxLgyCdE-Euefnfv078ia5maHSnUn9f23zz88,1882
1293
1293
  angr/utils/segment_list.py,sha256=5nnuVtdZk9NS2y_xUBVA9khWPueP_zagNtPSjaoMHbA,20410
1294
1294
  angr/utils/timing.py,sha256=uOowCP8kotDrKDOjlAod-guBuYkAA8zEtiAwpdwMlIU,1334
1295
1295
  angr/utils/typing.py,sha256=pCjA7JZAzcvrk-iyIE2cRHc1G66AMSGEON3aFfjtPVc,431
1296
- angr-9.2.106.dist-info/LICENSE,sha256=cgL_ho5B1NH8UxwtBuqThRWdjear8b7hktycaS1sz6g,1327
1297
- angr-9.2.106.dist-info/METADATA,sha256=FadpUZECWvmQfnFNiN6gzQTr3SeeLi7Gab6wi8HJwxg,4826
1298
- angr-9.2.106.dist-info/WHEEL,sha256=at4xwl6JdXdkZHxdo5ixTwJ7ENtVftSy2wqmsdmo_4U,98
1299
- angr-9.2.106.dist-info/entry_points.txt,sha256=Vjh1C8PMyr5dZFMnik5WkEP01Uwr2T73I3a6N32sgQU,44
1300
- angr-9.2.106.dist-info/top_level.txt,sha256=dKw0KWTbwLXytFvv15oAAG4sUs3ey47tt6DorJG9-hw,5
1301
- angr-9.2.106.dist-info/RECORD,,
1296
+ angr-9.2.107.dist-info/LICENSE,sha256=cgL_ho5B1NH8UxwtBuqThRWdjear8b7hktycaS1sz6g,1327
1297
+ angr-9.2.107.dist-info/METADATA,sha256=92HqIJI0--iKMV672NMWmx5HNJ4asodJrU0oNMaaSBc,4822
1298
+ angr-9.2.107.dist-info/WHEEL,sha256=at4xwl6JdXdkZHxdo5ixTwJ7ENtVftSy2wqmsdmo_4U,98
1299
+ angr-9.2.107.dist-info/entry_points.txt,sha256=Vjh1C8PMyr5dZFMnik5WkEP01Uwr2T73I3a6N32sgQU,44
1300
+ angr-9.2.107.dist-info/top_level.txt,sha256=dKw0KWTbwLXytFvv15oAAG4sUs3ey47tt6DorJG9-hw,5
1301
+ angr-9.2.107.dist-info/RECORD,,
File without changes