• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

NVIDIA / nvrc / 20889633034

11 Jan 2026 04:43AM UTC coverage: 90.359% (-7.2%) from 97.582%
20889633034

Pull #98

github

web-flow
Merge 09cff2564 into 4da950f83
Pull Request #98: hardened_std: reduce the attack surface

296 of 410 new or added lines in 14 files covered. (72.2%)

8 existing lines in 2 files now uncovered.

1359 of 1504 relevant lines covered (90.36%)

12.92 hits per line

Source File
Press 'n' to go to next uncovered line, 'b' for previous

0.0
/hardened_std/src/process.rs
1
// SPDX-License-Identifier: Apache-2.0
2
// Copyright (c) NVIDIA CORPORATION
3

4
//! Process execution with static string constraints
5

6
use crate::Result;
7

8
/// Command builder
9
#[allow(dead_code)]
10
pub struct Command {
11
    path: &'static str,
12
}
13

14
impl Command {
15
    #[allow(unused_variables)]
NEW
16
    pub fn new(path: &'static str) -> Self {
×
NEW
17
        todo!("Command::new")
×
18
    }
19

20
    #[allow(unused_variables)]
NEW
21
    pub fn args(&mut self, args: &[&'static str]) -> &mut Self {
×
NEW
22
        todo!("Command::args")
×
23
    }
24

25
    #[allow(unused_variables)]
NEW
26
    pub fn stdout(&mut self, cfg: Stdio) -> &mut Self {
×
NEW
27
        todo!("Command::stdout")
×
28
    }
29

30
    #[allow(unused_variables)]
NEW
31
    pub fn stderr(&mut self, cfg: Stdio) -> &mut Self {
×
NEW
32
        todo!("Command::stderr")
×
33
    }
34

NEW
35
    pub fn spawn(&mut self) -> Result<Child> {
×
NEW
36
        todo!("Command::spawn")
×
37
    }
38

NEW
39
    pub fn status(&mut self) -> Result<ExitStatus> {
×
NEW
40
        todo!("Command::status")
×
41
    }
42

NEW
43
    pub fn exec(&mut self) -> crate::Error {
×
NEW
44
        todo!("Command::exec")
×
45
    }
46
}
47

48
/// Child process
49
#[allow(dead_code)]
50
pub struct Child {
51
    pid: i32,
52
}
53

54
impl Child {
NEW
55
    pub fn try_wait(&mut self) -> Result<Option<ExitStatus>> {
×
NEW
56
        todo!("Child::try_wait")
×
57
    }
58

NEW
59
    pub fn wait(&mut self) -> Result<ExitStatus> {
×
NEW
60
        todo!("Child::wait")
×
61
    }
62

NEW
63
    pub fn kill(&mut self) -> Result<()> {
×
NEW
64
        todo!("Child::kill")
×
65
    }
66
}
67

68
/// Exit status
69
#[allow(dead_code)]
70
pub struct ExitStatus {
71
    code: i32,
72
}
73

74
impl ExitStatus {
NEW
75
    pub fn success(&self) -> bool {
×
NEW
76
        todo!("ExitStatus::success")
×
77
    }
78
}
79

80
/// Standard I/O configuration
81
pub enum Stdio {
82
    Null,
83
    Inherit,
84
    Piped,
85
    Fd(i32),
86
}
87

88
impl Stdio {
89
    #[allow(unused_variables)]
NEW
90
    pub fn from(file: crate::fs::File) -> Self {
×
NEW
91
        todo!("Stdio::from")
×
92
    }
93
}
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE TRIAL · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc