Commit Graph

  • 42cad20ffd util/spkmodem-recv: tidy up frame decoding Leah Rowe 2026-03-11 23:34:43 +00:00
  • bf9c4a67f8 util/spkmodem-recv: handle fread errors Leah Rowe 2026-03-11 23:30:22 +00:00
  • 9195ff97b7 util/spkmodem-recv: fix getopt prototype Leah Rowe 2026-03-11 23:24:52 +00:00
  • 62c0cc68c5 removed some unnecessary things Leah Rowe 2026-03-11 23:14:51 +00:00
  • 361dbef41c another fix Leah Rowe 2026-03-11 23:13:33 +00:00
  • 7af3015a89 tiny fix Leah Rowe 2026-03-11 23:12:27 +00:00
  • 6962404ce5 util/spkmodem-recv: portability and code cleanup Leah Rowe 2026-03-11 22:35:46 +00:00
  • 977c83873e util/nvmutil: re-use do_rw() from prw() Leah Rowe 2026-03-10 18:20:47 +00:00
  • 5f8fe4fdc3 util/nvmutil: add missing sanitization tests Leah Rowe 2026-03-10 17:17:39 +00:00
  • 48f65abb01 util/nvmutil: properly use rc in rw_File_exact Leah Rowe 2026-03-10 16:57:46 +00:00
  • 9eb3895f4e util/nvmutil: tidy up gbe_cat_buf() Leah Rowe 2026-03-10 16:52:38 +00:00
  • 69cf4fe6ed util/nvmutil: split up rw_file_exact() Leah Rowe 2026-03-10 16:43:47 +00:00
  • 454af12153 util/nvmutil: update some comments Leah Rowe 2026-03-10 16:25:43 +00:00
  • 1403bdf1cc util/nvmutil: re-add EINTR loop check on rw Leah Rowe 2026-03-10 16:17:33 +00:00
  • f0240df229 util/nvmutil: rename set_err for code clarity Leah Rowe 2026-03-10 16:14:43 +00:00
  • c41483916a util/nvmutil: skip errno check in main Leah Rowe 2026-03-10 16:06:13 +00:00
  • 13c759bf3a util/nvmutil: don't reset errno in rw_file_exact Leah Rowe 2026-03-10 16:02:57 +00:00
  • 82dbeb9736 util/nvmutil: reset errno in gbe_cat Leah Rowe 2026-03-10 16:00:16 +00:00
  • 9ba84d1117 util/nvmutil: reset errno in gbe_cat_buf Leah Rowe 2026-03-10 15:58:57 +00:00
  • ca37bef34f util/nvmutil: fix bad loop in command sanitizer Leah Rowe 2026-03-10 15:55:05 +00:00
  • 9691e7e7db util/nvmutil: use set_err where appropriate Leah Rowe 2026-03-10 15:50:45 +00:00
  • 59eac512eb util/nvmutil: properly set errno everywhere Leah Rowe 2026-03-10 15:46:30 +00:00
  • 3174806b3f util/nvmutil: fix /dev/random fallback Leah Rowe 2026-03-10 15:38:30 +00:00
  • 318c0eb95b Revert "util/nvmutil: fix check in command sanitizer" Leah Rowe 2026-03-10 15:36:43 +00:00
  • 9b6b89250d util/nvmutil: don't use bad pointer cast in prw Leah Rowe 2026-03-10 15:33:50 +00:00
  • b28076557b util/nvmutil: fix check in command sanitizer Leah Rowe 2026-03-10 15:30:10 +00:00
  • 0b4e298cb1 util/nvmutil: use EINVAL in command sanitizen Leah Rowe 2026-03-10 15:29:23 +00:00
  • 4819dcbc75 util/nvmutil: don't use xopen() for urandom Leah Rowe 2026-03-10 15:21:55 +00:00
  • 9427285dce util/nvmutil: conservative use of errno Leah Rowe 2026-03-10 15:15:03 +00:00
  • 1f953359cb util/nvmutil: re-try /dev/[u]random on EAGAIN Leah Rowe 2026-03-10 15:12:12 +00:00
  • b291bbf2e5 util/nvmutil: Make rw_file_exact an ssize_t Leah Rowe 2026-03-10 15:03:16 +00:00
  • 4bc7ba1e4b util/nvmutil: use O_NONBLOCK on /dev/[u]random Leah Rowe 2026-03-10 14:25:43 +00:00
  • c953228bb0 util/nvmutil: fix possible overflow: gbe_x_offset Leah Rowe 2026-03-10 14:15:34 +00:00
  • 883860d687 util/nvmutil: reset rw_file_exact errno on EINTR Leah Rowe 2026-03-10 14:10:45 +00:00
  • 6eefd80efe util/nvmutil: comment prw() Leah Rowe 2026-03-10 14:07:35 +00:00
  • 06cb129530 util/nvmutil: better SSIZE_MAX define Leah Rowe 2026-03-10 13:42:43 +00:00
  • 79106c5b3d util/nvmutil: define EXIT_FAILURE/SUCCESS Leah Rowe 2026-03-10 13:34:40 +00:00
  • adfe865afc util/nvmutil: more sensible errno init Leah Rowe 2026-03-10 13:32:29 +00:00
  • 4202ded96c util/nvmutil: proper errno status on prw() Leah Rowe 2026-03-10 13:21:34 +00:00
  • ee751c27ed util/nvmutil: reset errno if EINTR on lseek Leah Rowe 2026-03-10 12:32:42 +00:00
  • bbe6de44e8 util/nvmutil: stricter errno on prw() Leah Rowe 2026-03-10 11:24:11 +00:00
  • 5603fa51d2 util/nvmutil: fix printf c89/c90 specifiers Leah Rowe 2026-03-10 11:15:43 +00:00
  • 7431046ea6 util/nvmutil: reset part_valid Leah Rowe 2026-03-10 11:08:42 +00:00
  • 632c85ce1c util/nvmutil: restore errno if lseek resets it Leah Rowe 2026-03-10 11:06:31 +00:00
  • 8d156bcf35 util/nvmutil: fix another printf specifier Leah Rowe 2026-03-10 11:02:39 +00:00
  • fa859d80d5 util/nvmutil: fix bad print specifier (c90) Leah Rowe 2026-03-10 10:58:41 +00:00
  • 6778a4ed98 util/nvmutil: only inc num_invalid on bad checksum Leah Rowe 2026-03-10 10:56:56 +00:00
  • e3e02fa657 util/nvmutil: restore errno on failed offset restore Leah Rowe 2026-03-10 10:53:11 +00:00
  • 6408570fa1 util/nvmutil: don't leave part_valid untouched Leah Rowe 2026-03-10 10:48:16 +00:00
  • 090a702b74 util/nvmutil: remove unused st variable Leah Rowe 2026-03-10 10:44:27 +00:00
  • cbd7ad13a3 util/nvmutil: check whether a file is a file Leah Rowe 2026-03-10 10:35:51 +00:00
  • 91a6395e5c util/nvmutil: preserve errno during i/o Leah Rowe 2026-03-10 10:26:12 +00:00
  • 5a005eff9e util/nvmutil prw: always restore original offset Leah Rowe 2026-03-10 10:24:16 +00:00
  • 890d1a2ff6 util/nvmutil: err if file offset fails Leah Rowe 2026-03-10 10:18:25 +00:00
  • b56cfbcc54 util/nvmutil: fix buffer overread in prw() Leah Rowe 2026-03-10 10:14:25 +00:00
  • 19ee28161e util/nvmutil: fix rc overflow bug in rw_file_exact Leah Rowe 2026-03-10 10:00:20 +00:00
  • 6d27853f56 util/nvmutil: use C90 instead of C99 Leah Rowe 2026-03-10 09:25:27 +00:00
  • f2d982e9b3 util/nvmutil: define O_BINARY flag Leah Rowe 2026-03-10 09:17:45 +00:00
  • 630852b7be util/nvmutil: fix indent on ifdefs Leah Rowe 2026-03-10 09:15:55 +00:00
  • e9a593b2c0 util/nvmutil: define SIZE_MAX if not defined Leah Rowe 2026-03-10 09:10:43 +00:00
  • 7620d1d126 util/nvmutil: remove arc4random for portability Leah Rowe 2026-03-10 09:07:15 +00:00
  • 21f8d323f4 util/nvmutil: portable pread/pwrite Leah Rowe 2026-03-10 09:04:20 +00:00
  • 5ae5d53751 wip Leah Rowe 2026-03-10 08:44:56 +00:00
  • edb1508a59 util/nvmutil: more reliable stdint.h check Leah Rowe 2026-03-10 08:26:20 +00:00
  • 2a20251ad6 util/nvmutil: reset errno before run_cmd Leah Rowe 2026-03-10 07:12:55 +00:00
  • d2cd126775 util/nvmutil: explicitly check cmd nullptr Leah Rowe 2026-03-10 07:05:34 +00:00
  • 978c30a961 util/nvmutil: safer SSIZE_MAX define Leah Rowe 2026-03-10 06:55:04 +00:00
  • a6d0146a3b util/nvmutil: fix a bad cast (or lack thereof) Leah Rowe 2026-03-10 06:53:39 +00:00
  • e26511c8b8 util/nvmutil: err if unsupported rw_type on i/o Leah Rowe 2026-03-10 06:51:47 +00:00
  • 0a55f286c1 util/nvmutil: rename badly named off_t assert Leah Rowe 2026-03-10 06:43:13 +00:00
  • 0f035e208e util/nvmutil: assert two's compliment integers Leah Rowe 2026-03-10 06:35:17 +00:00
  • 6392eb18b6 util/nvmutil: add assert for int Leah Rowe 2026-03-10 06:31:04 +00:00
  • 83f3a059b9 util/nvmutil: add assert for off_t Leah Rowe 2026-03-10 06:30:52 +00:00
  • 6ad7eaef32 Revert "util/nvmutil: don't use zx printf specifier" Leah Rowe 2026-03-10 06:18:29 +00:00
  • 90fada0a23 util/nvmutil: explain errval handling in err() Leah Rowe 2026-03-10 06:17:04 +00:00
  • 2fda988da6 util/nvmutil: make rc size_t (not ssize_t) Leah Rowe 2026-03-10 06:11:31 +00:00
  • ba3cf14faa util/nvmutil: don't use zx printf specifier Leah Rowe 2026-03-10 06:09:56 +00:00
  • 2f1f129753 util/nvmutil: add portable asserts for integers Leah Rowe 2026-03-10 06:07:21 +00:00
  • 9747ca4151 util/nvmutil: abort if I/O len exceeds SSIZE_MAX Leah Rowe 2026-03-10 05:33:12 +00:00
  • 93a4ec3497 util/nvmutil: annotate the prototypes Leah Rowe 2026-03-10 05:11:32 +00:00
  • f53a8d4f18 util/nvmutil: unified gbe file part I/O Leah Rowe 2026-03-10 04:56:23 +00:00
  • baca2d8883 util/nvmutil: remove stale define Leah Rowe 2026-03-10 04:20:55 +00:00
  • 80f3aac62d util/nvmutil: unified I/O: stdout, urandom and gbe Leah Rowe 2026-03-10 04:02:28 +00:00
  • 6402a0fbe9 util/nvmutil: unified urandom/gbe file reading Leah Rowe 2026-03-10 03:08:09 +00:00
  • 4131402589 util/nvmutil: safer read_gbe_file_exact Leah Rowe 2026-03-10 02:32:13 +00:00
  • 0c23474322 util/nvmutil: report checksum in cmd_dump Leah Rowe 2026-03-10 01:51:18 +00:00
  • 84a9e8f89b util/nvmutil: reduce checksum report verbosity Leah Rowe 2026-03-10 01:38:22 +00:00
  • 007dece09e util/nvmutil: unified io flags Leah Rowe 2026-03-10 01:29:12 +00:00
  • bb9010fdc1 util/nvmutil: require good checksum on cat Leah Rowe 2026-03-10 01:02:45 +00:00
  • 08b1d95874 util/nvmutil: initialise w in gbe_cat_buf Leah Rowe 2026-03-10 00:53:53 +00:00
  • 8f3bc13ac5 util/nvmutil: simplify the cat command Leah Rowe 2026-03-10 00:46:18 +00:00
  • aa67cf087d util/nvmutil: add cat16 and cat128 commands Leah Rowe 2026-03-09 23:40:27 +00:00
  • 66f1640552 util/nvmutil: nope. rename out back to cat. Leah Rowe 2026-03-09 22:54:38 +00:00
  • 724c9bb36c util/nvmutil: rename cat to out Leah Rowe 2026-03-09 22:34:28 +00:00
  • 3d6e2637d6 util/nvmutil: remove stale comment Leah Rowe 2026-03-09 22:25:39 +00:00
  • 1e45d19f5d util/nvmutil: added a "cat" command Leah Rowe 2026-03-09 21:59:34 +00:00
  • 7d64b8ea8d util/nvmutil: allow dump without good checksums Leah Rowe 2026-03-09 21:41:14 +00:00
  • 45ea92a077 util/nvmutil: fix bad cast conversion Leah Rowe 2026-03-09 21:12:59 +00:00
  • b5af1bf3ac util/nvmutil: add guard in rhex() Leah Rowe 2026-03-09 21:08:36 +00:00
  • f8ddb6ef84 util/nvmutil: fix EINTR detection on urandom read Leah Rowe 2026-03-09 21:02:33 +00:00