ladybird/Userland/Utilities
AnotherTest 347d741afb AK+Userland: Extend the compiletime format string check to other functions
Thanks to @trflynn89 for the neat implicit consteval ctor trick!
This allows us to basically slap `CheckedFormatString` on any
formatting function, and have its format argument checked at compiletime.

Note that there is a validator bug where it doesn't parse inner replaced
fields like `{:~>{}}` correctly (what should be 'left align with next
argument as size' is parsed as `{:~>{` following a literal closing
brace), so the compiletime checks are disabled on these temporarily by
forcing them to be StringViews.

This commit also removes the now unused `AK::StringLiteral` type (which
was introduced for use with NTTP strings).
2021-02-23 13:59:33 +01:00
..
adjtime.cpp Userland: Move command-line utilities to Userland/Utilities/ 2021-01-12 12:04:09 +01:00
allocate.cpp Userland: Move command-line utilities to Userland/Utilities/ 2021-01-12 12:04:09 +01:00
aplay.cpp Userland: Move command-line utilities to Userland/Utilities/ 2021-01-12 12:04:09 +01:00
arp.cpp Userland: Move command-line utilities to Userland/Utilities/ 2021-01-12 12:04:09 +01:00
avol.cpp Userland: Move command-line utilities to Userland/Utilities/ 2021-01-12 12:04:09 +01:00
base64.cpp Userland: Move command-line utilities to Userland/Utilities/ 2021-01-12 12:04:09 +01:00
basename.cpp Userland: Move command-line utilities to Userland/Utilities/ 2021-01-12 12:04:09 +01:00
beep.cpp Userland: Move command-line utilities to Userland/Utilities/ 2021-01-12 12:04:09 +01:00
bt.cpp bt: Hyperlink filenames in backtraces if available :^) 2021-02-05 00:56:00 +01:00
cal.cpp Userland: Move command-line utilities to Userland/Utilities/ 2021-01-12 12:04:09 +01:00
cat.cpp Userland: Move command-line utilities to Userland/Utilities/ 2021-01-12 12:04:09 +01:00
checksum.cpp Everywhere: Convert a handful of String::format() => formatted() 2021-01-16 14:52:04 +01:00
chgrp.cpp Userland: Move command-line utilities to Userland/Utilities/ 2021-01-12 12:04:09 +01:00
chmod.cpp Userland: Move command-line utilities to Userland/Utilities/ 2021-01-12 12:04:09 +01:00
chown.cpp Userland: Move command-line utilities to Userland/Utilities/ 2021-01-12 12:04:09 +01:00
chres.cpp WindowServer: Add a "scale" parameter to the SetResolution message and plumb it through 2021-01-15 22:05:08 +01:00
chroot.cpp Userland: Move command-line utilities to Userland/Utilities/ 2021-01-12 12:04:09 +01:00
clear.cpp Userland: Move command-line utilities to Userland/Utilities/ 2021-01-12 12:04:09 +01:00
CMakeLists.txt Utilities: Provide fuzzers as a utility in serenity 2021-02-21 22:34:09 +01:00
copy.cpp Userland: Move command-line utilities to Userland/Utilities/ 2021-01-12 12:04:09 +01:00
cp.cpp cp: Use Core::File::copy_file_or_directory 2021-02-21 18:14:29 +01:00
CppParserTest.cpp LibCpp: Store filename in ASTNodes 2021-02-20 15:53:37 +01:00
crash.cpp Userland: Add LibSystem and funnel all syscalls through it 2021-02-05 12:23:39 +01:00
cut.cpp Userland: Move command-line utilities to Userland/Utilities/ 2021-01-12 12:04:09 +01:00
date.cpp Userland: Move command-line utilities to Userland/Utilities/ 2021-01-12 12:04:09 +01:00
ddate.cpp Userland: Move command-line utilities to Userland/Utilities/ 2021-01-12 12:04:09 +01:00
df.cpp Userland: Move command-line utilities to Userland/Utilities/ 2021-01-12 12:04:09 +01:00
dirname.cpp Userland: Move command-line utilities to Userland/Utilities/ 2021-01-12 12:04:09 +01:00
disasm.cpp Everywhere: Debug macros instead of constexpr. 2021-01-25 09:47:36 +01:00
disk_benchmark.cpp Everywhere: Convert a handful of String::format() => formatted() 2021-01-16 14:52:04 +01:00
dmesg.cpp Userland: Move command-line utilities to Userland/Utilities/ 2021-01-12 12:04:09 +01:00
du.cpp Userland: Move command-line utilities to Userland/Utilities/ 2021-01-12 12:04:09 +01:00
echo.cpp Userland: Move command-line utilities to Userland/Utilities/ 2021-01-12 12:04:09 +01:00
env.cpp Userland: Move command-line utilities to Userland/Utilities/ 2021-01-12 12:04:09 +01:00
expr.cpp AK+Userland: Extend the compiletime format string check to other functions 2021-02-23 13:59:33 +01:00
false.cpp Userland: Move command-line utilities to Userland/Utilities/ 2021-01-12 12:04:09 +01:00
fgrep.cpp Userland: Move command-line utilities to Userland/Utilities/ 2021-01-12 12:04:09 +01:00
find.cpp Userland: Move command-line utilities to Userland/Utilities/ 2021-01-12 12:04:09 +01:00
flock.cpp Userland: Move command-line utilities to Userland/Utilities/ 2021-01-12 12:04:09 +01:00
functrace.cpp Userland: Add LibSystem and funnel all syscalls through it 2021-02-05 12:23:39 +01:00
gml-format.cpp Userland: Move command-line utilities to Userland/Utilities/ 2021-01-12 12:04:09 +01:00
grep.cpp grep: Exit with 1 if nothing matches 2021-02-15 17:32:56 +01:00
gron.cpp Userland: Move command-line utilities to Userland/Utilities/ 2021-01-12 12:04:09 +01:00
gunzip.cpp Everywhere: Convert a handful of String::format() => formatted() 2021-01-16 14:52:04 +01:00
head.cpp Userland: Move command-line utilities to Userland/Utilities/ 2021-01-12 12:04:09 +01:00
hexdump.cpp Userland: Move command-line utilities to Userland/Utilities/ 2021-01-12 12:04:09 +01:00
host.cpp Userland: Use INET_ADDRSTRLEN for inet_ntop() buffers 2021-02-09 22:58:19 +01:00
hostname.cpp Userland: Move command-line utilities to Userland/Utilities/ 2021-01-12 12:04:09 +01:00
html.cpp Userland: Move command-line utilities to Userland/Utilities/ 2021-01-12 12:04:09 +01:00
id.cpp Userland: Move command-line utilities to Userland/Utilities/ 2021-01-12 12:04:09 +01:00
ifconfig.cpp Userland: Move command-line utilities to Userland/Utilities/ 2021-01-12 12:04:09 +01:00
ini.cpp Userland: Move command-line utilities to Userland/Utilities/ 2021-01-12 12:04:09 +01:00
jp.cpp Userland: Move command-line utilities to Userland/Utilities/ 2021-01-12 12:04:09 +01:00
js.cpp js: Handle exceptions thrown during value printing 2021-01-29 09:16:06 +01:00
keymap.cpp Base: Rename some keymaps to use xx-xx format where appropriate 2021-02-02 16:53:11 +01:00
kill.cpp Userland: Move command-line utilities to Userland/Utilities/ 2021-01-12 12:04:09 +01:00
killall.cpp Userland: Move command-line utilities to Userland/Utilities/ 2021-01-12 12:04:09 +01:00
ln.cpp Userland: Move command-line utilities to Userland/Utilities/ 2021-01-12 12:04:09 +01:00
ls.cpp ls: Lazily align the number of hard links in ls output :^) 2021-01-29 23:05:02 +01:00
lsirq.cpp Userland: Move command-line utilities to Userland/Utilities/ 2021-01-12 12:04:09 +01:00
lsof.cpp Everywhere: Convert a handful of String::format() => formatted() 2021-01-16 14:52:04 +01:00
lspci.cpp Userland: Rename PCI slot to PCI device terminology 2021-01-31 19:06:40 +01:00
man.cpp Everywhere: Convert a handful of String::format() => formatted() 2021-01-16 14:52:04 +01:00
md.cpp Userland: Move command-line utilities to Userland/Utilities/ 2021-01-12 12:04:09 +01:00
misbehaving-application.cpp Userland: Move command-line utilities to Userland/Utilities/ 2021-01-12 12:04:09 +01:00
mkdir.cpp Userland: Move command-line utilities to Userland/Utilities/ 2021-01-12 12:04:09 +01:00
mkfifo.cpp Userland: Move command-line utilities to Userland/Utilities/ 2021-01-12 12:04:09 +01:00
mknod.cpp Userland: Move command-line utilities to Userland/Utilities/ 2021-01-12 12:04:09 +01:00
modload.cpp Userland: Move command-line utilities to Userland/Utilities/ 2021-01-12 12:04:09 +01:00
modunload.cpp Userland: Move command-line utilities to Userland/Utilities/ 2021-01-12 12:04:09 +01:00
more.cpp Userland: Move command-line utilities to Userland/Utilities/ 2021-01-12 12:04:09 +01:00
mount.cpp Everywhere: Replace a bundle of dbg with dbgln. 2021-01-22 22:14:30 +01:00
mv.cpp mv: Use Core::File::copy_file_or_directory 2021-02-21 18:14:29 +01:00
nc.cpp Userland: Use uniform initialization instead of memset 2021-02-21 11:52:47 +01:00
nl.cpp Userland: Move command-line utilities to Userland/Utilities/ 2021-01-12 12:04:09 +01:00
notify.cpp Userland: Move command-line utilities to Userland/Utilities/ 2021-01-12 12:04:09 +01:00
ntpquery.cpp Kernel+Userland: Remove "dns" pledge promise alias 2021-01-22 19:39:44 +01:00
open.cpp Userland: Move command-line utilities to Userland/Utilities/ 2021-01-12 12:04:09 +01:00
pape.cpp Userland: Move command-line utilities to Userland/Utilities/ 2021-01-12 12:04:09 +01:00
passwd.cpp passwd: Drop "rpath" pledge after opening files 2021-01-22 19:39:44 +01:00
paste.cpp Userland: Move command-line utilities to Userland/Utilities/ 2021-01-12 12:04:09 +01:00
pidof.cpp Userland: Move command-line utilities to Userland/Utilities/ 2021-01-12 12:04:09 +01:00
ping.cpp Userland: Use INET_ADDRSTRLEN for inet_ntop() buffers 2021-02-09 22:58:19 +01:00
pmap.cpp pmap+SystemMonitor: Mark syscall regions with 'C' 2021-02-02 20:13:44 +01:00
PreprocessorTest.cpp PreprocessorTest: Convert dbgprintf() => dbgln() 2021-02-17 15:50:34 +01:00
printf.cpp Userland: Move command-line utilities to Userland/Utilities/ 2021-01-12 12:04:09 +01:00
pro.cpp pro: Use a rolling average for the download rate calculation 2021-01-30 14:12:14 +01:00
profile.cpp Userland: Move command-line utilities to Userland/Utilities/ 2021-01-12 12:04:09 +01:00
ps.cpp Userland: Move command-line utilities to Userland/Utilities/ 2021-01-12 12:04:09 +01:00
purge.cpp Userland: Add LibSystem and funnel all syscalls through it 2021-02-05 12:23:39 +01:00
readelf.cpp Userland: Move command-line utilities to Userland/Utilities/ 2021-01-12 12:04:09 +01:00
readlink.cpp Userland: Move command-line utilities to Userland/Utilities/ 2021-01-12 12:04:09 +01:00
realpath.cpp Userland: Move command-line utilities to Userland/Utilities/ 2021-01-12 12:04:09 +01:00
reboot.cpp Userland: Move command-line utilities to Userland/Utilities/ 2021-01-12 12:04:09 +01:00
rm.cpp rm: Use Core::File::remove 2021-02-21 18:14:29 +01:00
rmdir.cpp Userland: Move command-line utilities to Userland/Utilities/ 2021-01-12 12:04:09 +01:00
seq.cpp Userland: Move command-line utilities to Userland/Utilities/ 2021-01-12 12:04:09 +01:00
shuf.cpp Userland: Implement shuf for basic shuffling 2021-01-20 19:19:34 +01:00
shutdown.cpp Userland: Move command-line utilities to Userland/Utilities/ 2021-01-12 12:04:09 +01:00
sleep.cpp sleep: Support fractional sleep lengths 2021-01-23 08:53:32 +01:00
sort.cpp Userland: Fix broken newlines in 'sort' 2021-01-20 19:19:34 +01:00
stat.cpp Userland: Move command-line utilities to Userland/Utilities/ 2021-01-12 12:04:09 +01:00
strace.cpp Userland: Add LibSystem and funnel all syscalls through it 2021-02-05 12:23:39 +01:00
su.cpp su: Drop "id" pledge after switching user 2021-01-22 19:40:30 +01:00
sync.cpp Userland: Move command-line utilities to Userland/Utilities/ 2021-01-12 12:04:09 +01:00
syscall.cpp Utilities: Fix embarassing typo in syscall(1) 2021-02-14 10:57:33 +01:00
sysctl.cpp Userland: Move command-line utilities to Userland/Utilities/ 2021-01-12 12:04:09 +01:00
tail.cpp Userland: Move command-line utilities to Userland/Utilities/ 2021-01-12 12:04:09 +01:00
tar.cpp Userland: Move command-line utilities to Userland/Utilities/ 2021-01-12 12:04:09 +01:00
tee.cpp Userland: Move command-line utilities to Userland/Utilities/ 2021-01-12 12:04:09 +01:00
test-bindtodevice.cpp Userland: Move command-line utilities to Userland/Utilities/ 2021-01-12 12:04:09 +01:00
test-compress.cpp Userland: Move command-line utilities to Userland/Utilities/ 2021-01-12 12:04:09 +01:00
test-crypto.cpp LibCrypto: Make a better ASN.1 parser 2021-02-14 13:30:10 +01:00
test-fuzz.cpp Utilities: Provide fuzzers as a utility in serenity 2021-02-21 22:34:09 +01:00
test-js.cpp Everywhere: Replace a bundle of dbg with dbgln. 2021-01-22 22:14:30 +01:00
test-pthread.cpp Userland: Move command-line utilities to Userland/Utilities/ 2021-01-12 12:04:09 +01:00
test-unveil.cpp Userland: Move command-line utilities to Userland/Utilities/ 2021-01-12 12:04:09 +01:00
test-web.cpp test-web: Create execution scope for new interpreter instead of the old one 2021-02-20 10:48:34 +01:00
test.cpp Userland: Move command-line utilities to Userland/Utilities/ 2021-01-12 12:04:09 +01:00
test_efault.cpp Userland: Move command-line utilities to Userland/Utilities/ 2021-01-12 12:04:09 +01:00
test_env.cpp Userland: Move command-line utilities to Userland/Utilities/ 2021-01-12 12:04:09 +01:00
test_io.cpp Userland: Move command-line utilities to Userland/Utilities/ 2021-01-12 12:04:09 +01:00
top.cpp Userland: Move command-line utilities to Userland/Utilities/ 2021-01-12 12:04:09 +01:00
touch.cpp Userland: Move command-line utilities to Userland/Utilities/ 2021-01-12 12:04:09 +01:00
tr.cpp Userland: Move command-line utilities to Userland/Utilities/ 2021-01-12 12:04:09 +01:00
tree.cpp Everywhere: Fix weird includes 2021-02-08 18:03:57 +01:00
true.cpp Userland: Move command-line utilities to Userland/Utilities/ 2021-01-12 12:04:09 +01:00
truncate.cpp Userland: Move command-line utilities to Userland/Utilities/ 2021-01-12 12:04:09 +01:00
tt.cpp Userland: Move command-line utilities to Userland/Utilities/ 2021-01-12 12:04:09 +01:00
tty.cpp Userland: Move command-line utilities to Userland/Utilities/ 2021-01-12 12:04:09 +01:00
umount.cpp Userland: Move command-line utilities to Userland/Utilities/ 2021-01-12 12:04:09 +01:00
uname.cpp Userland: Move command-line utilities to Userland/Utilities/ 2021-01-12 12:04:09 +01:00
uniq.cpp Userland: Move command-line utilities to Userland/Utilities/ 2021-01-12 12:04:09 +01:00
unzip.cpp Userland: Move command-line utilities to Userland/Utilities/ 2021-01-12 12:04:09 +01:00
uptime.cpp Userland: Move command-line utilities to Userland/Utilities/ 2021-01-12 12:04:09 +01:00
useradd.cpp Userland: Move command-line utilities to Userland/Utilities/ 2021-01-12 12:04:09 +01:00
userdel.cpp Userland: Move command-line utilities to Userland/Utilities/ 2021-01-12 12:04:09 +01:00
utmpupdate.cpp utmpupdate: Don't complain about an error if the utmp is just empty 2021-02-21 10:56:55 +01:00
w.cpp Userland: Move command-line utilities to Userland/Utilities/ 2021-01-12 12:04:09 +01:00
watch.cpp Userland: Move command-line utilities to Userland/Utilities/ 2021-01-12 12:04:09 +01:00
wc.cpp Userland: Move command-line utilities to Userland/Utilities/ 2021-01-12 12:04:09 +01:00
which.cpp Userland: Move command-line utilities to Userland/Utilities/ 2021-01-12 12:04:09 +01:00
whoami.cpp Userland: Move command-line utilities to Userland/Utilities/ 2021-01-12 12:04:09 +01:00
xargs.cpp Userland: Move command-line utilities to Userland/Utilities/ 2021-01-12 12:04:09 +01:00
yes.cpp Userland: Move command-line utilities to Userland/Utilities/ 2021-01-12 12:04:09 +01:00