fix: removed some debug attributes

This commit is contained in:
Andrew Rioux 2025-02-09 10:17:46 -05:00
parent becd0c2f56
commit 6780b1595b
Signed by: andrew.rioux
GPG Key ID: 9B8BAC47C17ABB94

View File

@ -349,7 +349,7 @@ where
.write(true)
.truncate(true)
.create(true)
.open("test/target.exe")?;
.open(binary_path.as_ref())?;
target.write_all(&headers_bytes)?;
@ -359,7 +359,6 @@ where
let header = section_headers[section.section_header_idx];
println!("{:?}", std::str::from_utf8(&header.name));
dbgX!(header.raw_data_ptr, curr_ptr);
let padding_needed = header.raw_data_ptr as usize - curr_ptr;
target.write_all(&vec![0; padding_needed])?;