microsoft/openvmm

Public

mirrored fromhttps://github.com/microsoft/openvmmAvailable

CodeCommitsIssuesPull requestsActionsInsightsSecurity
copilot/apply-async-process-wait-functionality

Branches

Tags

  • No tags available.
0Branches0Tags
Go to file
Add file
Code

Clone

HTTPS

Download ZIP

flowey/flowey_cli/src/cli/debug/list_patches.rs

20lines · modecode

1// Copyright (c) Microsoft Corporation.
2// Licensed under the MIT License.
3
4/// (debug) list all registered patches
5#[derive(clap::Args)]
6pub struct ListPatches;
7
8impl ListPatches {
9 pub fn run(self) -> anyhow::Result<()> {
10 let mut v = flowey_core::patch::patchfn_by_modpath()
11 .keys()
12 .collect::<Vec<_>>();
13 v.sort();
14 for fn_name in v {
15 println!("{fn_name}")
16 }
17
18 Ok(())
19 }
20}
21