srdusr
aboutsummaryrefslogtreecommitdiffstats
path: root/fuzz/fuzz_ipv6.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_ipv6.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_ipv6.cpp')
-rw-r--r--fuzz/fuzz_ipv6.cpp10
1 files changed, 5 insertions, 5 deletions
diff --git a/fuzz/fuzz_ipv6.cpp b/fuzz/fuzz_ipv6.cpp
index 1cae072..eded2a2 100644
--- a/fuzz/fuzz_ipv6.cpp
+++ b/fuzz/fuzz_ipv6.cpp
@@ -1,16 +1,16 @@
#include <cstddef>
#include <cstdint>
-#include "wireframe/net/ipv6.hpp"
+#include "packeteer/net/ipv6.hpp"
extern "C" int LLVMFuzzerTestOneInput(const uint8_t* data, size_t size) {
- auto packet = wireframe::net::parse_ipv6({data, size});
+ auto packet = packeteer::net::parse_ipv6({data, size});
if (packet) {
// Also exercise the RFC 5952 address formatter - it does its
// own byte manipulation (zero-run detection) independent of
// parse_ipv6, worth fuzzing on whatever bytes made it through.
- wireframe::net::ipv6_to_string(packet->header.src);
- wireframe::net::ipv6_to_string(packet->header.dst);
+ packeteer::net::ipv6_to_string(packet->header.src);
+ packeteer::net::ipv6_to_string(packet->header.dst);
// Extension-header walking: a loop that repeatedly trusts an
// attacker-controlled length field to advance through the
@@ -18,7 +18,7 @@ extern "C" int LLVMFuzzerTestOneInput(const uint8_t* data, size_t size) {
// most worth fuzzing. header.next_header seeds which branch of
// the walker runs first; the walker's own logic picks whatever
// comes after based on each header's own next_header byte.
- wireframe::net::walk_ipv6_extension_headers(packet->header.next_header, packet->payload);
+ packeteer::net::walk_ipv6_extension_headers(packet->header.next_header, packet->payload);
}
return 0;
}