@0xb17bea125
f73965d2a3
wasm: add wasm to probe list
2022-08-23 21:19:07 +09:00
@0xb17bea125
ae4529c491
wasm: run golangci-lint run --fix
2022-08-23 21:12:29 +09:00
@0xb17bea125
bcc0dfd9f0
wasm: fix comment format
2022-08-23 21:09:56 +09:00
@0xb17bea125
2eb1750574
wasm: update tests
2022-08-23 21:07:44 +09:00
@0xb17bea125
cd037c514d
wasm: add comment to clarify lazy initialization
2022-08-23 17:46:00 +09:00
@0xb17bea125
db8021c931
wasm: define and use constants for some insturctions
2022-08-23 08:42:34 +09:00
@0xb17bea125
e5cf1731e3
wasm: make the godoc formatter happy
2022-08-22 21:30:49 +09:00
@0xb17bea125
d5d9e738b6
wasm: use FieldULEB128() / FieldSLEB128() defined in the upstream
2022-08-22 21:09:26 +09:00
bitbears-dev
89cb0d8e91
Merge branch 'wader:master' into wasm-support
2022-08-22 21:01:19 +09:00
@0xb17bea125
289ddf59fb
wasm: fix lint issues
2022-08-22 21:00:54 +09:00
@0xb17bea125
00869b3701
wasm: avoid race condition
2022-08-22 21:00:02 +09:00
Mattias Wadman
f24d685a5b
xml: Keep track of default namespace and skip it element names
...
Refactor element name handling a bit, return it instead, feels nicer.
2022-08-21 10:11:59 +02:00
Mattias Wadman
326dada7ca
decode: Add LEB128 readers
2022-08-20 12:05:44 +02:00
Mattias Wadman
3290c8a46b
Merge pull request #386 from wader/gopacket-update-sll2
...
gopacket: Switch/update to new fork, remove SLL2 hack
2022-08-20 09:37:23 +02:00
@0xb17bea125
7401d141e8
wasm: use WRITE_ACTUAL=1 to generate .fqtest files
2022-08-20 16:11:33 +09:00
@0xb17bea125
e1691dec4f
wasm: remove unused function
2022-08-20 16:04:18 +09:00
@0xb17bea125
fead68de50
wasm: tidy up
2022-08-20 15:50:14 +09:00
@0xb17bea125
cbb5a8ed00
wasm: further simplification
2022-08-20 15:25:11 +09:00
@0xb17bea125
ae08bf70d4
wasm: use s.ActualU() instead of s.Actual.(uint64)
2022-08-20 15:02:52 +09:00
@0xb17bea125
3298d181fe
wasm: to be able to probe
2022-08-20 14:55:16 +09:00
Mattias Wadman
394717cae8
gopacket: Switch/update to new fork, remove SLL2 hack
...
SLL2 support merged upstream https://github.com/gopacket/gopacket/pull/1
This also cuts down a bit on some indirect deps
2022-08-20 01:25:03 +02:00
@0xb17bea125
b0f3fec855
wasm: remove nolint:unparam which is no longer needed
2022-08-19 18:49:19 +09:00
@0xb17bea125
2037b86abd
wasm: use map, not switch
2022-08-19 18:47:50 +09:00
@0xb17bea125
0ad5a8ec2f
wasm: use underscores for symbol values
2022-08-19 14:50:56 +09:00
@0xb17bea125
63f4a7267c
wasm: use scalar.UToSymStr for simplicity
2022-08-19 14:35:16 +09:00
@0xb17bea125
3fca7cc09a
wasm: fix lint issues
2022-08-19 09:05:46 +09:00
Mattias Wadman
71900c2a9d
xml: Correctly sort if one #seq is found and allow negative seq numbers
2022-08-18 23:08:31 +02:00
Takashi Oguma
934ed9a809
wasm: initial version
2022-08-18 21:40:30 +09:00
Martijn van Beurden
fb583e2cc0
Add 32 bps FLAC to test
2022-08-18 14:27:43 +02:00
Martijn van Beurden
c1d5b2b1c3
Add sample size entry to list for 32bps flac streams
2022-08-18 14:16:55 +02:00
Mattias Wadman
74c7dc4eaf
pcap: Add ns support and add header field
2022-08-18 14:09:42 +02:00
Mattias Wadman
da6b9413fd
Merge pull request #381 from wader/flac-fix-gen-script
...
flac: Make gen script generate correct fqtest files
2022-08-18 11:48:00 +02:00
Mattias Wadman
8a19978b2f
flac: Make gen script generate correct fqtest files
2022-08-18 11:37:07 +02:00
Mattias Wadman
2bfbe9a94a
flac_frame: Cleanup some dev lefterovers and todos
2022-08-18 11:13:45 +02:00
Mattias Wadman
b6c4c27688
Merge pull request #379 from ktmf01/fix-flac-raw-partition
...
Fix decoding of FLAC raw entropy partition
2022-08-18 11:04:00 +02:00
Martijn van Beurden
3f209c46ca
Fix decoding of FLAC raw entropy partition
2022-08-18 10:11:57 +02:00
Mattias Wadman
cf15661e9c
mp3_frame: Add LSF support and fix incorrect main data handling
...
Some mpeg versions use LSF (low sampling frequency) when encoding
low sample rates which changes a bit how the side info is layed out.
Also skip trying to separate data and other_data as after reading up
a bit on how main data begin and bit reservoir works i think it was done
incorrectly. To know the real audio data length i think you need to decode
the huffman tables. Instead just have a "audio_data" field which are the
bits with audo data for current and possibly following frames.
2022-08-17 21:36:39 +02:00
Mattias Wadman
701c67c136
jsonl: Add decoder, also tojsonl encoder
2022-08-15 19:43:59 +02:00
Mattias Wadman
3623eac365
yaml: Error on trailing yaml/json
...
Turns our yaml is a superset of json
2022-08-15 19:14:25 +02:00
Mattias Wadman
0d44b9376c
tar: Some number fields can be empty
2022-08-15 14:57:16 +02:00
Mattias Wadman
0cd846a18c
*extra: Rename <pkg>extra to just <pkg>ex and refactor to use generics
2022-08-12 16:29:47 +02:00
Mattias Wadman
2e407386ae
matroska: Strip newlines in description
...
Will mess up dump formatting
2022-08-12 14:46:35 +02:00
Mattias Wadman
9a5fcc89f1
xml: Allow trailing <?procinstr?>
...
Also more context in error messages and refactor trim function
2022-08-11 23:48:29 +02:00
Mattias Wadman
c233215aba
dns: Rename isTCP to hasLengthHeader
2022-08-10 13:35:01 +02:00
Mattias Wadman
46dca8cdc5
dns: Don't use dns (udp) format for tcp also
...
Fixes issue with TCP streams being probed as dns over TCP
2022-08-09 18:15:34 +02:00
Mattias Wadman
29005c70bf
interp,dump: Show address bar for root, nested roots and on format change
...
Also increase indent for nested roots a bit.
Makes it a bit easier to read i think.
2022-08-09 18:09:41 +02:00
Mattias Wadman
4dec7ff64b
Merge pull request #364 from wader/decode-refactor-scalar-type-assert
...
decode: Refactor to use scalar type assert helper
2022-08-08 18:17:51 +02:00
Mattias Wadman
fbe7bc9af6
Merge pull request #363 from wader/zip-correct-max-peek
...
zip: Correctly limit max EOCD find
2022-08-08 18:15:55 +02:00
Mattias Wadman
502f451cc3
decode: Refactor to use scalar type assert helper
2022-08-08 18:09:49 +02:00
Mattias Wadman
d607bee180
zip: Correctly limit max EOCD find
2022-08-08 18:04:48 +02:00