Commit graph

2330 commits

Author SHA1 Message Date
tharexde ef9ccde512 added EM4x50 info function 2020-06-15 14:32:51 +02:00
tharexde f5ff2c12eb added EM4x50 info function 2020-06-15 14:32:44 +02:00
tharexde 1fe83eaf25 added EM4x50 info function 2020-06-15 14:32:34 +02:00
tharexde ffec9d5a18 added EM4x50 info function 2020-06-15 14:32:23 +02:00
iceman1001 62ce1cdf13 chg: increase stack size - hf mfu simlation needs it 2020-06-14 12:16:27 +02:00
iceman1001 88a42c6108 chg: ntag215/amiibo, empty header, use hardcoded values 2020-06-14 07:41:21 +02:00
iceman1001 e71e70bd9d minor 2020-06-12 17:50:11 +02:00
iceman1001 3832cf26fd color 2020-06-11 19:20:59 +02:00
Philippe Teuwen 54cbaf5b87 textual 2020-06-11 13:24:55 +02:00
slurdge 05ed3f7018 Second try to fix appveyor 2020-06-11 12:12:20 +02:00
slurdge 53c5456f7a Fix ptr arithmetic hopefully 2020-06-11 11:35:15 +02:00
slurdge 35857f535d Compute the max usage 2020-06-11 11:14:53 +02:00
slurdge c11c7ab545 Add support for client getting bigbufsize 2020-06-10 23:03:03 +02:00
slurdge df4bdc89ea Fix BIGBUF_SIZE used in #WITH_FLASH 2020-06-10 19:06:40 +02:00
slurdge c89fc81fcf Make BigBuf take dynamically the available space with a fixed (4K) stack 2020-06-10 12:41:18 +02:00
iceman1001 ea73746d32 text 2020-06-10 09:02:58 +02:00
iceman1001 9d1cbaddf9 text 2020-06-10 08:56:45 +02:00
Philippe Teuwen e3e33a6501 Use SumAdc also in ListenReaderField 2020-06-10 01:09:58 +02:00
Philippe Teuwen 0ce3be2f34 Reintroduce AvgAdv, avoid *64 as it could easily overflow
This reverts partly commit 9189dc8563.
2020-06-10 00:10:39 +02:00
iceman1001 9189dc8563 applied theremin patch, adc values are summed, remember to divide when read 2020-06-09 23:37:56 +02:00
Philippe Teuwen 224cb2ffd7 make style 2020-06-08 03:15:10 +02:00
Iceman fc1f137f0c
Merge pull request #759 from slurdge/lz4_new
[WIP] Zlib->LZ4 change
2020-06-07 18:43:44 +02:00
slurdge 33781b1fd8 Move most of libs to thumb mode. 2020-06-07 17:29:25 +02:00
iceman1001 4e29909cc2 chg: pointer casting to sort out array out of bonds 2020-06-07 15:59:06 +02:00
iceman1001 09548ecf51 cleaning some code 2020-06-07 13:56:21 +02:00
Philippe Teuwen 381b47f64e lz4: add memmove to arm string.c 2020-06-07 12:46:34 +02:00
Philippe Teuwen d48fcbf5eb lz4stream info to int: use memcpy 2020-06-07 12:46:05 +02:00
slurdge 1a8eff5d42 add lz4 to arm side 2020-06-05 16:24:05 +02:00
Philippe Teuwen 6980429bd4 ARM: remove contradictory flag -fno-strict-aliasing as we have -fstrict-aliasing in Makefile.common 2020-06-02 14:12:28 +02:00
iceman1001 89f43c1221 cppchecker 2020-06-02 12:58:37 +02:00
iceman1001 e67c515451 fix cppchecker 2020-06-02 12:49:18 +02:00
iceman1001 3d67bde0d9 old->mix 2020-05-27 17:58:34 +02:00
Philippe Teuwen f30ccd0f51 Makefile: fix cp version for armsrc 2020-05-22 13:43:57 +02:00
Philippe Teuwen 8e12285f66 introduce CROSS_*FLAGS for cross-compilation 2020-05-21 19:28:42 +02:00
Philippe Teuwen e2a20631c7 remove section version_information for client 2020-05-20 21:11:45 +02:00
Philippe Teuwen 577380ae48 color ARM/FPGA version sections 2020-05-20 21:11:45 +02:00
Philippe Teuwen 0172b0638b Makefile: wrap sh and perl calls 2020-05-20 21:11:45 +02:00
Philippe Teuwen ef586c2a41 version info also for client, still cmake to do 2020-05-20 21:11:45 +02:00
iceman1001 35886fab91 chg: must have a default return value 2020-05-20 18:30:41 +02:00
iceman1001 30be05ec3f chg: removed debugstatements, the code doesnt use them 2020-05-20 18:28:43 +02:00
iceman1001 b22ea6f846 fix: matty_run eloadcard 2020-05-20 18:28:10 +02:00
Philippe Teuwen be42995f8a Less fantasy in the LogTrace usages regarding timestamps 2020-05-19 20:19:44 +02:00
Philippe Teuwen 37ae102e38 LogTrace error msg 2020-05-19 19:09:25 +02:00
Philippe Teuwen cb8d589fc4 armsrc: clarify static vars vs global vars, part 3 2020-05-19 18:12:40 +02:00
Philippe Teuwen b556810776 armsrc: clarify static vars vs global vars, part 2 2020-05-19 17:25:58 +02:00
iceman1001 4d355192bf remove inline 2020-05-19 17:16:23 +02:00
iceman1001 47634f5550 change: remove inline directive in armsrc, since we are optimizing for size 2020-05-19 17:15:07 +02:00
Philippe Teuwen 3e7512a5d5 armsrc: clarify static vars vs global vars 2020-05-19 17:05:43 +02:00
Philippe Teuwen fbaf634779 legicrf & gcc 10: Remove inline warning 2020-05-19 16:34:00 +02:00
Philippe Teuwen 23d754c85f fix max duration in LogTrace 2020-05-19 02:48:03 +02:00
Philippe Teuwen a999243a45 use tracelog struct in arm too 2020-05-19 02:39:39 +02:00
Philippe Teuwen 4dac94c772 clarify BUTTON macro usages 2020-05-15 00:00:42 +02:00
Philippe Teuwen 3f71be870b cppcheck on hf_mattyrun 2020-05-14 23:26:41 +02:00
Philippe Teuwen 3c44ef39f7 fix REV macros & hitagS 2020-05-14 17:52:09 +02:00
Philippe Teuwen 98a254ba65 hitagS, untested 2020-05-14 17:17:23 +02:00
iceman1001 12e942febc coverity - remove bad shift, (untested) 2020-05-14 09:59:06 +02:00
iceman1001 ed11e4a093 cppcheck fix, assign a value 2020-05-14 09:18:51 +02:00
Philippe Teuwen ffdd338dea make style 2020-05-14 01:04:26 +02:00
Philippe Teuwen 1c8c1d82ea fix coverity 267211 & 267206 logically dead code 2020-05-14 01:01:48 +02:00
Philippe Teuwen c43b9085f9 fix coverity 274112 unintended sign extension 2020-05-14 00:31:22 +02:00
iceman1001 b4cc7a9ad3 coverity fix, stricter checks for available memory when checking mifare keys 2020-05-13 13:40:52 +02:00
iceman1001 6e7a8e1bfc chg: enforce stricter limit checks for available pwds in flash mem 2020-05-13 13:26:02 +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
iceman1001 8f188a5329 redundant 2020-05-12 10:27:54 +02:00
iceman1001 00b67e2cdd remove warnings of unused 2020-05-11 22:12:46 +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 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 2f293e211a show compiler version 2020-05-11 10:21:32 +02:00
Philippe Teuwen 93c1be689a lfsampling: interruptible only when logging not yet triggered 2020-05-09 00:23:46 +02:00
iceman1001 a96e94b872 coverity fix 2020-05-08 21:13:01 +02:00
iceman1001 3720ff144d coverity nags 2020-05-08 16:26:58 +02:00
iceman1001 3716d4d823 convert OLD->MIX 2020-05-08 12:42:10 +02:00
Philippe Teuwen 0cb21c89c3 doc 2020-05-02 23:11:49 +02:00
iceman1001 00fb88ee4c cppcheck fix, make var conditional 2020-04-29 20:34:47 +02:00
iceman1001 f1f3742333 coverity fix 279922 2020-04-29 20:09:23 +02:00
Philippe Teuwen 1410d4d9b5 lf sim: better to return err on faulty offset, thanks @iceman 2020-04-29 20:07:04 +02:00
Philippe Teuwen b3f84bf7b3 make style 2020-04-29 19:41:45 +02:00
Philippe Teuwen a626725477 lf sim: fix offset of last packet 2020-04-29 19:41:10 +02:00
Philippe Teuwen 155d30ce49 coverity fix 226278 and offset computation as side effect 2020-04-29 19:19:26 +02:00
iceman1001 4c640805b6 coverity fix: 267208 2020-04-29 16:57:52 +02:00
iceman1001 ae14272117 coverity fix: 279923, flawed logic. how to signal to device to use the default keys? 2020-04-28 14:46:40 +02:00
iceman1001 f1cdb68c52 fix: cppchecker complains on null. Not sure if that should be a valid call. I guess @cjbrigato will let me know if I messed up 2020-04-28 13:30:43 +02:00
Philippe Teuwen 04a16ddeb5 msdsal fix bug after var de-shadowing, move stuff around 2020-04-26 17:44:45 +02:00
iceman1001 f416fa9b4f cppchecker fixes 2020-04-26 12:56:19 +02:00
Philippe Teuwen 0219aed591 arraylen 2020-04-24 18:44:42 +02:00
Philippe Teuwen 011f973e7f make style 2020-04-24 18:21:38 +02:00
Philippe Teuwen 0fe80c4a2d sorting modes 2020-04-24 18:20:37 +02:00
Philippe Teuwen 773b27954d rename standalone template 2020-04-24 18:11:27 +02:00
Philippe Teuwen 9db1c10230 new HF_MSDSAL as default standalone 2020-04-24 17:54:12 +02:00
Salvador Mendoza 9c4bfa5dcb Update hf_msdsal.c 2020-04-24 16:42:41 +02:00
Salvador Mendoza d98897c3d5 Update iso14443a.h 2020-04-24 16:42:40 +02:00
Salvador Mendoza a06d05cc95 Update iso14443a.c 2020-04-24 16:42:40 +02:00
Salvador Mendoza 9cd58bd9f0 Create hf_msdsal.c 2020-04-24 16:42:40 +02:00
Salvador Mendoza 88d9ad2829 Update iso14443a.c 2020-04-24 16:42:40 +02:00