srdusr
aboutsummaryrefslogtreecommitdiffstats
path: root/fuzz/fuzz_tls.cpp
diff options
context:
space:
mode:
authorsrdusr <[email protected]>2024-05-27 22:00:00 +0200
committersrdusr <[email protected]>2024-05-27 22:00:00 +0200
commitb565d7d9c47ca1ec5af0effd828431ee96027d60 (patch)
treefbe0c9c897e78f507443507354d5b1d8fb851099 /fuzz/fuzz_tls.cpp
parentfbedc55d5aa861c381701c9f913b34ee7ab57ec4 (diff)
downloadpacketeer-b565d7d9c47ca1ec5af0effd828431ee96027d60.tar.gz
packeteer-b565d7d9c47ca1ec5af0effd828431ee96027d60.zip
Rename project from wireframe to packeteer
Decided on the name after weighing alternatives in NAMES.md: packeteer (packet + -eer, "one who wields packets") fit the project's actual scope better than the wire/frame pun once it had grown into full L2-L7 dissection, reassembly, checksums, privilege dropping, and dual TUI/GUI frontends. No existing packet-capture project uses the name; the one real-world collision (Packeteer, Inc., a networking company acquired and folded into Blue Coat/Symantec by 2008) is long defunct. Mechanical rename throughout: CMake project/target names, the wireframe:: namespace and include/wireframe/ directory (git mv, history preserved), every #include path, CLI/GUI help text, and the project's own working directory. NAMES.md rewritten to record the decision instead of leaving stale self-referential etymology behind from the blind rename pass. Verified after every step: full rebuild (all four targets, no warnings) and the full test suite (128/128 cases, 366/366 assertions) both from a fresh reconfigure and again after the directory move.
Diffstat (limited to 'fuzz/fuzz_tls.cpp')
-rw-r--r--fuzz/fuzz_tls.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/fuzz/fuzz_tls.cpp b/fuzz/fuzz_tls.cpp
index 7860426..dbe98aa 100644
--- a/fuzz/fuzz_tls.cpp
+++ b/fuzz/fuzz_tls.cpp
@@ -1,7 +1,7 @@
#include <cstddef>
#include <cstdint>
-#include "wireframe/l7/tls.hpp"
+#include "packeteer/l7/tls.hpp"
// The nested TLV walk (record -> handshake -> extensions -> SNI, each
// level bounds-checked against attacker-influenced length fields) is
@@ -9,9 +9,9 @@
// far - exactly the kind of code most likely to have an off-by-one or
// an unchecked length feeding a read past the buffer.
extern "C" int LLVMFuzzerTestOneInput(const uint8_t* data, size_t size) {
- wireframe::net::parse_tls_client_hello({data, size});
+ packeteer::net::parse_tls_client_hello({data, size});
- wireframe::net::TlsSniDissector dissector;
+ packeteer::net::TlsSniDissector dissector;
dissector.summarize({data, size});
return 0;
}