Commit graph

9094 commits

Author SHA1 Message Date
Philippe Teuwen 2c4eda6ab9 Fix 2 issues in proxendian.h, see details:
Only some OSes include endian.h from sys/types.h, not Termux, so let's include endian.h directly.
Moreover the past logic defined BYTE_ORDER to an undef macro, so BYTE_ORDER was not undef but def to 0
and BYTE_ORDER != LITTLE_ENDIAN && BYTE_ORDER != BIG_ENDIAN was always false as (0!=0 && 0!=0)
2020-05-13 02:09:03 +02:00
Philippe Teuwen de47514aec Fix for issue #730 2020-05-13 01:33:22 +02:00
Philippe Teuwen 1ee8696e47 Fix issue #729. Avoid stalling on non-rdv4 when polling for FeliCa without card in proximity 2020-05-13 00:36:52 +02:00
Philippe Teuwen 66fd6d70a0 hardnested: more readable preprocessing 2020-05-12 13:26:16 +02:00
iceman1001 5e4c83cc2f redundant 2020-05-12 10:30:14 +02:00
iceman1001 8f188a5329 redundant 2020-05-12 10:27:54 +02:00
Philippe Teuwen 61610a5c61 fiddling with makefile 2020-05-12 01:49:01 +02:00
Philippe Teuwen 8dcf670f72 ore hardnested switch to handle 2020-05-12 01:17:38 +02:00
Philippe Teuwen a3aa38e624 trying to help old gcc 5... 2020-05-12 00:58:02 +02:00
Philippe Teuwen 3e05d28678 more hardnested switch to handle 2020-05-12 00:50:49 +02:00
Philippe Teuwen 7f6c078de2 fix cbor enum 2020-05-12 00:44:22 +02:00
Philippe Teuwen c719e545dc add -Wswitch-enum flag 2020-05-12 00:35:43 +02:00
Philippe Teuwen 5ee82d6354 Add old-style-definition warning 2020-05-12 00:35:43 +02:00
Philippe Teuwen 2819792f8e Revert "fix osx"
This reverts commit 09903384fa.
2020-05-12 00:27:21 +02:00
Philippe Teuwen d2f9fb6084 fix hardnested switch-enum 2020-05-12 00:26:55 +02:00
iceman1001 09903384fa fix osx 2020-05-12 00:25:44 +02:00
iceman1001 00cca150ed Merge branch 'master' of https://github.com/RfidResearchGroup/proxmark3 2020-05-12 00:08:12 +02:00
iceman1001 56371fe7d5 coverity fixes 2020-05-12 00:07:06 +02:00
Philippe Teuwen 605a754b20 old-style-definition warnings 2020-05-11 23:57:32 +02:00
Philippe Teuwen 1a89680e7b fix unused-but-set warning 2020-05-11 23:52:38 +02:00
Philippe Teuwen b46a99d7d7 remove switch-enum warnings 2020-05-11 23:50:14 +02:00
iceman1001 36c523659b textual 2020-05-11 22:49:44 +02:00
iceman1001 d5adbc89a5 file 2020-05-11 22:38:17 +02:00
iceman1001 30184b2b5c cleaning 2020-05-11 22:34:54 +02:00
iceman1001 4b68ac0a90 chg: lenient nexwatch demod sizes 2020-05-11 22:34:33 +02:00
iceman1001 00b67e2cdd remove warnings of unused 2020-05-11 22:12:46 +02:00
iceman1001 5fd48305de chg: lf nexwath sim/clone - now supports 88bit format direct. See helptext for samples 2020-05-11 21:58:47 +02:00
iceman1001 a1fc61ac08 Merge branch 'master' of https://github.com/RfidResearchGroup/proxmark3 2020-05-11 21:57:45 +02:00
Philippe Teuwen 0242a98d2b
Merge pull request #728 from monster1025/em4100rswb
Rewrited lf_em4100rwc standalone mode, added card bruteforce mode.
2020-05-11 17:23:02 +02:00
iceman1001 093065f77a chg: 'data load' - color 2020-05-11 17:23:01 +02:00
iceman1001 41d734f07a Merge branch 'master' of https://github.com/RfidResearchGroup/proxmark3 2020-05-11 17:22:27 +02:00
Dmitriy Loginoov 8b8d60c667 Fixed compiler warnings. 2020-05-11 18:18:47 +03:00
Dmitriy Loginoov 91b8569391 Added changelog line, fixed mode order in Makefiles, added line to documentation. 2020-05-11 17:52:35 +03:00
Dmitriy Loginoov f4e8fc89a8 Rewrited lf_em4100rwc standalone mode, added card bruteforce mode. 2020-05-11 16:58:16 +03:00
Philippe Teuwen 30c37e14e3 appveyor verbose 2020-05-11 15:03:02 +02:00
iceman1001 d739edd13e Merge branch 'master' of https://github.com/RfidResearchGroup/proxmark3 2020-05-11 15:00:09 +02:00
Philippe Teuwen b377ca763a cmdlft55xx : Fix buf overrun (gcc 10 error)
src/cmdlft55xx.c:2560:43: error: ‘ - (Unknown)’ directive output may be truncated writing 21 bytes into a region of size between 15 and 24 [-Werror=format-truncation=]
 2560 |             snprintf(retStr, sizeof(buf), "%u - " _RED_("(Unknown)"), id);
      |                                           ^~~~~~~
src/cmdlft55xx.c:2560:13: note: ‘snprintf’ output between 23 and 32 bytes into a destination of size 25
 2560 |             snprintf(retStr, sizeof(buf), "%u - " _RED_("(Unknown)"), id);
      |             ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
2020-05-11 13:58:38 +02:00
Philippe Teuwen 77a834954e Remove arm clang flags 2020-05-11 13:48:57 +02:00
Philippe Teuwen 72e7f2e98c arm warnings 2020-05-11 13:48:57 +02:00
Philippe Teuwen d7422aaf99 bootrom fix warnings 2020-05-11 13:48:57 +02:00
Philippe Teuwen 8e4aba5e53 arm: fix prototypes 2020-05-11 13:48:57 +02:00
Philippe Teuwen 8160131119 fix standalone warnings 2020-05-11 13:48:57 +02:00
Philippe Teuwen 5f1ff72f7c arm: fix warnings discarded-qualifiers 2020-05-11 13:48:57 +02:00
Philippe Teuwen 026707b960 arm: fix prototypes 2020-05-11 13:48:57 +02:00
Philippe Teuwen 838d345918 resolve inline warnings 2020-05-11 13:48:57 +02:00
Philippe Teuwen 99b55a36e4 arm: remove redundant declarations 2020-05-11 13:48:57 +02:00
Philippe Teuwen f9463d183a bootloader: fix missing prototypes and shadowed vars 2020-05-11 13:48:57 +02:00
Philippe Teuwen b40c8dd5d2 tinycbor: avoid overriding cflags, hide warnings 2020-05-11 13:47:19 +02:00
iceman1001 11884df687 textual 2020-05-11 11:45:45 +02:00
iceman1001 e94c61ee1a Merge branch 'master' of https://github.com/RfidResearchGroup/proxmark3 2020-05-11 11:45:04 +02:00