pefile: make kernelDLL() return the same strings as in UPX 3.91.

This commit is contained in:
Markus F.X.J. Oberhumer 2016-10-09 02:53:20 +02:00
parent 4b991203df
commit 4157affbd7
2 changed files with 2 additions and 2 deletions

View File

@ -66,7 +66,7 @@ protected:
virtual void buildLoader(const Filter *ft);
virtual Linker* newLinker() const;
virtual const char *kernelDll() const { return "coredll.dll"; }
virtual const char *kernelDll() const { return "COREDLL.dll"; }
virtual void processImports2(unsigned, unsigned);
virtual void addStubImports();

View File

@ -107,7 +107,7 @@ protected:
upx_byte *oimpdlls;
unsigned soimpdlls;
ImportLinker *ilinker;
virtual const char *kernelDll() const { return "kernel32.dll"; }
virtual const char *kernelDll() const { return "KERNEL32.DLL"; }
void addKernelImport(const char *);
virtual void addStubImports();
upx_uint64_t ilinkerGetAddress(const char *, const char *) const;