fix: 修复一行测试字段
This commit is contained in:
parent
253cfcd399
commit
7a528fb2f5
@ -172,7 +172,6 @@ pub fn dump_process(pid: u32, save_file_path: &str) -> Result<(), AppError> {
|
||||
"读取节: Size: {:#x}, ReadSize: {:#x}",
|
||||
section_size_align, read_size
|
||||
);
|
||||
IMAGE_SECTION_HEADER;
|
||||
// 如果文件长度不够,则先扩容
|
||||
let file_size = save_file.metadata().unwrap().len();
|
||||
if file_size < section_foa + section_size_align as u64 {
|
||||
|
Loading…
Reference in New Issue
Block a user