1/* 2; header.S -- 3; 4; This file is part of the UPX executable compressor. 5; 6; Copyright (C) 1996-2020 Markus Franz Xaver Johannes Oberhumer 7; Copyright (C) 1996-2020 Laszlo Molnar 8; All Rights Reserved. 9; 10; UPX and the UCL library are free software; you can redistribute them 11; and/or modify them under the terms of the GNU General Public License as 12; published by the Free Software Foundation; either version 2 of 13; the License, or (at your option) any later version. 14; 15; This program is distributed in the hope that it will be useful, 16; but WITHOUT ANY WARRANTY; without even the implied warranty of 17; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 18; GNU General Public License for more details. 19; 20; You should have received a copy of the GNU General Public License 21; along with this program; see the file COPYING. 22; If not, write to the Free Software Foundation, Inc., 23; 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. 24; 25; Markus F.X.J. Oberhumer Laszlo Molnar 26; <markus@oberhumer.com> <ezerotven+github@gmail.com> 27; 28*/ 29 30 31section UPX1HEAD 32 33 .byte 85,80,88,33 // 0 UPX_MAGIC_LE32 34 .byte 161,216,208,213 // UPX_MAGIC2_LE32 35 .long 0 // 8 uncompressed adler32 36 .long 0 // 12 compressed adler32 37 38#ifdef COM 39 .short 0 // 16 uncompressed len 40 .short 0 // 18 compressed len 41 .byte 0 // 20 filter 42 .byte 45 // 21 header checksum 43#elif defined(EXE) 44 .byte 0,0,0 // 16 uncompressed len 45 .byte 0,0,0 // 19 compressed len 46 .byte 0,0,0 // 22 original file size 47 .byte 0 // 25 filter 48 .byte 45 // 26 header checksum 49#else 50 .long 0 // 16 uncompressed len 51 .long 0 // 20 compressed len 52 .long 0 // 24 original file size 53 .byte 0 // 28 filter id 54 .byte 0 // 29 filter cto 55 .byte 0 // unused 56 .byte 45 // 31 header checksum 57#endif 58 59/* vim:set ts=8 sw=8 et: */ 60