Commit graph

61 commits

Author SHA1 Message Date
Philippe Teuwen
f63cf02178 make style 2020-11-07 01:32:43 +01:00
iceman1001
cd20b208d0 bigbuf calloc ftc where the memory is set to zero before 2020-11-02 19:07:03 +01:00
Philippe Teuwen
c3c59e35cb make style 2020-09-30 14:27:19 +02:00
iceman1001
566d6dc4b7 boundry check for tosend buffer 2020-09-28 17:46:12 +02:00
iceman1001
730a233149 clear bigbuff also should reset tracelen 2020-08-17 09:12:28 +02:00
Philippe Teuwen
4ed57c7c4d make style 2020-08-13 12:25:04 +02:00
iceman1001
3b90f5389a larger 2020-08-03 17:36:39 +02:00
iceman1001
df404a652a duration isnt 15bits, its 16. length is 15bits. 2020-07-21 10:49:29 +02:00
iceman1001
3354f0d9d3 unified static dma buffer as bigbuf_malloc, less pressure on stack size 2020-07-15 15:16:35 +02:00
iceman1001
d2a66cecba style 2020-07-14 15:44:38 +02:00
iceman1001
830ecd6e13 debugs 2020-07-13 22:05:11 +02:00
iceman1001
a6c240fe3b tosend into bigbuff 2020-07-13 17:56:19 +02:00
iceman1001
e7127514db change debug 2020-07-13 12:26:26 +02:00
iceman1001
27c4d994ac remove some debugstatments, use hdr.frame instead 2020-07-13 12:20:12 +02:00
iceman1001
a25a5322dd fpga: added iCLASS on deviceside 2020-07-10 16:37:56 +02:00
iceman1001
ed5471a895 fpga 2020-07-09 19:40:54 +02:00
Philippe Teuwen
f69739da79 make style 2020-06-19 18:34:47 +02:00
iceman1001
3832cf26fd color 2020-06-11 19:20:59 +02:00
slurdge
c89fc81fcf Make BigBuf take dynamically the available space with a fixed (4K) stack 2020-06-10 12:41:18 +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
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
iceman1001
27f7dd6dec some function def (hitag) 2020-01-01 20:47:39 +01:00
Philippe Teuwen
d19754567d summer restructuring:
* .h include only the strict minimum for their own parsing
  * this forces all files to include explicitment their needs and not count on far streched dependencies
  * this helps Makefile to rebuild only the minimum
  * according to this rule, most standalone .h are now gone
  * big app.h is gone
  * remove seldom __cplusplus, if c++ happens, everything will have to be done properly anyway
* all unrequired include were removed
* split common/ into common/ (client+arm) and common_arm/ (os+bootloader)
  * bring zlib to common/
  * bring stuff not really/not yet used in common back to armsrc/ or client/
  * bring liblua into client/
  * bring uart into client/
  * move some portions of code around (dbprint, protocols,...)
* rename unused files into *_disabled.[ch] to make it explicit
* rename soft Uarts between 14a, 14b and iclass, so a standalone could use several without clash
* remove PrintAndLogDevice
* move deprecated-hid-flasher from client to tools
* Makefiles
  * treat deps in armsrc/ as in client/
  * client: stop on warning (-Werror), same as for armsrc/

Tested on:

* all standalone modes
* Linux
2019-08-11 21:42:01 +02:00
Philippe Teuwen
0a4b90ac20 Simplify color & banner logic 2019-04-30 13:02:27 +02:00
iceman1001
ab6870c573 style 2019-04-28 11:08:41 +02:00
Philippe Teuwen
cb452c98ba rework Dbprintf & add color support 2019-04-26 10:36:06 +02:00
iceman1001
5608df9771 chg: refactored away hitag logtrace. 2019-03-13 22:48:51 +01:00
Philippe Teuwen
961d929f4d changing {} style to match majority of previous style 2019-03-10 11:20:22 +01:00
Philippe Teuwen
0373696662 make style 2019-03-10 00:00:59 +01:00
Philippe Teuwen
8a7c6825b5 armsrc: fix mix of spaces & tabs 2019-03-09 20:34:41 +01:00
Philippe Teuwen
60f292b18e remove spurious spaces & tabs at end of lines 2019-03-09 08:59:13 +01:00
iceman1001
2612cd006a CHG: bigbuf adaptations 2019-01-09 12:00:06 +01:00
Chris
307063474d CHG: cleanup 2018-09-04 20:36:25 +02:00
iceman1001
4bfc3ca8c9 CHG: part of @piwi changes 2017-10-23 21:17:59 +02:00
iceman1001
674db8d5ac fix: 'hf snoop' - buffer overflow (@satuoni) 2017-10-08 14:56:04 +02:00
iceman1001
4406f4ee2a CHG: removed some #DEFINE TRUE/FALSE 2017-07-07 12:52:51 +02:00
iceman1001
5f18400cbe FIX: 'hf iclass reader' marshmellows fixes.
CHG:  removing some #define TRUE
2017-07-07 12:38:49 +02:00
iceman1001
c71c5ee156 ADD: started to add tracelog in legic
ADD: remake of legic codebase.
ADD: started with a annotation for LEGIC in 'hf list'
2016-09-02 16:25:54 +02:00
iceman1001
b9b480d081 chg: name error? 2016-07-07 10:01:50 +02:00
iceman1001
a8ee668770 CHG: moved includes into header file where it belong 2016-07-07 02:15:40 +02:00
iceman1001
5bb6228386 syntax suger 2016-04-23 13:04:22 +02:00
iceman1001
6fc68747f6 ADD: well, starting with a luascript for reading calypso tags, made me remake the 14b raw command on client and device side. Sorry @marshmellow42 , but this one broke your "hf 14b info" implementation. I fixed the "hf 14b read" and the hf search. So not to bad, but still a bit broken. The 14b raw device side is now very similar to 14a raw. Which is good. There is a Standard 14b 0x050008 detection and STmicroelectronic 0x0600 detection on deviceside. This removes a lot of code client side.
I also made the SRi read functions better by combining them.   The demodulation / uart code should be the same as last summers changes.  The device side code can now be even smaller.
2016-03-20 19:33:07 +01:00
iceman1001
aaa1a9a2dc CHG: Added calling clear bigbuff to zero out it also, instead of just "free" it.
ADD:  downloading the EML part from BigBuffer specially.
2016-03-12 09:03:28 +01:00
iceman1001
c0f15a05b3 ADD: Marshmellows fixes for "lf t55xx" and "lf cmdread" ref: https://github.com/Proxmark/proxmark3/pull/166/files 2016-02-21 17:44:25 +01:00
iceman1001
da198be4b5 CHG: Syntax suger 2016-01-25 20:17:08 +01:00
iceman1001
810f53792e ADD: added the possibility to choose which block num to attack with "hf mf mifare" Before it only worked on block 0. 2016-01-20 22:26:01 +01:00
iceman1001
7f6ccd3926 FIX: coverty scan defects.
- bigbuf.c  is comparision correct (iLen versus numofparity)
- cmdhfepa.c  resourceleak, add a call to free
- cipherutils.c  resourceleak, added calls to free
2016-01-08 15:28:24 +01:00
iceman1001
a739812e89 FIX: thanks @tony, for pointing out a "end" statement inside tnp3sim.lua
ADD: @marshmello42 fixs for t55x7
2015-10-16 23:16:46 +02:00