WIP: Elf64 shlib cleanup

modified:   file.cpp
	modified:   file.h
	modified:   p_elf_enum.h
	modified:   p_lx_elf.cpp
	modified:   p_lx_elf.h
This commit is contained in:
John Reiser
2021-07-02 18:33:38 -07:00
committed by Markus F.X.J. Oberhumer
parent d5263a56ce
commit 85f0c5a445
5 changed files with 103 additions and 38 deletions
+5
View File
@@ -405,6 +405,11 @@ void OutputFile::rewrite(const void *buf, int len)
bytes_written -= len; // restore
}
upx_off_t OutputFile::tell() const
{
return super::tell();
}
upx_off_t OutputFile::seek(upx_off_t off, int whence)
{
mem_size_assert(1, off >= 0 ? off : -off); // sanity check