Show on-disk file size in victory inspect
(cherry picked from commit 43e2ca9de29f5833941970e82ed89872c9f86a81)
This commit is contained in:
1 parent
76e1884968
commit
c5692adf0a
1 file changed
+1
@@ -10,6 +10,7 @@ pub fn run(file: &Path, list_imports: bool, list_exports: bool) -> Result<()> {
|
|||||||
let info = ImageInfo::parse(&data).with_context(|| format!("parsing {}", file.display()))?;
|
let info = ImageInfo::parse(&data).with_context(|| format!("parsing {}", file.display()))?;
|
||||||
|
|
||||||
println!("file {}", file.display());
|
println!("file {}", file.display());
|
||||||
|
println!("file size {} bytes", data.len());
|
||||||
println!("blake3 {}", blake3::hash(&data).to_hex());
|
println!("blake3 {}", blake3::hash(&data).to_hex());
|
||||||
if let Some(cv) = &info.codeview {
|
if let Some(cv) = &info.codeview {
|
||||||
println!("pdb {} (key {})", cv.pdb_path, cv.symbol_key());
|
println!("pdb {} (key {})", cv.pdb_path, cv.symbol_key());
|
||||||
|
|||||||
Reference in new issue
Block a user