1
0
mirror of https://git.disroot.org/80486DX2-66/polonium.git synced 2024-12-27 07:30:23 +05:30
Commit Graph

114 Commits

Author SHA1 Message Date
a83b9c3c32
Merge branch 'main' into load_into_mem 2024-11-22 22:40:49 +03:00
44bc736d96
main.c: reformat help text for improved readability in source code 2024-11-22 21:23:56 +03:00
ff06576b72
main.c: extract default configuration as a macro 2024-11-22 20:30:53 +03:00
e6085b994f
main.c: rename enum arg_destinations to arg_destination 2024-11-22 20:14:53 +03:00
1faeb7404a
feature: enable verbose output conditionally 2024-11-22 18:43:25 +03:00
4dea283b95
feature: enable verbose output conditionally 2024-11-22 18:40:36 +03:00
098644abe5
post-merge fixes 2024-11-22 18:33:55 +03:00
87fa559371
Merge branch 'main' into load_into_mem 2024-11-21 21:26:32 +03:00
1b7e2d4088
main.c: update error messages to use current terminology 2024-11-20 22:10:03 +03:00
6ae57e79bf
.gitignore: remove incorrect and redundant entries 2024-11-20 22:04:32 +03:00
42bdb6acc0
main.c: close 1 FIXME 2024-11-20 21:59:23 +03:00
4f13f77108
main.c: simplify the byte hit counter 2024-11-20 20:40:51 +03:00
1890b3d294
corrupter.c: corrupt_byte(): optimization: use bitwise mask 2024-11-20 20:09:43 +03:00
0e1400fb80
Makefile: make proper use of printf 2024-11-20 02:28:09 +03:00
9ed42aa338
Makefile: fix test file name 2024-11-20 02:28:09 +03:00
bfc881b658
file_type.c: rename function is_valid_file to validate_file 2024-11-20 02:28:09 +03:00
9ffe827c0f
report file I/O errors during file format validation 2024-11-20 02:28:05 +03:00
af85781ebb
file_type.c: file_type_to_string(): add case for FILE_TYPE_TEXT 2024-11-20 00:56:59 +03:00
bdec7db2e3
corrupter.c: report error ESPIPE manually 2024-11-20 00:52:11 +03:00
65042ff90b
corrupter.c: corrupt_file(): store result on stack rather than heap 2024-11-20 00:48:13 +03:00
290467bcd1
corrupter.c: fix type of probability 2024-11-20 00:38:49 +03:00
c323245ae7
corrupter.c: enforce file boundaries 2024-11-20 00:16:13 +03:00
a6957626a4
main.c: eliminate duplicate error reporting 2024-11-19 23:59:27 +03:00
6f2c89133b
corrupter.c: do not close file, but call PERROR_MACRO 2024-11-19 23:57:02 +03:00
632c180f29
file_type.c: FILE_TYPE_CHECK_RET: fix the typo 2024-11-19 23:43:12 +03:00
aca01c5555
file_boundaries.c: store struct on stack rather than heap 2024-11-19 23:39:43 +03:00
f36004b511
corrupter.c: remove superfluous curly brackets 2024-11-19 22:15:21 +03:00
5b373c8d54
corrupter.c: remove superfluous parentheses 2024-11-19 22:10:28 +03:00
0ca825d72e
corrupter.c: optimize file I/O 2024-11-19 22:04:43 +03:00
07c0d1af8a
corrupter.c: initialize array bit_mask to all false values 2024-11-19 22:01:11 +03:00
d4ee7a5de2
corrupter.*: remove unused field from struct Corrupter_Result 2024-11-19 21:46:34 +03:00
82fdb03c4c
corrupter.c: extract corrupt_byte 2024-11-19 21:05:04 +03:00
7f6a63232f
main.c: close the file on abort and errors 2024-11-19 20:19:17 +03:00
6776f0e989
main.c: improve user prompt processing 2024-11-19 20:19:17 +03:00
1c25f705c0
main.c: use a clearer user prompt 2024-11-19 20:19:17 +03:00
1e2a59ffd6
main.c: do not allocate space for a pointer to argv[i] 2024-11-19 20:19:17 +03:00
a7985babaa
corrupter.*: use type byte where appropriate 2024-11-19 20:19:11 +03:00
f2ac60ecb5
Merge branch 'main' into load_into_mem 2024-11-18 18:34:52 +03:00
5f9f09e577
corrupter.*: use type byte where appropriate 2024-11-18 18:30:52 +03:00
f3b9be3e54
Merge branch 'main' into load_into_mem 2024-11-18 00:49:01 +03:00
e890bf3751
main.c: help text: simplify grammar 2024-11-18 00:48:11 +03:00
9680cf6cba
main.c: help text: reformat 2024-11-18 00:48:02 +03:00
a9766623c2
main.c: remove superfluous header inclusion 2024-11-18 00:39:07 +03:00
6a4104b3d9
Merge branch 'main' into load_into_mem 2024-11-18 00:31:54 +03:00
b5367e072e
main.c: fix typo SYSNT -> SYS_NT 2024-11-18 00:30:56 +03:00
58e20e289f
corrupter.c: optimize get_chance for speed 2024-11-18 00:27:09 +03:00
de5f0e500f
README.md: fix grammar 2024-11-17 23:58:00 +03:00
5693f6de6c
corrupter.c: remove superfluous parentheses 2024-11-17 23:38:59 +03:00
6e845b0895
corrupter.c: load the whole file into memory 2024-11-17 23:35:29 +03:00
d69b3e8ea9
WIP -> main post-merge editing 2024-11-17 18:12:23 +03:00