aboutsummaryrefslogtreecommitdiff
path: root/analyzer/utils
Commit message (Collapse)AuthorAgeFilesLines
* refactor: apparently when you add , after last item in struct initalization ↵Mosder2026-07-311-10/+4
| | | | it doesn't get formatted like shit by clang. crazy shit
* refactor: generalized dynamic arrays with structures/array.hMosder2026-07-285-70/+20
|
* feat: added support for streams from both server and client (uhm, actually, ↵Mosder2026-07-282-14/+25
| | | | there's only one stream, since TCP streams are bidirectional, blah, blah, blah...)
* refactor: added -Wextra to CFLAGSMosder2026-07-262-3/+3
|
* feat: redirected runtime errors to stderrMosder2026-07-231-4/+4
|
* feat: added helper functions for dealing with memory management and ↵Mosder2026-07-233-25/+125
| | | | refactored the codebase to use them
* refactor: generalized parser structs with offsetof and put them into ↵Mosder2026-07-223-10/+30
| | | | separate files
* feat: added parsing for gearMosder2026-07-212-0/+28
|
* refactor: changed #ifndef guards, so that there is one per fileMosder2026-07-201-6/+5
|
* fix: fixed not handling of different connections and bug regarding TCP SYN ↵Mosder2026-07-142-11/+22
| | | | packet
* refactor: generalized Makefile by adding CC and CFLAGS variables. Changed ↵Mosder2026-07-148-357/+5
| | | | from realtive to absolute paths for includes
* feat: added functionallity for TCP stream reassemblyMosder2026-07-107-110/+312
|
* feat: implemented a heap structureMosder2026-07-104-2/+165
|
* refactor: simplified NULL initalization in hashmap to memsetMosder2026-07-101-2/+2
|
* fix: fixed comment specifying wrong location of the hashmapMosder2026-07-101-1/+1
|
* refactor: moved hashmap implementation from utils to new directory ↵Mosder2026-07-102-59/+0
| | | | utils/structures and removed unnecessary functionality from it
* feat: added functions for iterating over a hashmapMosder2026-07-102-0/+36
|
* feat: defined unsigned char as byte_tMosder2026-07-102-14/+12
|
* feat: added header definitions for functions handling the stream reassembly ↵Mosder2026-07-092-1/+60
| | | | in utils/pcap.h
* feat: created a simple hashmap implementationMosder2026-07-062-0/+209
|
* fix: YAGNI cont.Mosder2026-07-061-11/+0
|
* feat: added basic structures for fight results parsing and base ↵Mosder2026-07-062-2/+6
| | | | functionallity of finding only the necessary data. Still need to do tcp stream reassembly and the actual parsing of the data.
* fix: fixed includes in utils/fs.c. also YAGNIMosder2026-07-061-9/+4
|
* feat: added simple reading of packets from file and printing the payloads. ↵Mosder2026-06-172-0/+49
| | | | TODO: utilize TCP sequence number to make sure the stream is read in order and parse the packets without reassemblying the entire stream (which might be enormous), but keeping in mind that entire fight result might be accross multiple segments
* feat: created utils/time.h for helper functions regarding date and timeMosder2026-06-132-0/+17
|
* feat: added utils/fs.h for filesystem operations and made a function to ↵Mosder2026-06-112-0/+74
create necessary directories