mirror of
https://github.com/QuasarApp/LIEF.git
synced 2025-05-01 06:44: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))
|
print("{:10}: {}".format("Library", binfo.library.name))
|
||||||
|
|
||||||
if binfo.binding_class == lief.MachO.BINDING_CLASS.LAZY:
|
if binfo.binding_class == lief.MachO.BINDING_CLASS.LAZY:
|
||||||
print("{:10}: {}".format("Offset", binfo.offset))
|
print("{:10}: {}".format("Offset", binfo.original_offset))
|
||||||
|
|
||||||
print("")
|
print("")
|
||||||
|
|
||||||
|
@ -1370,7 +1370,7 @@ void BinaryParser::parse_dyldinfo_lazy_bind() {
|
|||||||
is_weak_import,
|
is_weak_import,
|
||||||
false,
|
false,
|
||||||
segments, start_offset);
|
segments, start_offset);
|
||||||
start_offset = this->stream_->pos() - offset;
|
start_offset = this->stream_->pos() - offset + 1;
|
||||||
segment_offset += sizeof(pint_t);
|
segment_offset += sizeof(pint_t);
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user