src: clang-format various packers
This commit is contained in:
+6
-9
@@ -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: */
|
||||
|
||||
Reference in New Issue
Block a user