profiler: explicit decode-failure display for corrupt FCI, keep partial results

fcpDecode now parses with a partial-aware walker (fcpParseTlvs) that keeps
every complete TLV it encounters and reports why it stopped:
- 'TLV 62 declares N bytes, only M available' (truncation)
- 'Truncated length field at offset X' / 'incomplete TLV header'
- 'Invalid length form' / 'Trailing data after TLV 62'
- inner A5/C6 errors prefixed with their context ('In A5: ...')

The editor preview shows the decoded parameters plus a red
'Decode failed: <reason>' line (RU: 'Ошибка декодирования'), and the check
report's decoded FCI diff appends per-side error notes (expected/actual)
while still showing whatever decoded on either side.

SW cache v74 -> v75.
This commit is contained in:
2026-09-11 21:38:32 +03:00
parent 1e067dc883
commit 130b9d7e3b
5 changed files with 163 additions and 46 deletions
+1 -1
View File
@@ -1,4 +1,4 @@
const CACHE = 'otaman-v74';
const CACHE = 'otaman-v75';
const URLS = [
'index.html',
'help.html',