MCPcopy Create free account
hub / github.com/IBM/ACE-RISCV / main

Function main

tools/cove_tap_tool/src/main.rs:80–104  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

78}
79
80fn main() -> Result<(), Error> {
81 Ok(match Args::parse().cmd {
82 Commands::Attach {
83 kernel_file,
84 tap_file,
85 output_file,
86 } => attach::attach_tap(kernel_file, tap_file, output_file),
87 Commands::Generate {
88 pcrs,
89 confidential_vm_secrets,
90 tee_public_keys_files,
91 output_file,
92 } => generate::generate_tap(
93 pcrs,
94 confidential_vm_secrets,
95 tee_public_keys_files,
96 output_file,
97 ),
98 Commands::Measure {
99 kernel_file,
100 embedded_tap,
101 base_address,
102 } => measure::measure(kernel_file, embedded_tap, base_address),
103 }?)
104}

Callers

nothing calls this directly

Calls 3

attach_tapFunction · 0.85
generate_tapFunction · 0.85
measureFunction · 0.85

Tested by

no test coverage detected