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

NVIDIA / nvrc / 20888350973

11 Jan 2026 02:50AM UTC coverage: 89.474% (-8.1%) from 97.582%
20888350973

Pull #98

github

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

178 of 313 new or added lines in 14 files covered. (56.87%)

4 existing lines in 2 files now uncovered.

1411 of 1577 relevant lines covered (89.47%)

9.49 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
pub struct Command {
10
    path: &'static str,
11
}
12

13
impl Command {
NEW
14
    pub fn new(path: &'static str) -> Self {
×
NEW
15
        todo!("Command::new")
×
16
    }
17

NEW
18
    pub fn args(&mut self, args: &[&'static str]) -> &mut Self {
×
NEW
19
        todo!("Command::args")
×
20
    }
21

NEW
22
    pub fn stdout(&mut self, cfg: Stdio) -> &mut Self {
×
NEW
23
        todo!("Command::stdout")
×
24
    }
25

NEW
26
    pub fn stderr(&mut self, cfg: Stdio) -> &mut Self {
×
NEW
27
        todo!("Command::stderr")
×
28
    }
29

NEW
30
    pub fn spawn(&mut self) -> Result<Child> {
×
NEW
31
        todo!("Command::spawn")
×
32
    }
33

NEW
34
    pub fn status(&mut self) -> Result<ExitStatus> {
×
NEW
35
        todo!("Command::status")
×
36
    }
37

NEW
38
    pub fn exec(&mut self) -> crate::Error {
×
NEW
39
        todo!("Command::exec")
×
40
    }
41
}
42

43
/// Child process
44
pub struct Child {
45
    pid: i32,
46
}
47

48
impl Child {
NEW
49
    pub fn try_wait(&mut self) -> Result<Option<ExitStatus>> {
×
NEW
50
        todo!("Child::try_wait")
×
51
    }
52

NEW
53
    pub fn wait(&mut self) -> Result<ExitStatus> {
×
NEW
54
        todo!("Child::wait")
×
55
    }
56

NEW
57
    pub fn kill(&mut self) -> Result<()> {
×
NEW
58
        todo!("Child::kill")
×
59
    }
60
}
61

62
/// Exit status
63
pub struct ExitStatus {
64
    code: i32,
65
}
66

67
impl ExitStatus {
NEW
68
    pub fn success(&self) -> bool {
×
NEW
69
        todo!("ExitStatus::success")
×
70
    }
71
}
72

73
/// Standard I/O configuration
74
pub enum Stdio {
75
    Null,
76
    Inherit,
77
    Piped,
78
    Fd(i32),
79
}
80

81
impl Stdio {
NEW
82
    pub fn from(file: crate::fs::File) -> Self {
×
NEW
83
        todo!("Stdio::from")
×
84
    }
85
}
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc