src: clang-format various packers

This commit is contained in:
Markus F.X.J. Oberhumer
2022-11-26 17:45:25 +01:00
parent 93c6496ba8
commit 9f5d67e27c
13 changed files with 863 additions and 1275 deletions
+6 -9
View File
@@ -25,24 +25,22 @@
<markus@oberhumer.com> <ezerotven+github@gmail.com>
*/
#ifndef __UPX_P_SYS_H
#define __UPX_P_SYS_H 1
#pragma once
#ifndef UPX_P_SYS_H__
#define UPX_P_SYS_H__ 1
/*************************************************************************
// dos/sys
**************************************************************************/
class PackSys final : public PackCom
{
class PackSys final : public PackCom {
typedef PackCom super;
public:
PackSys(InputFile *f) : super(f) { }
PackSys(InputFile *f) : super(f) {}
virtual int getVersion() const override { return 13; }
virtual int getFormat() const override { return UPX_F_DOS_SYS; }
virtual const char *getName() const override { return "dos/sys"; }
//virtual const char *getFullName(const options_t *o) const override { return o && o->cpu == o->CPU_8086 ? "i086-dos16.sys" : "i286-dos16.sys"; }
virtual const char *getFullName(const options_t *) const override { return "i086-dos16.sys"; }
virtual bool canPack() override;
@@ -55,7 +53,6 @@ protected:
virtual void patchLoader(OutputFile *fo, upx_byte *, int, unsigned) override;
};
#endif /* already included */
/* vim:set ts=4 sw=4 et: */