aboutsummaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* unpack: Fix negative signed integer unpacking calculationTomasz Kramkowski2021-05-311-3/+13
| | | | | | | | | | | | | | Currently the calculation is just wrong since it effectively relies on the widths of the signed and unsigned integer types and on wrapping-on-assignment behavior. I have no idea why I wrote it like this, it seems obviously wrong in retrospect. The new behavior ensure that this succeeds in situations where type widths are not correct. The new code sets vals to the minimum possible two's complement signed value (I just realised this code now assumes two's complement) and then offsets it with the value part of the signed integer.
* test_gen: rename unpack generatorsTomasz Kramkowski2021-05-311-9/+9
| | | | In preparation for adding pack test generators in the future.
* test.do: Sort dependencies alphabeticallyTomasz Kramkowski2020-09-121-1/+1
|
* test.c: Sort headers alphabeticallyTomasz Kramkowski2020-09-121-2/+2
|
* licignore: LICENSE and README.mdTomasz Kramkowski2020-09-121-0/+2
|
* Add README.md and LICENSETomasz Kramkowski2020-09-122-0/+59
|
* Implement a basic pack functionTomasz Kramkowski2020-09-124-1/+137
|
* test: Fix Reorder test names and descriptionsTomasz Kramkowski2020-09-122-5/+5
|
* test: Make DATA macro more useful.Tomasz Kramkowski2020-09-121-2/+2
|
* build: Fix default.o.do exit statusTomasz Kramkowski2020-09-121-1/+1
|
* unpack_test: Rename to a more generic nameTomasz Kramkowski2020-09-128-9/+9
|
* unpack_test: simple unpack padding testTomasz Kramkowski2020-09-121-0/+21
|
* unpack: Additional trace information.Tomasz Kramkowski2020-09-121-2/+2
|
* unpack: Actually use the buffer offset...Tomasz Kramkowski2020-09-121-1/+1
|
* Move BITMASK and endian enum to common.hTomasz Kramkowski2020-09-122-5/+5
|
* unpack: Fix default case mistakeTomasz Kramkowski2020-09-121-1/+1
|
* unpack: Make input buffer constTomasz Kramkowski2020-09-122-4/+4
|
* build: Fix flag passing to the linker and compiler.Tomasz Kramkowski2020-09-122-2/+2
|
* Implement double deserialisation.Tomasz Kramkowski2020-09-112-1/+23
|
* unpack: Replace perfectly readable code with macro abomination.Tomasz Kramkowski2020-09-111-29/+32
|
* unpack: Add BITMASK helper macroTomasz Kramkowski2020-09-111-1/+3
|
* unpack: Implement float unpacking.Tomasz Kramkowski2020-09-102-2/+54
|
* Implement unpacking arraysTomasz Kramkowski2020-09-102-5/+26
|
* unpack_test: Additional reporting.Tomasz Kramkowski2020-09-101-2/+12
|
* Configurable array sizeTomasz Kramkowski2020-09-101-7/+14
|
* Update licignoreTomasz Kramkowski2020-09-101-0/+5
|
* Use sections to generate list of testsTomasz Kramkowski2020-09-102-20/+11
|
* Remove unused data arrayTomasz Kramkowski2020-09-101-3/+0
|
* Abstract away check generationTomasz Kramkowski2020-09-101-13/+43
|
* Use arrays to simplify future refactoringTomasz Kramkowski2020-09-101-7/+7
|
* Stop naming variables after the formatTomasz Kramkowski2020-09-101-10/+10
| | | | This was stupid and unnecessary
* Make prefix explicit in format informationTomasz Kramkowski2020-09-101-14/+12
|
* Centralise format information for test generationTomasz Kramkowski2020-09-101-21/+52
|
* Allow for a conversion countTomasz Kramkowski2020-09-101-26/+29
|
* Add default case for trace typeTomasz Kramkowski2020-09-091-0/+1
|
* attribute format on some appropriate functionsTomasz Kramkowski2020-09-092-0/+9
|
* Fix type complaintsTomasz Kramkowski2020-09-091-2/+2
|
* Make functions staticTomasz Kramkowski2020-09-094-9/+9
|
* Make sure constants don't become unsignedTomasz Kramkowski2020-09-091-1/+1
|
* Switch to using redoTomasz Kramkowski2020-09-0912-9/+41
|
* Fix up bugs and add tracing to unpackTomasz Kramkowski2020-09-091-45/+34
|
* Improved testingTomasz Kramkowski2020-09-094-77/+141
|
* License header checking scriptTomasz Kramkowski2020-09-092-0/+16
|
* Add license headersTomasz Kramkowski2020-09-098-0/+30
|
* Add tracing functions for debuggingTomasz Kramkowski2020-09-094-1/+56
|
* initTomasz Kramkowski2020-08-207-0/+293