Added Packer::getLoaderSectionStart(), where the size of the section

is allowed to be zero.

committer: mfx <mfx> 976719893 +0000
This commit is contained in:
Markus F.X.J. Oberhumer
2000-12-13 15:04:53 +00:00
parent d465077f13
commit d266c6bff1
3 changed files with 28 additions and 9 deletions
+4 -2
View File
@@ -199,7 +199,8 @@ protected:
virtual void initLoader(const void *pdata, int plen, int pinfo=-1);
virtual void addLoader(const char *s, ...);
virtual void addSection(const char *sname, const char *sdata, unsigned len);
virtual int getLoaderSection(const char *name, int *slen = NULL);
virtual int getLoaderSection(const char *name, int *slen=NULL) const;
virtual int getLoaderSectionStart(const char *name) const;
virtual void addFilter32(int filter_id);
virtual const char *getDecompressor() const;
@@ -253,7 +254,8 @@ private:
private:
// private to checkPatch()
void *last_patch;
int last_patch_offset;
int last_patch_len;
int last_patch_off;
private:
// disable copy and assignment