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

109 Commits

Author SHA1 Message Date
7f67707aa8
corrupter.c: add definition for corrupt_byte 2024-11-24 12:06:09 +03:00
e7dc39f1f3
corrupter.c: declare function corrupt_byte as static 2024-11-24 11:59:21 +03:00
1205f4c898
readability: replace macro LOOP_ACTION_CONFIG with inline code 2024-11-22 23:49:58 +03:00
078590846a
feature: support file paths that resemble help options 2024-11-22 23:11:03 +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
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
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
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
d69b3e8ea9
WIP -> main post-merge editing 2024-11-17 18:12:23 +03:00
9ab507cf86
Merge branch 'WIP' 2024-11-17 18:04:36 +03:00
42505df405
main.c: make args_match a static function 2024-10-12 11:16:17 +03:00
d69475406b
main.c: use custom path length limit 2024-10-12 11:12:20 +03:00
0380d97c0f
main.c: CLI: usage: add help case 2024-09-22 12:55:05 +03:00
cb8c06286c
rename test_files directory to test-files 2024-09-22 12:33:25 +03:00