mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-07-30 20:59:16 +00:00
LibELF+Lagom: Work towards getting LibELF in Lagom
Mostly -Wformat fixes, some of which pointed out real (if benign) bugs.
This commit is contained in:
parent
872834320a
commit
0586924bbd
Notes:
sideshowbarker
2024-07-19 04:08:07 +09:00
Author: https://github.com/nico
Commit: 0586924bbd
Pull-request: https://github.com/SerenityOS/serenity/pull/3052
6 changed files with 33 additions and 32 deletions
|
@ -62,8 +62,8 @@ void DynamicObject::dump() const
|
|||
if (m_has_soname)
|
||||
builder.appendf("DT_SONAME: %s\n", soname()); // FIXME: Valdidate that this string is null terminated?
|
||||
|
||||
dbgprintf("Dynamic section at address 0x%x contains %zu entries:\n", m_dynamic_address.as_ptr(), num_dynamic_sections);
|
||||
dbgprintf(builder.to_string().characters());
|
||||
dbgprintf("Dynamic section at address %p contains %zu entries:\n", m_dynamic_address.as_ptr(), num_dynamic_sections);
|
||||
dbgprintf("%s", builder.to_string().characters());
|
||||
}
|
||||
|
||||
void DynamicObject::parse()
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue