Skip to content

Commit

Permalink
Release v4.9237 - Ice Coffee ☕
Browse files Browse the repository at this point in the history
  • Loading branch information
iceman1001 committed May 21, 2020
1 parent a19ba25 commit 833bc4d
Show file tree
Hide file tree
Showing 20 changed files with 30 additions and 29 deletions.
2 changes: 1 addition & 1 deletion Makefile.defs
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ else
RANLIB= ranlib
endif

DEFCFLAGS = -Wall -Werror -O3 -fstrict-aliasing -pipe
DEFCFLAGS = -Wall -O3 -fstrict-aliasing -pipe
# Some more warnings we want as errors:
DEFCFLAGS += -Wbad-function-cast -Wredundant-decls -Wmissing-prototypes -Wchar-subscripts -Wshadow -Wundef -Wwrite-strings -Wunused -Wuninitialized -Wpointer-arith -Winline -Wformat -Wformat-security -Winit-self -Wmissing-include-dirs -Wnested-externs -Wmissing-declarations -Wempty-body -Wignored-qualifiers -Wmissing-field-initializers -Wtype-limits -Wold-style-definition
# Some more warnings we need first to eliminate, so temporarely tolerated:
Expand Down
2 changes: 1 addition & 1 deletion client/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -229,7 +229,7 @@ add_executable(
${ADDITIONAL_SRC}
)

target_compile_options(proxmark3 PUBLIC -Wall -Werror -O3)
target_compile_options(proxmark3 PUBLIC -Wall -O3)

if (MINGW)
# Mingw uses by default Microsoft printf, we want the GNU printf (e.g. for %z)
Expand Down
2 changes: 1 addition & 1 deletion client/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,7 @@ ifneq (,$(findstring MINGW,$(platform)))
PM3CFLAGS += -D_ISOC99_SOURCE
PM3CFLAGS += -mno-ms-bitfields -fexec-charset=cp850
endif
CXXFLAGS ?= -Wall -Werror -O3
CXXFLAGS ?= -Wall -O3
PM3CXXFLAGS = $(CXXFLAGS) -I../include

LUAPLATFORM = generic
Expand Down
2 changes: 1 addition & 1 deletion client/deps/amiibo.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -13,5 +13,5 @@ add_library(pm3rrg_rdv4_amiibo STATIC

target_include_directories(pm3rrg_rdv4_amiibo PRIVATE ../../include ../../common)
target_include_directories(pm3rrg_rdv4_amiibo INTERFACE amiitool)
target_compile_options(pm3rrg_rdv4_amiibo PRIVATE -Wall -Werror -O3)
target_compile_options(pm3rrg_rdv4_amiibo PRIVATE -Wall -O3)
set_property(TARGET pm3rrg_rdv4_amiibo PROPERTY POSITION_INDEPENDENT_CODE ON)
2 changes: 1 addition & 1 deletion client/deps/cliparser.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -8,5 +8,5 @@ target_include_directories(pm3rrg_rdv4_cliparser PRIVATE
../../include
../src)
target_include_directories(pm3rrg_rdv4_cliparser INTERFACE cliparser)
target_compile_options(pm3rrg_rdv4_cliparser PRIVATE -Wall -Werror -O3)
target_compile_options(pm3rrg_rdv4_cliparser PRIVATE -Wall -O3)
set_property(TARGET pm3rrg_rdv4_cliparser PROPERTY POSITION_INDEPENDENT_CODE ON)
12 changes: 6 additions & 6 deletions client/deps/hardnested.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ add_library(pm3rrg_rdv4_hardnested_nosimd OBJECT
hardnested/hardnested_bf_core.c
hardnested/hardnested_bitarray_core.c)

target_compile_options(pm3rrg_rdv4_hardnested_nosimd PRIVATE -Wall -Werror -O3)
target_compile_options(pm3rrg_rdv4_hardnested_nosimd PRIVATE -Wall -O3)
set_property(TARGET pm3rrg_rdv4_hardnested_nosimd PROPERTY POSITION_INDEPENDENT_CODE ON)

target_include_directories(pm3rrg_rdv4_hardnested_nosimd PRIVATE
Expand All @@ -27,7 +27,7 @@ if ("${CMAKE_SYSTEM_PROCESSOR}" IN_LIST X86_CPUS)
hardnested/hardnested_bf_core.c
hardnested/hardnested_bitarray_core.c)

target_compile_options(pm3rrg_rdv4_hardnested_mmx PRIVATE -Wall -Werror -O3)
target_compile_options(pm3rrg_rdv4_hardnested_mmx PRIVATE -Wall -O3)
target_compile_options(pm3rrg_rdv4_hardnested_mmx BEFORE PRIVATE
-mmmx -mno-sse2 -mno-avx -mno-avx2 -mno-avx512f)
set_property(TARGET pm3rrg_rdv4_hardnested_mmx PROPERTY POSITION_INDEPENDENT_CODE ON)
Expand All @@ -41,7 +41,7 @@ if ("${CMAKE_SYSTEM_PROCESSOR}" IN_LIST X86_CPUS)
hardnested/hardnested_bf_core.c
hardnested/hardnested_bitarray_core.c)

target_compile_options(pm3rrg_rdv4_hardnested_sse2 PRIVATE -Wall -Werror -O3)
target_compile_options(pm3rrg_rdv4_hardnested_sse2 PRIVATE -Wall -O3)
target_compile_options(pm3rrg_rdv4_hardnested_sse2 BEFORE PRIVATE
-mmmx -msse2 -mno-avx -mno-avx2 -mno-avx512f)
set_property(TARGET pm3rrg_rdv4_hardnested_sse2 PROPERTY POSITION_INDEPENDENT_CODE ON)
Expand All @@ -55,7 +55,7 @@ if ("${CMAKE_SYSTEM_PROCESSOR}" IN_LIST X86_CPUS)
hardnested/hardnested_bf_core.c
hardnested/hardnested_bitarray_core.c)

target_compile_options(pm3rrg_rdv4_hardnested_avx PRIVATE -Wall -Werror -O3)
target_compile_options(pm3rrg_rdv4_hardnested_avx PRIVATE -Wall -O3)
target_compile_options(pm3rrg_rdv4_hardnested_avx BEFORE PRIVATE
-mmmx -msse2 -mavx -mno-avx2 -mno-avx512f)
set_property(TARGET pm3rrg_rdv4_hardnested_avx PROPERTY POSITION_INDEPENDENT_CODE ON)
Expand All @@ -69,7 +69,7 @@ if ("${CMAKE_SYSTEM_PROCESSOR}" IN_LIST X86_CPUS)
hardnested/hardnested_bf_core.c
hardnested/hardnested_bitarray_core.c)

target_compile_options(pm3rrg_rdv4_hardnested_avx2 PRIVATE -Wall -Werror -O3)
target_compile_options(pm3rrg_rdv4_hardnested_avx2 PRIVATE -Wall -O3)
target_compile_options(pm3rrg_rdv4_hardnested_avx2 BEFORE PRIVATE
-mmmx -msse2 -mavx -mavx2 -mno-avx512f)
set_property(TARGET pm3rrg_rdv4_hardnested_avx2 PROPERTY POSITION_INDEPENDENT_CODE ON)
Expand All @@ -83,7 +83,7 @@ if ("${CMAKE_SYSTEM_PROCESSOR}" IN_LIST X86_CPUS)
hardnested/hardnested_bf_core.c
hardnested/hardnested_bitarray_core.c)

target_compile_options(pm3rrg_rdv4_hardnested_avx512 PRIVATE -Wall -Werror -O3)
target_compile_options(pm3rrg_rdv4_hardnested_avx512 PRIVATE -Wall -O3)
target_compile_options(pm3rrg_rdv4_hardnested_avx512 BEFORE PRIVATE
-mmmx -msse2 -mavx -mavx2 -mavx512f)
set_property(TARGET pm3rrg_rdv4_hardnested_avx512 PROPERTY POSITION_INDEPENDENT_CODE ON)
Expand Down
2 changes: 1 addition & 1 deletion client/deps/jansson.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -15,5 +15,5 @@ add_library(pm3rrg_rdv4_jansson STATIC

target_compile_definitions(pm3rrg_rdv4_jansson PRIVATE HAVE_STDINT_H)
target_include_directories(pm3rrg_rdv4_jansson INTERFACE jansson)
target_compile_options(pm3rrg_rdv4_jansson PRIVATE -Wall -Werror -Wno-unused-function -O3)
target_compile_options(pm3rrg_rdv4_jansson PRIVATE -Wall -Wno-unused-function -O3)
set_property(TARGET pm3rrg_rdv4_jansson PROPERTY POSITION_INDEPENDENT_CODE ON)
2 changes: 1 addition & 1 deletion client/deps/lua.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -45,5 +45,5 @@ if (NOT MINGW)
endif (NOT MINGW)

target_include_directories(pm3rrg_rdv4_lua INTERFACE liblua)
target_compile_options(pm3rrg_rdv4_lua PRIVATE -Wall -Werror -O3)
target_compile_options(pm3rrg_rdv4_lua PRIVATE -Wall -O3)
set_property(TARGET pm3rrg_rdv4_lua PROPERTY POSITION_INDEPENDENT_CODE ON)
2 changes: 1 addition & 1 deletion client/deps/mbedtls.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -45,5 +45,5 @@ add_library(pm3rrg_rdv4_mbedtls STATIC
)

target_include_directories(pm3rrg_rdv4_mbedtls PRIVATE ../../common)
target_compile_options(pm3rrg_rdv4_mbedtls PRIVATE -Wall -Werror -O3)
target_compile_options(pm3rrg_rdv4_mbedtls PRIVATE -Wall -O3)
set_property(TARGET pm3rrg_rdv4_mbedtls PROPERTY POSITION_INDEPENDENT_CODE ON)
2 changes: 1 addition & 1 deletion client/deps/reveng.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -13,5 +13,5 @@ target_include_directories(pm3rrg_rdv4_reveng PRIVATE
../src
../../include)
target_include_directories(pm3rrg_rdv4_reveng INTERFACE reveng)
target_compile_options(pm3rrg_rdv4_reveng PRIVATE -Wall -Werror -O3)
target_compile_options(pm3rrg_rdv4_reveng PRIVATE -Wall -O3)
set_property(TARGET pm3rrg_rdv4_reveng PROPERTY POSITION_INDEPENDENT_CODE ON)
2 changes: 1 addition & 1 deletion client/deps/tinycbor.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -11,5 +11,5 @@ add_library(pm3rrg_rdv4_tinycbor STATIC

target_include_directories(pm3rrg_rdv4_tinycbor INTERFACE tinycbor)
# Strange errors on Mingw when compiling with -O3
target_compile_options(pm3rrg_rdv4_tinycbor PRIVATE -Wall -Werror -O2)
target_compile_options(pm3rrg_rdv4_tinycbor PRIVATE -Wall -O2)
set_property(TARGET pm3rrg_rdv4_tinycbor PROPERTY POSITION_INDEPENDENT_CODE ON)
2 changes: 1 addition & 1 deletion client/deps/whereami.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -2,5 +2,5 @@ add_library(pm3rrg_rdv4_whereami STATIC whereami/whereami.c)

target_compile_definitions(pm3rrg_rdv4_whereami PRIVATE WAI_PM3_TUNED)
target_include_directories(pm3rrg_rdv4_whereami INTERFACE whereami)
target_compile_options(pm3rrg_rdv4_whereami PRIVATE -Wall -Werror -O3)
target_compile_options(pm3rrg_rdv4_whereami PRIVATE -Wall -O3)
set_property(TARGET pm3rrg_rdv4_whereami PROPERTY POSITION_INDEPENDENT_CODE ON)
2 changes: 1 addition & 1 deletion client/deps/zlib.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -9,5 +9,5 @@ add_library(pm3rrg_rdv4_z STATIC
)

target_compile_definitions(pm3rrg_rdv4_z PRIVATE Z_SOLO NO_GZIP ZLIB_PM3_TUNED)
target_compile_options(pm3rrg_rdv4_z PRIVATE -Wall -Werror -O3)
target_compile_options(pm3rrg_rdv4_z PRIVATE -Wall -O3)
set_property(TARGET pm3rrg_rdv4_z PROPERTY POSITION_INDEPENDENT_CODE ON)
2 changes: 1 addition & 1 deletion client/src/proxmark3.c
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@

#define BANNERMSG1 " :snowflake: [email protected]"
#define BANNERMSG2 " https://github.com/rfidresearchgroup/proxmark3/"
#define BANNERMSG3 "pre-release v4.0"
#define BANNERMSG3 "Release v4.9237 - Ice Coffee :coffee:"

typedef enum LogoMode { UTF8, ANSI, ASCII } LogoMode;

Expand Down
11 changes: 6 additions & 5 deletions common/default_version.c
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
#include "common.h"
/* This is the default version.c file that Makefile.common falls back to if neither sh nor perl are available */
/* Generated file, do not edit */
#ifndef ON_DEVICE
#define SECTVERSINFO
#else
Expand All @@ -8,8 +8,9 @@

const struct version_information SECTVERSINFO version_information = {
VERSION_INFORMATION_MAGIC,
1, /* version 1 */
0, /* version information not present */
2, /* cleanliness couldn't be determined */
/* Remaining fields: zero */
1,
1,
2,
"RRG/Iceman/master/v4.9237",
"2020-05-21 21:55:15",
};
2 changes: 1 addition & 1 deletion common_arm/Makefile.common
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ VPATH = . ../common_arm ../common ../common/crapto1 ../common/mbedtls ../common/
INCLUDES = ../include/proxmark3_arm.h ../include/at91sam7s512.h ../include/config_gpio.h ../include/pm3_cmd.h

ARMCFLAGS = -mthumb-interwork -fno-builtin
DEFCFLAGS = -Wall -Werror -Os -pedantic -fstrict-aliasing -pipe
DEFCFLAGS = -Wall -Os -pedantic -fstrict-aliasing -pipe

# Some more warnings we want as errors:
DEFCFLAGS += -Wbad-function-cast -Wchar-subscripts -Wundef -Wunused -Wuninitialized -Wpointer-arith -Wformat -Wformat-security -Winit-self -Wmissing-include-dirs -Wnested-externs -Wempty-body -Wignored-qualifiers -Wmissing-field-initializers -Wtype-limits
Expand Down
2 changes: 1 addition & 1 deletion tools/hitag2crack/crack2/Makefile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
CFLAGS?=-Wall -Werror -O3
CFLAGS?=-Wall -O3
# Linux libs
LIBS=-pthread -D_GNU_SOURCE
# Mac libs
Expand Down
2 changes: 1 addition & 1 deletion tools/hitag2crack/crack3/Makefile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
CFLAGS?=-Wall -Werror -O3
CFLAGS?=-Wall -O3
LIBS=
VPATH=../common
INC=-I ../common
Expand Down
2 changes: 1 addition & 1 deletion tools/hitag2crack/crack4/Makefile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
CFLAGS?=-Wall -Werror -O3
CFLAGS?=-Wall -O3
LIBS=-lpthread
VPATH=../common
INC=-I ../common
Expand Down
2 changes: 1 addition & 1 deletion tools/hitag2crack/crack5/Makefile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
CFLAGS?=-Wall -Werror -O3
CFLAGS?=-Wall -O3
LIBS=-lpthread
VPATH=../common
INC=-I ../common
Expand Down

0 comments on commit 833bc4d

Please sign in to comment.