Benign rust 114 installs Download

vize_s2 0.407.0

“S2 - the Davinci semantic IR (codename Disegno): the neutral op family every input dialect lowers into”

Archive ships a root-level test treeConstructs a Rust child-process command
SHA-2564ec038a69d1e4c08adba64260dcaf1809b20364fb4217f6ce654261d301c73ed

Evidence

imports std::process::Command lines 1–10
1:20… P2-13 pipeline-mode extras, pinned end to end: the
2//! `--folio-dir` per-pass dump, its `--folio-after-change` hash gate, and the
3//! `--timing-json` export validated against the committed P0-11 schema
4//! through the strict shared validator (TS-15).
5
6use std::io::Write as _;
7use std::path::{Path, PathBuf};
8use std::process::{Command, Output, Stdio};
9
10const USAGE: &str = "usage: davinci-opt --roundtrip <file> [--stage croquis]\n davinci-opt --pipeline \"<syntax>\" [--stage <stage>] …
Source uses a buffer write call lines 17–34
17:14… &[&str], stdin: Option<&str>) -> Output {
18 let mut command = Command::new(env!("CARGO_BIN_EXE_davinci-opt"));
19 command
20 .args(args)
⋯7 lines
28 .as_mut()
29 .expect("stdin is piped")
30 .write_all(text.as_bytes())
31 .expect("stdin accepts the folio");
32 }
33 drop(child.stdin.take());
34 child.wait_with_output( …
Enumerates a directory with Rust std::fs lines 51–56
51:17… s(dir: &Path) -> Vec<String> {
52 let mut names: Vec<String> = std::fs::read_dir(dir)
53 .expect("dump directory exists")
54 .map(|entry| {
55 entry
56 .expect("readable dump en …
#[test] attribute lines 59–71
⋯5 lines
64}
65
66#[test]
67fn folio_dir_writes_one_page_per_pass() {
68 let dir = temp_dir("p2-13-folio-dir");
69 let output = run(
70 &[
71 …
Rust parses JSON text or bytes lines 184–187
184:48… xpect("timing export reads");
185 let json: serde_json::Value = serde_json::from_str(&text).expect("export is valid JSON");
186 let schema = load_schema();
187 assert_eq!(schema_check::validate(&schema, &json, "$"), Ok( …

Showing the top 5 files — 1 more file (24 regions) not shown.

No evidence locations were recorded for this file. Raw result

Keyboard shortcuts on this page: j for the next sample, k for the previous one, x to go back to the feed, d to download the original bytes, r to re-queue the sample for analysis.