]> git.ipfire.org Git - thirdparty/FORT-validator.git/commit
Add --file-type
authorAlberto Leiva Popper <ydahhrk@gmail.com>
Tue, 30 Apr 2024 21:43:41 +0000 (15:43 -0600)
committerAlberto Leiva Popper <ydahhrk@gmail.com>
Tue, 30 Apr 2024 21:44:53 +0000 (15:44 -0600)
commite7f04a1f645fefe5022e010d2ebc9cd53a5b8205
tree31b70413358ec4ce3be9aff313334aab9679ae4a
parentbbd9cde614240869fb3f8d55a4fc025806942f46
Add --file-type

Allows the user to bypass the file type guesser. For example, to force
the ROA parser:

$ fort --mode=print --file-type roa abcd.bin

Progress for #122.
src/Makefile.am
src/config.c
src/config.h
src/config/file_type.c [new file with mode: 0644]
src/config/file_type.h [new file with mode: 0644]
src/print_file.c