cli report: Generate virtual addresses as uppercase (#45)

Matches dtk symbols.txt and most projects' identifiers.
This commit is contained in:
Robin Avery 2024-03-01 00:22:59 -05:00 committed by GitHub
parent fd27f4d0cd
commit b80d361e91
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 1 additions and 1 deletions

View File

@ -474,7 +474,7 @@ fn read_report(path: &Path) -> Result<Report> {
fn serialize_hex<S>(x: &Option<u64>, s: S) -> Result<S::Ok, S::Error>
where S: serde::Serializer {
if let Some(x) = x {
s.serialize_str(&format!("{:#x}", x))
s.serialize_str(&format!("{:#X}", x))
} else {
s.serialize_none()
}