Commit Graph
22312 Commits
Author SHA1 Message Date
dxl d59e96e09e Make proxmark3_arm.h more cross-platform. 2026-08-19 15:51:18 +02:00
dxl cbc56f720d Abstract the flash.c to avoid hard coding that makes it impossible to cross platforms. 2026-08-19 15:51:18 +02:00
DXL b448d3c6bd The bootrom performs hardware abstraction. 2026-08-19 15:48:58 +02:00
dxl 68aeb51482 hitag_common is restored to the FPGA-side detection edge and implemented using HAL. 2026-08-19 15:32:39 +02:00
dxl e3511c5350 Used HAL layer
in appmain.c and cmd added.
in cmd.c and add some code for test CEP
in em4x50.c(Do not timeout--)
in em4x70.c
in emvsim.c
in epa.c
in felica.c
in felicasim.c
in felicasim.c
in hfops.c
in hfsnoop.c
in hitag2.c
in hitag_common.c(Cross-platform implementation is incomplete.)
in hitagS.c
in hitagu.c
in i2c.c(Incomplete, continue to abstract.)
in i2c_direct.c
in iclass.c
in iso14443a.c(Sniff no finish yet)
in iso14443b.c and fixed bug for st25
in iso15693.c
in legicrf.c
in legicrfsim.c
in lfadc.c(lf_count_edge_periods_ex() improved)
in lfops.c(TI tag no finish yet)
in lfsampling.c
in lfzx.c
in mifarecmd.c
in mifaredesfire.c
in mifaresim.c
in mifaresniff_disabled.c
in mifareutil.c
in pcf7931.c
in sam_xxx
in secc & seos
in start.c
in thinfilm.c
in utils
2026-08-19 15:32:39 +02:00
dxl e4fa411ae9 Run ConfigSystemClocks() & UnitTestMain() in start.c 2026-08-19 15:32:39 +02:00
Philippe Teuwen ee4ff741ff Fix tools/mkversion.sh to follow new common_arm dir structure 2026-08-19 15:32:39 +02:00
dxl 36f1c7e44c Make common_arm to hardware abstraction layer. 2026-08-19 15:32:39 +02:00
Philippe Teuwen 51d0ff260a cppcheck fix sanity check condition in SimTagIso15693 2026-08-19 13:53:09 +02:00
Chloé Franke 070bdf78a1 Fixed hardcoded length of debug print of authentication nonce for mifare desfire 2026-08-19 13:20:52 +02:00
Cole Munz 0b40585124 Set the stringop-overflow flags before add_subdirectory(deps)
With the linker pin in place the proxspace job gets past the bootrom and
dies later instead, in the cmake build:

  client/deps/jansson/load.c:193:35: error: writing 1 byte into a region
  of size 0 [-Werror=stringop-overflow=]

client/CMakeLists.txt already turns that false positive off for GCC 10
and newer, but it does it at line 876 while add_subdirectory(deps) runs
at line 295. CMake copies the calling scope into a subdirectory at the
add_subdirectory call, so anything set afterwards never reaches the
bundled deps, and jansson is built without the suppression that the rest
of the client gets.

Move the block above the add_subdirectory call in both client and
experimental_lib. Checked by configuring before and after: 0 of 17 deps
targets carried -Wno-error=stringop-overflow in their flags.make before,
17 of 17 after.

ubuntu-cmake and macos-cmake stay green either way; their compilers do
not emit this particular false positive, which is why the gap went
unnoticed while the bootrom link was failing first.

