Some non-ELF --lzma stubs assumed only one block, and <= 0.5MiB

Fixed for p_lx_exc.cpp; others remain a mystery.
https://github.com/upx/upx/issues/816
This commit is contained in:
John Reiser
2024-05-01 10:09:52 -07:00
committed by Markus F.X.J. Oberhumer
parent 8393ded1b3
commit 4562d5459d
45 changed files with 29040 additions and 29211 deletions
+1 -1
View File
@@ -68,7 +68,6 @@ protected:
void preprocessSymbols(char *start, char const *end);
void preprocessRelocations(char *start, char const *end);
Section *findSection(const char *name, bool fatal = true) const;
Symbol *findSymbol(const char *name, bool fatal = true) const;
Symbol *addSymbol(const char *name, const char *section, upx_uint64_t offset);
Relocation *addRelocation(const char *section, unsigned off, const char *type,
@@ -92,6 +91,7 @@ public:
int getSectionSize(const char *sname) const;
byte *getLoader(int *llen = nullptr) const;
void defineSymbol(const char *name, upx_uint64_t value);
Symbol *findSymbol(const char *name, bool fatal = true) const;
upx_uint64_t getSymbolOffset(const char *) const;
void dumpSymbol(const Symbol *, unsigned flags, FILE *fp) const;