summaryrefslogtreecommitdiff
path: root/Meta/Lagom/Fuzzers
diff options
context:
space:
mode:
authorTim Schumacher <timschumi@gmx.de>2022-12-07 15:47:44 +0100
committerLinus Groh <mail@linusgroh.de>2022-12-15 13:28:29 +0000
commitc6d71ca72757c1d69e608aa101e47818cf9991e1 (patch)
treea8dc8edf99e2776c8dfa513de26a5b67969303e9 /Meta/Lagom/Fuzzers
parentc4f68bde570e654be749dc57a91a80e01d21f143 (diff)
downloadserenity-c6d71ca72757c1d69e608aa101e47818cf9991e1.zip
LibCore: Rename `MemoryStream` to `FixedMemoryStream`
This is to differentiate between the upcoming `AllocatingMemoryStream`, which automatically allocates memory as needed instead of operating on a static memory area.
Diffstat (limited to 'Meta/Lagom/Fuzzers')
-rw-r--r--Meta/Lagom/Fuzzers/FuzzBrotli.cpp2
-rw-r--r--Meta/Lagom/Fuzzers/FuzzTar.cpp2
2 files changed, 2 insertions, 2 deletions
diff --git a/Meta/Lagom/Fuzzers/FuzzBrotli.cpp b/Meta/Lagom/Fuzzers/FuzzBrotli.cpp
index 6011e664bd..142bdadc30 100644
--- a/Meta/Lagom/Fuzzers/FuzzBrotli.cpp
+++ b/Meta/Lagom/Fuzzers/FuzzBrotli.cpp
@@ -10,7 +10,7 @@
extern "C" int LLVMFuzzerTestOneInput(uint8_t const* data, size_t size)
{
- auto bufstream_result = Core::Stream::MemoryStream::construct({ data, size });
+ auto bufstream_result = Core::Stream::FixedMemoryStream::construct({ data, size });
if (bufstream_result.is_error()) {
dbgln("MemoryStream::construct() failed.");
return 0;
diff --git a/Meta/Lagom/Fuzzers/FuzzTar.cpp b/Meta/Lagom/Fuzzers/FuzzTar.cpp
index c508faf3d0..ff529da4c0 100644
--- a/Meta/Lagom/Fuzzers/FuzzTar.cpp
+++ b/Meta/Lagom/Fuzzers/FuzzTar.cpp
@@ -12,7 +12,7 @@
extern "C" int LLVMFuzzerTestOneInput(uint8_t const* data, size_t size)
{
- auto input_stream_or_error = Core::Stream::MemoryStream::construct({ data, size });
+ auto input_stream_or_error = Core::Stream::FixedMemoryStream::construct({ data, size });
if (input_stream_or_error.is_error())
return 0;