Skip to content

Commit 1ded0c5

Browse files
committed
[FEATURE] Set product version. Updated version to: 0.9.6
1 parent b5948cc commit 1ded0c5

File tree

5 files changed

+18
-11
lines changed

5 files changed

+18
-11
lines changed

CMakeLists.txt

+2-2
Original file line numberDiff line numberDiff line change
@@ -47,8 +47,8 @@ set (hdrs
4747
)
4848

4949
set (rsrc
50-
version.h
51-
mal_unpack.rc
50+
mal_unpack_ver.h
51+
mal_unpack_res.rc
5252
)
5353

5454
# libs

main.cpp

+2-2
Original file line numberDiff line numberDiff line change
@@ -14,15 +14,15 @@
1414
#include <pe_sieve_return_codes.h>
1515

1616
#include "unpack_scanner.h"
17-
#include "version.h"
17+
#include "mal_unpack_ver.h"
1818

1919
#include "util/process_util.h"
2020
#include "util/path_util.h"
2121
#include "util/file_util.h"
2222

2323
#define WAIT_FOR_PROCESS_TIMEOUT 5000
2424

25-
#define VERSION VER_FILEVERSION_STR
25+
#define VERSION MALUNP_VERSION_STR
2626
#define LOG_FILE_NAME "unpack.log"
2727

2828
void print_log_hdr(std::wofstream &report, const time_t& session_timestamp, const t_params_struct& params)

mal_unpack.rc mal_unpack_res.rc

+6-3
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,18 @@
1-
#include "version.h"
1+
#include "mal_unpack_ver.h"
22
#include <windows.h>
33

44
#define VER_COMPANYNAME_STR "Hashereware (hashereware.com)"
55
#define VER_FILETYPE VFT_APP
66
#define VER_FILESUBTYPE VFT2_UNKNOWN
77
#define VER_FILEOS VOS_NT_WINDOWS32
8-
#define VER_FILEDESCRIPTION_STR "MalUnpack - a dynamic malware unpacker (https://github.com/hasherezade/mal_unpack)"
8+
#define VER_FILEDESCRIPTION_STR "MalUnpack: dynamic malware unpacker based on PE-sieve."
99
#define VER_INTERNALNAME_STR "mal_unpack.exe"
1010
#define VER_ORIGINALFILENAME_STR "mal_unpack.exe"
11-
#define VER_LEGALCOPYRIGHT_STR "Copyright � 2018-2021 Hasherezade"
11+
#define VER_LEGALCOPYRIGHT_STR "Copyright � 2018-2022 Hasherezade"
1212
#define VER_PRODUCTNAME_STR "MalUnpack"
13+
#define VER_PRODUCTVERSION_STR VER_FILEVERSION_STR
14+
#define VER_FILEVERSION MALUNP_MAJOR_VERSION,MALUNP_MINOR_VERSION,MALUNP_MICRO_VERSION,MALUNP_PATCH_VERSION
15+
#define VER_PRODUCTVERSION_STR MALUNP_VERSION_STR
1316

1417
#define VER_FILEFLAGSMASK (VS_FF_DEBUG | VS_FF_PRERELEASE)
1518
#ifdef DEBUG

mal_unpack_ver.h

+8
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
#pragma once
2+
3+
#define MALUNP_MAJOR_VERSION 0
4+
#define MALUNP_MINOR_VERSION 9
5+
#define MALUNP_MICRO_VERSION 6
6+
#define MALUNP_PATCH_VERSION 0
7+
8+
#define MALUNP_VERSION_STR "0.9.6"

version.h

-4
This file was deleted.

0 commit comments

Comments
 (0)