nanofuzz-runtime 0.4.0__tar.gz → 0.4.2__tar.gz

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.
@@ -22,8 +22,9 @@ pids
22
22
  lib-cov
23
23
 
24
24
  # Coverage directory used by tools like istanbul
25
- coverage
25
+ /coverage
26
26
  *.lcov
27
+ !packages/runtime/go/coverage/
27
28
 
28
29
  # nyc test coverage
29
30
  .nyc_output
@@ -122,3 +123,27 @@ __pycache__/
122
123
  # direnv files
123
124
  /.direnv/
124
125
  /.envrc
126
+
127
+ # OCaml switch
128
+ _opam/
129
+
130
+ # OCaml / Dune build output
131
+ _build/
132
+ *.install
133
+ .merlin
134
+ *.cmi
135
+ *.cmo
136
+ *.cmx
137
+ *.cma
138
+ *.cmxa
139
+ *.cmxs
140
+ *.o
141
+ *.a
142
+
143
+
144
+ # Benchmark and local scripts
145
+ run_pbt_benchmark.py
146
+ run_pbt_comparison.py
147
+ run_transformer_benchmark.py
148
+ slow.py
149
+
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.5
2
2
  Name: nanofuzz-runtime
3
- Version: 0.4.0
3
+ Version: 0.4.2
4
4
  Summary: Runtime support and types for NaNofuzz
5
5
  Project-URL: Homepage, https://github.com/nanofuzz/nanofuzz
6
6
  Project-URL: Repository, https://github.com/nanofuzz/nanofuzz
@@ -16,7 +16,7 @@ Classifier: Operating System :: OS Independent
16
16
  Classifier: Programming Language :: Python :: 3
17
17
  Classifier: Topic :: Software Development :: Testing
18
18
  Classifier: Typing :: Typed
19
- Requires-Python: >=3.12
19
+ Requires-Python: >=3.11
20
20
  Description-Content-Type: text/markdown
21
21
 
22
22
  # NaNofuzz runtime support package
@@ -4,7 +4,7 @@ build-backend = "hatchling.build"
4
4
 
5
5
  [project]
6
6
  name = "nanofuzz-runtime"
7
- version = "0.4.0"
7
+ version = "0.4.2"
8
8
  description = "Runtime support and types for NaNofuzz"
9
9
  readme = "README.md"
10
10
  authors = [
@@ -21,7 +21,7 @@ classifiers = [
21
21
  "Intended Audience :: Developers",
22
22
  "Intended Audience :: Science/Research"
23
23
  ]
24
- requires-python = ">=3.12"
24
+ requires-python = ">=3.11"
25
25
  dependencies = []
26
26
 
27
27
  [project.urls]
@@ -22,4 +22,13 @@ def assume(condition: Any, message: Optional[str] = None) -> Literal[True]:
22
22
  return True
23
23
 
24
24
 
25
- __all__ = ["FuzzTestResult", "UnsatisfiedAssumption", "assume"]
25
+ def put(*targets: Any) -> Any:
26
+ """
27
+ Decorator specifying the Program Under Test (PUT) target(s) for a harness function.
28
+ """
29
+ def decorator(fn: Any) -> Any:
30
+ return fn
31
+ return decorator
32
+
33
+
34
+ __all__ = ["FuzzTestResult", "UnsatisfiedAssumption", "assume", "put"]