improve html layout

This commit is contained in:
Jean-Marie 'Histausse' Mineau 2026-02-11 15:50:55 +01:00
parent 4eae524e5f
commit b79d6151ce
Signed by: histausse
GPG key ID: B66AEEDA9B645AD2
2 changed files with 24 additions and 6 deletions

View file

@ -71,7 +71,7 @@ impl<'a> DexFileReader<'a> {
.expect("Failed to acquire mutex lock on layout_map")
.insert(
(0, tmp_file.header.size()),
format!("{:x?}", tmp_file.header),
format!("{:#x?}", tmp_file.header),
);
if tmp_file.header.map_off != 0 {
tmp_file.map_list = tmp_file.get_struct_at_offset(tmp_file.header.map_off)?;
@ -433,7 +433,7 @@ impl<'a> DexFileReader<'a> {
.lock()
.expect("Failed to acquire mutex lock on layout_map")
.entry((pos as u32, size))
.or_insert_with(|| format!("{item:x?}"));
.or_insert_with(|| format!("{item:#x?}"));
}
}
Ok(list)
@ -479,7 +479,7 @@ impl<'a> DexFileReader<'a> {
.lock()
.expect("Failed to acquire mutex lock on layout_map")
.entry((offset, size))
.or_insert_with(|| format!("{r:x?}"));
.or_insert_with(|| format!("{r:#x?}"));
}
r
}