()
| 78 | } |
| 79 | |
| 80 | fn 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 | } |
nothing calls this directly
no test coverage detected