aboutsummaryrefslogtreecommitdiff
path: root/analyzer
Commit message (Collapse)AuthorAgeFilesLines
* feat: added a very-very basic total rewards thingy, still needs to do ↵Mosder2026-07-288-24/+248
| | | | detection through the special packet sent by client and there's a lot of placeholder things and not the best code there. Also - normal items don't stack and they definitely should - that's gonna be a bit of refactoring :)))))))))))
* refactor: generalized dynamic arrays with structures/array.hMosder2026-07-2819-259/+379
|
* feat: added support for streams from both server and client (uhm, actually, ↵Mosder2026-07-286-21/+47
| | | | there's only one stream, since TCP streams are bidirectional, blah, blah, blah...)
* refactor: changed hardcoded PROGRAM_NAME into argv[0] and moved global ↵Mosder2026-07-272-10/+10
| | | | install destination into /usr/local/bin from /usr/bin
* refactor: added -Wextra to CFLAGSMosder2026-07-266-10/+16
|
* refactor: refactored GCC statment expression into an inline functionMosder2026-07-231-11/+8
|
* feat: redirected runtime errors to stderrMosder2026-07-232-5/+5
|
* feat: added helper functions for dealing with memory management and ↵Mosder2026-07-239-113/+194
| | | | refactored the codebase to use them
* refactor: removed unneeded bracesMosder2026-07-231-2/+1
|
* refactor: generalized command parsing and moved it into a separate fileMosder2026-07-232-0/+129
|
* fix: fixed wrong arguments in cleanup functions of hashmapMosder2026-07-221-3/+3
|
* refactor: generalized parser structs with offsetof and put them into ↵Mosder2026-07-2217-596/+428
| | | | separate files
* refactor: improved csv table generationsMosder2026-07-213-22/+6
|
* refactor: moved parser/fight_results.* into parser/fight_results/Mosder2026-07-214-2/+2
|
* fix: fixed some bugs in parser/fight_results.cMosder2026-07-211-22/+24
|
* fix: fixed memmem having incorrect length of haystackMosder2026-07-211-2/+2
|
* feat: added parsing for gearMosder2026-07-216-125/+473
|
* feat: added drif parsing and coloring of items depending on typeMosder2026-07-204-60/+205
|
* refactor: changed #ifndef guards, so that there is one per fileMosder2026-07-204-32/+19
|
* feat: added parsing of normal itemsMosder2026-07-203-22/+87
|
* refactor: removed redundant parenthesesMosder2026-07-161-1/+1
|
* feat: added state to the analyzer loop and data handling functionMosder2026-07-161-5/+9
|
* Merge branch '3-file-analysis' of ssh://github.com/Mosder/branal into ↵Mosder2026-07-161-1/+1
|\ | | | | | | 3-file-analysis
| * refactor: removed comment that was unfortunately wrongMosder2026-07-141-1/+1
| |
* | feat: added "prettier" printing of fight results. still need to better parse ↵Mosder2026-07-164-32/+207
|/ | | | items, drifs and gear
* feat: created converter from CSV files to a C header files containing static ↵Mosder2026-07-141-2/+12
| | | | arrays. Used for creating ID to STR conversion for saturations and items.
* fix: fixed not handling of different connections and bug regarding TCP SYN ↵Mosder2026-07-143-13/+24
| | | | packet
* fix: added guard for NULLs in free_heap and free_hashmapMosder2026-07-142-0/+4
|
* refactor: generalized Makefile by adding CC and CFLAGS variables. Changed ↵Mosder2026-07-1414-21/+29
| | | | from realtive to absolute paths for includes
* refactor: fixed some whitespace indentMosder2026-07-131-8/+8
|
* feat: added basic parsing of fight results dataMosder2026-07-134-6/+237
|
* feat: added generic functionallity for getting the parsed data from streamMosder2026-07-137-50/+200
|
* feat: added functionallity for TCP stream reassemblyMosder2026-07-1012-143/+368
|
* 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-103-16/+14
|
* 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-067-12/+168
| | | | 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-174-0/+92
| | | | 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: added the simple capturing packets modeMosder2026-06-132-0/+36
|
* feat: added header files for tshark interface to use and server IP. Added ↵Mosder2026-06-131-0/+1
| | | | server.h to gitignore to avoid bots scraping it or something.
* 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