fix serializer wrong size with addr field for LC_SEGMENT

This commit is contained in:
nganhkhoa 2024-08-22 17:38:16 +07:00
parent d534d62f5e
commit 5e601eaa4a

View File

@ -190,7 +190,7 @@ func (lcmd *Segment64) Vmaddr() uint64 {
return lcmd.vmaddr
}
func (lcmd *Segment64) Vmsize() uint64 {
return lcmd.vmaddr
return lcmd.vmsize
}
func (lcmd *Segment64) Fileoff() uint64 {
return lcmd.fileoff