Signed-off-by: Cole Munz <Munzzyy1@proton.me>
2026-08-19 13:18:46 +02:00
Philippe Teuwen ddd8e57427 Make loclass/cipher_bs_avx* compatible with clang 2026-08-19 12:59:29 +02:00
Philippe Teuwen 430fea5338 Guard fpga config flash mode with capability 2026-08-19 12:04:33 +02:00
Philippe Teuwen 7c436d2d58 guard pm5 commands with capabilities 2026-08-19 12:04:33 +02:00
Philippe Teuwen d2a8cca233 Add pm5 capabilities 2026-08-19 12:04:33 +02:00
Philippe Teuwen 420e36968b cmdfpga: clear error msg 2026-08-19 12:04:33 +02:00
dxl 40ec760a92 Strictly check the length of atqa. 2026-08-19 12:04:33 +02:00
dxl eaf9388b0e Git does not manage project folders in IntelliJ IDEA. 2026-08-19 12:04:33 +02:00
dxl 94e350fab9 Fixed a bug where Proxmark5 dump mfu data was empty. 2026-08-19 12:04:33 +02:00
dxl defa6ca212 Fixed a bug that caused a stringop-overflow warning when compiling load.c. 2026-08-19 12:04:33 +02:00
Philippe Teuwen 66c5fd8343 Fix external flash sanity check in prevision of pm5 2026-08-19 12:04:33 +02:00
dxl 389e052ba4 Add the relevant IO definitions for capturing ssc_frames on PM5. 2026-08-19 12:04:33 +02:00
dxl 7bb46ff71e Separate the GPIO definitions of different platforms. 2026-08-19 12:04:32 +02:00
dxl af9f16d880 Fixed unintended global export in commonutil.c, thx nieldk. 2026-08-19 12:04:32 +02:00
dxl 9cdda9aa62 Reuse the logic for checking version information. 2026-08-19 12:04:32 +02:00
dxl 516ef68ba6 Fixed bug for RAMFUNC definition 2026-08-19 12:04:32 +02:00
dxl c3df8e705d Added def: FORCE_INLINE & STATIC_FORCE_INLINE 2026-08-19 12:04:32 +02:00
dxl 69c5db7487 Make VERSION_INFORMATION_MAGIC cross-platform. 2026-08-19 12:04:32 +02:00
dxl c56497a629 Supplement logic comments to avoid misleading developers. 2026-08-19 12:04:32 +02:00
Philippe Teuwen 436bbed4a2 Add placeholder for CMD_MAIN_CHIP_UNIQUEID 2026-08-19 12:04:32 +02:00
Philippe Teuwen d2a2d63854 Fix CodeQL warning on printf 2026-08-19 12:04:32 +02:00
dxl dca419413b Added cmd(fpga, antennal, qc...) for Proxmark5 2026-08-19 12:04:32 +02:00
dxl f145871b7e Added some cmd and struct definitions for proxmark5 2026-08-19 12:04:32 +02:00
Philippe Teuwen a061f080ed experimental_lib: add missing cmdfpga.c 2026-08-19 12:04:32 +02:00
dxl 7f946eb16f Fixed an issue where compiling the client using CMake failed. 2026-08-19 12:04:32 +02:00
dxl 83114823ec Added cmdfpga for client. 2026-08-19 12:04:32 +02:00
dxl fb21fd80eb Added the armlib third-party dependency. 2026-08-19 12:04:32 +02:00
Iceman 0b010a3077 Merge pull request #3472 from oSPANNERo/fix-readable-mfc-keyb
fix(mifare): preserve readable Key B in sector trailer dumps
2026-08-19 14:12:55 +07:00
oSPANNERo 2246341dff Merge branch 'master' into fix-readable-mfc-keyb
Signed-off-by: oSPANNERo <25675033+oSPANNERo@users.noreply.github.com>
2026-08-18 18:37:11 -04:00
Iceman d3aa3d25c4 Merge pull request #3467 from kormax/felica-container-issue-information-devices
Detect and print mobile FeliCa device model in `hf felica info`
2026-08-19 02:11:01 +07:00
Iceman f4074cfc63 Merge pull request #3459 from team-orangeBlue/hyctec_mplus
Add CopyKEY M+ tags
2026-08-19 02:10:13 +07:00
Iceman 90e0b7fd8a Merge pull request #3455 from ry4000/master
R&Y: Added static FEC key to `mfc_default_keys.dic`
2026-08-19 02:09:47 +07:00
Iceman a91e5dd174 Merge pull request #3454 from cindersocket/feat-proximity-check-file
Add application proximity check selection
2026-08-19 02:09:26 +07:00
Iceman bd7fe79b63 Merge pull request #3457 from c-barron/docs/uscuid-ul-commands
Document USCUID-UL commands and fix hf_mf_uscuid_prog usage name
2026-08-19 02:08:35 +07:00
Iceman c9a6746586 Merge pull request #3451 from gentilkiwi/patch-1
Update Calypso operators for TAO / Orléans
2026-08-19 02:07:36 +07:00
Iceman 7174cf9036 Merge pull request #3461 from AliBello/patch-1
Add new AID entry for OV Pas card
2026-08-19 02:07:18 +07:00
Iceman b11067253a Merge pull request #3462 from Akury83/master
Update aid_desfire.json
2026-08-19 02:06:54 +07:00
Iceman d121b17975 Merge pull request #3450 from kormax/felica-mfg-time
Detect and print FeliCa manufacturing date in `hf felica info`
2026-08-19 02:05:41 +07:00
Iceman 03ad480d4a Merge pull request #3433 from munzzyy/fix/iclass-short-dump-oob
Fix heap out-of-bounds reads on short iCLASS dump files
2026-08-19 02:04:21 +07:00
dxl c8a20ab885 Let binutils' Downgrade be a step. 2026-08-18 19:10:24 +02:00