mirror of
https://github.com/RGBCube/serenity
synced 2025-05-31 12:28:12 +00:00
LibELF+LibDebug: Remove use of ByteBuffer::wrap()
This commit is contained in:
parent
685d5f4e25
commit
7c94856c12
4 changed files with 12 additions and 13 deletions
|
@ -106,8 +106,7 @@ void DebugInfo::prepare_lines()
|
|||
if (section.is_undefined())
|
||||
return;
|
||||
|
||||
auto buffer = section.wrapping_byte_buffer();
|
||||
InputMemoryStream stream { buffer };
|
||||
InputMemoryStream stream { section.bytes() };
|
||||
|
||||
Vector<Dwarf::LineProgram::LineInfo> all_lines;
|
||||
while (!stream.eof()) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue