mirror of
https://github.com/QuasarApp/LIEF.git
synced 2025-04-28 13:24:32 +00:00
Fix error
This commit is contained in:
parent
2e65a94b7c
commit
d6753b17c5
@ -476,7 +476,7 @@ def print_dyld_info(binary):
|
||||
print("{:10}: {}".format("Library", binfo.library.name))
|
||||
|
||||
if binfo.binding_class == lief.MachO.BINDING_CLASS.LAZY:
|
||||
print("{:10}: {}".format("Offset", binfo.offset))
|
||||
print("{:10}: {}".format("Offset", binfo.original_offset))
|
||||
|
||||
print("")
|
||||
|
||||
|
@ -1370,7 +1370,7 @@ void BinaryParser::parse_dyldinfo_lazy_bind() {
|
||||
is_weak_import,
|
||||
false,
|
||||
segments, start_offset);
|
||||
start_offset = this->stream_->pos() - offset;
|
||||
start_offset = this->stream_->pos() - offset + 1;
|
||||
segment_offset += sizeof(pint_t);
|
||||
break;
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user