fix: only push raw instruction once
This commit is contained in:
@@ -36,8 +36,11 @@ impl Aout {
|
||||
let data_start = text_end + 1;
|
||||
let data_end = data_start + hdr.data as usize;
|
||||
|
||||
dbg!(&hdr);
|
||||
|
||||
let text_section = &buf[text_start..text_end];
|
||||
let data_section = &buf[data_start..data_end];
|
||||
// let data_section = &buf[data_start..data_end];
|
||||
let data_section = [];
|
||||
|
||||
Aout {
|
||||
header: hdr,
|
||||
|
||||
Reference in New Issue
Block a user