1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-05-15 09:44:58 +00:00
serenity/Userland/Libraries/LibCore/CMakeLists.txt
Brian Gianforcaro 3bf6902790 LibCore: Add SecretString, a buffer that is zero'd on destruction
We have a few places where we read secrets into memory, and then
do some computation on them. In these cases we should always make
sure we zero the allocations before they are free'd.

The SecureString wrapper provides this abstraction by wrapping a
ByteBuffer and calling explicit_bzero on destruction of the object.
2021-09-12 16:36:52 +02:00

39 lines
715 B
CMake

set(SOURCES
Account.cpp
AnonymousBuffer.cpp
ArgsParser.cpp
ConfigFile.cpp
Command.cpp
DateTime.cpp
DirIterator.cpp
ElapsedTimer.cpp
Event.cpp
EventLoop.cpp
FileWatcher.cpp
File.cpp
GetPassword.cpp
IODevice.cpp
LocalServer.cpp
LocalSocket.cpp
LockFile.cpp
MimeData.cpp
NetworkJob.cpp
NetworkResponse.cpp
Notifier.cpp
Object.cpp
Process.cpp
ProcessStatisticsReader.cpp
Property.cpp
SecretString.cpp
Socket.cpp
StandardPaths.cpp
TCPServer.cpp
TCPSocket.cpp
Timer.cpp
UDPServer.cpp
UDPSocket.cpp
Version.cpp
)
serenity_lib(LibCore core)
target_link_libraries(LibCore LibC LibCrypt)