improve html layout
This commit is contained in:
parent
4eae524e5f
commit
b79d6151ce
2 changed files with 24 additions and 6 deletions
|
|
@ -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
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue