1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-07 08:07:35 +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:
Nico Weber 2020-08-08 22:45:20 -04:00 committed by Andreas Kling
parent 872834320a
commit 0586924bbd
6 changed files with 33 additions and 32 deletions

View file

@ -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()