Commit graph

33 commits

Author SHA1 Message Date
iceman1001
fe9348768d use calloc instead 2022-01-09 00:33:33 +01:00
Philippe Teuwen
30aa7aa7d1 Adapting license headers, WIP 2022-01-08 00:40:52 +01:00
iceman1001
89a05b47a8 cppcheck fixes const 2022-01-07 19:31:19 +01:00
Philippe Teuwen
88308ea727 typos 2021-10-10 01:35:45 +02:00
Philippe Teuwen
e67526ee4d document tweak 2020-07-31 18:22:11 +02:00
Marlin Sööse
01dfa46e67
Update crypto1.c
fixup for clang on aarch64
2020-07-30 20:46:59 -06:00
Marlin Sööse
de389efad2
Update crapto1.c
fixup for clang on aarch64
2020-07-30 20:41:37 -06:00
Philippe Teuwen
838d345918 resolve inline warnings 2020-05-11 13:48:57 +02:00
Philippe Teuwen
0e39cb8e34 stricter warnings, wip 2020-05-02 23:54:27 +02:00
iceman1001
b86d9f2b96 cppcheck fix 2020-04-28 22:36:57 +02:00
iceman1001
5ef1f001dd extra check if malloc failed 2020-02-03 22:44:46 +01:00
iceman1001
88237e60c1 cppcheck 2019-12-30 16:41:13 +01:00
Philippe Teuwen
30da3cfd42 coverity 263769 dereference before null check 2019-10-24 01:32:44 +02:00
Philippe Teuwen
39fd6b1910 coverity: separate crypto1 fcts ARM<>host into create/destroy and init/deinit 2019-10-18 16:58:24 +02: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
732bc766f9 Reduce some var scopes 2019-06-07 18:41:39 +02:00
iceman1001
7bc3bea230 style 2019-04-16 15:32:37 +02:00
iceman1001
e30dbf3ecd style 2019-04-16 15:22:39 +02:00
iceman1001
87a74e98b8 style 2019-04-16 15:19:53 +02:00
iceman1001
daa7313095 unshadow 2019-04-08 08:36:07 +02:00
Philippe Teuwen
26eb54b965 style 2019-04-06 01:00:54 +02:00
iceman1001
8b8b67ac76 style 2019-03-19 00:07:57 +01:00
iceman1001
af8e81d0a0 bool as bitwise 2019-03-18 22:07:44 +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
23f1a253a7 common: fix mix of spaces & tabs 2019-03-09 19:19:50 +01:00
Philippe Teuwen
60f292b18e remove spurious spaces & tabs at end of lines 2019-03-09 08:59:13 +01:00
vratiskol
898f2bea5b Crapto Clean Up
Clean up comment code
2019-02-24 22:02:17 +01:00
iceman1001
99b6087b01 chg: use calloc 2019-01-30 21:16:20 +01:00
iceman1001
3e5bd575f6 syntax sugar 2017-12-24 10:22:02 +01:00
iceman1001
44280abf62 chg: reverting back to more or less offical pm3 version. 2017-12-07 15:02:15 +01:00
iceman1001
1f637d726f fix to darkside overdue. I needed to remove my old impl.. 2017-12-06 17:15:24 +01:00
iceman1001
6519ae6f88 part of monstermerge... 2017-07-27 20:48:49 +02:00