ladybird/Userland/Libraries/LibCore
Ben Wiederhake 2e4ec891da Everywhere: Fix format-vulnerabilities
Command used:
grep -Pirn '(out|warn)ln\((?!["\)]|format,|stderr,|stdout,|output, ")' \
     AK Kernel/ Tests/ Userland/
(Plus some manual reviewing.)

Let's pick ArgsParser as an example:
    outln(file, m_general_help);
This will fail at runtime if the general help happens to contain braces.

Even if this transformation turns out to be unnecessary in a place or
two, this way the code is "more obviously" correct.
2021-09-11 15:16:26 +01:00
..
Account.cpp Everywhere: Use my cool new @serenityos.org email address 2021-09-01 11:37:25 +04:30
Account.h Everywhere: Use my cool new @serenityos.org email address 2021-09-01 11:37:25 +04:30
AnonymousBuffer.cpp LibCore: Remove unused header includes 2021-08-01 08:10:16 +02:00
AnonymousBuffer.h LibCore: Make Core::AnonymousBuffer moveable 2021-07-07 18:02:43 +02:00
ArgsParser.cpp Everywhere: Fix format-vulnerabilities 2021-09-11 15:16:26 +01:00
ArgsParser.h LibCore: Make --version print same version as in LibGUI's About dialogs 2021-08-15 01:22:45 +02:00
CMakeLists.txt LibCore: Refactor a version-reading utility 2021-09-02 16:17:18 +01:00
Command.cpp LibCore: Remove unused header includes 2021-08-01 08:10:16 +02:00
Command.h Everything: Move to SPDX license identifiers in all files. 2021-04-22 11:22:27 +02:00
ConfigFile.cpp LibCore: Set file offset in ConfigFile::sync 2021-08-24 18:17:09 +02:00
ConfigFile.h Everywhere: Rename get in ConfigFile::get_for_{lib,app,system} to open 2021-08-22 01:32:25 +02:00
DateTime.cpp LibCore: Make DateTime's members signed 2021-08-19 19:15:00 +01:00
DateTime.h LibCore: Make DateTime's members signed 2021-08-19 19:15:00 +01:00
DeferredInvocationContext.h LibCore+Userland: Implement Core::deferred_invoke 2021-09-02 03:47:47 +04:30
DirIterator.cpp LibCore: Avoid duplicate '/' in DirIterator::next_full_path() 2021-07-03 16:43:08 +02:00
DirIterator.h LibCore: Expose DirIterator's underlying file descriptor 2021-05-14 23:32:10 +02:00
ElapsedTimer.cpp Everything: Move to SPDX license identifiers in all files. 2021-04-22 11:22:27 +02:00
ElapsedTimer.h Everything: Move to SPDX license identifiers in all files. 2021-04-22 11:22:27 +02:00
Event.cpp Everything: Move to SPDX license identifiers in all files. 2021-04-22 11:22:27 +02:00
Event.h LibCore+Userland: Implement Core::deferred_invoke 2021-09-02 03:47:47 +04:30
EventLoop.cpp LibCore+Userland: Implement Core::deferred_invoke 2021-09-02 03:47:47 +04:30
EventLoop.h LibCore+Userland: Implement Core::deferred_invoke 2021-09-02 03:47:47 +04:30
File.cpp LibCore: Make Core::File::open() return OSError in case of failure 2021-08-20 15:31:46 +02:00
File.h LibCore: Make Core::File::open() return OSError in case of failure 2021-08-20 15:31:46 +02:00
FileStream.h LibCore: Make Core::File::open() return OSError in case of failure 2021-08-20 15:31:46 +02:00
FileWatcher.cpp LibCore: Remove unused header includes 2021-08-01 08:10:16 +02:00
FileWatcher.h Userland+LibCore: Update FileWatcher + its users for InodeWatcher 2.0 2021-05-12 22:38:20 +02:00
Forward.h LibCore+Userland: Implement Core::deferred_invoke 2021-09-02 03:47:47 +04:30
GetPassword.cpp Everywhere: Use my cool new @serenityos.org email address 2021-09-01 11:37:25 +04:30
GetPassword.h Everywhere: Use my cool new @serenityos.org email address 2021-09-01 11:37:25 +04:30
IODevice.cpp Everywhere: Make ByteBuffer::{create_*,copy}() OOM-safe 2021-09-06 01:53:26 +02:00
IODevice.h LibCore: Open files with O_CLOEXEC by default 2021-05-17 13:32:19 +02:00
LocalServer.cpp LibCore: Close accepted sockets on exec() and make them non-blocking 2021-05-17 13:32:19 +02:00
LocalServer.h Everything: Move to SPDX license identifiers in all files. 2021-04-22 11:22:27 +02:00
LocalSocket.cpp LibCore: Add peer pid retrieval for LocalSocket 2021-07-01 17:49:18 +02:00
LocalSocket.h LibCore: Add peer pid retrieval for LocalSocket 2021-07-01 17:49:18 +02:00
LockFile.cpp Everywhere: Use my cool new @serenityos.org email address 2021-09-01 11:37:25 +04:30
LockFile.h Everywhere: Use my cool new @serenityos.org email address 2021-09-01 11:37:25 +04:30
MimeData.cpp LibCore+Userland: Add 13 more detectable file types 2021-05-24 18:55:56 +01:00
MimeData.h LibCore: Implement basic mime type guessing based on binary patterns 2021-05-07 11:46:53 +01:00
NetworkJob.cpp Everything: Move to SPDX license identifiers in all files. 2021-04-22 11:22:27 +02:00
NetworkJob.h Everything: Move to SPDX license identifiers in all files. 2021-04-22 11:22:27 +02:00
NetworkResponse.cpp Everything: Move to SPDX license identifiers in all files. 2021-04-22 11:22:27 +02:00
NetworkResponse.h Everything: Move to SPDX license identifiers in all files. 2021-04-22 11:22:27 +02:00
Notifier.cpp LibCore: Remove unused header includes 2021-08-01 08:10:16 +02:00
Notifier.h Everything: Move to SPDX license identifiers in all files. 2021-04-22 11:22:27 +02:00
Object.cpp AK+Everywhere: Reduce the number of template parameters of IntrusiveList 2021-09-10 18:05:46 +03:00
Object.h AK+Everywhere: Reduce the number of template parameters of IntrusiveList 2021-09-10 18:05:46 +03:00
Process.cpp LibCore: Explicitly declare environ in Process.cpp to unbreak macOS 2021-08-06 01:29:09 +02:00
Process.h LibCore: Add Core::Process::spawn() 2021-08-06 01:04:11 +02:00
ProcessStatisticsReader.cpp Everywhere: Make tracking cpu usage independent from system ticks 2021-07-18 22:08:26 +02:00
ProcessStatisticsReader.h Everywhere: Make tracking cpu usage independent from system ticks 2021-07-18 22:08:26 +02:00
Promise.h LibCore+LibIMAP: Move Promise to LibCore 2021-07-15 11:11:14 +02:00
Property.cpp Everything: Move to SPDX license identifiers in all files. 2021-04-22 11:22:27 +02:00
Property.h Everything: Move to SPDX license identifiers in all files. 2021-04-22 11:22:27 +02:00
Socket.cpp LibCore+LibHTTP: Check the status of the socket after EINPROGRESS 2021-08-13 20:30:19 +04:30
Socket.h LibCore+LibHTTP: Check the status of the socket after EINPROGRESS 2021-08-13 20:30:19 +04:30
SocketAddress.h Everything: Move to SPDX license identifiers in all files. 2021-04-22 11:22:27 +02:00
StandardPaths.cpp Everything: Move to SPDX license identifiers in all files. 2021-04-22 11:22:27 +02:00
StandardPaths.h Everything: Move to SPDX license identifiers in all files. 2021-04-22 11:22:27 +02:00
TCPServer.cpp LibCore: Allow TCPServer to be blocking 2021-06-16 09:10:48 +02:00
TCPServer.h LibCore: Allow TCPServer to be blocking 2021-06-16 09:10:48 +02:00
TCPSocket.cpp LibCore+Everywhere: Move OpenMode out of IODevice 2021-05-12 11:00:45 +01:00
TCPSocket.h Everything: Move to SPDX license identifiers in all files. 2021-04-22 11:22:27 +02:00
Timer.cpp LibCore: Add unit to Core::Timer interval arguments 2021-05-12 22:38:20 +02:00
Timer.h LibCore: Add unit to Core::Timer interval arguments 2021-05-12 22:38:20 +02:00
UDPServer.cpp Everywhere: Make ByteBuffer::{create_*,copy}() OOM-safe 2021-09-06 01:53:26 +02:00
UDPServer.h Everything: Move to SPDX license identifiers in all files. 2021-04-22 11:22:27 +02:00
UDPSocket.cpp LibCore+Everywhere: Move OpenMode out of IODevice 2021-05-12 11:00:45 +01:00
UDPSocket.h Everything: Move to SPDX license identifiers in all files. 2021-04-22 11:22:27 +02:00
Version.cpp LibCore: Refactor a version-reading utility 2021-09-02 16:17:18 +01:00
Version.h LibCore: Refactor a version-reading utility 2021-09-02 16:17:18 +01:00