pysim/tests
Harald Welte 21caf32e3d Introduce APDU/TPDU trace decoder
This introduces a new pySim.apdu module hierarchy, which contains
classes that represent TPDU/APDUs as exchanged between
SIM/UICC/USIM/ISIM card and UE.

It contains instruction level decoders for SELECT, READ BINARY and
friends, and then uses the pySim.filesystem.Runtime{Lchan,State} classes
to keep track of the currently selected EF/DF/ADF for each logical
channel, and uses the file-specific decoder classes of pySim to decode
the actual file content that is being read or written.

This provides a much more meaningful decode of protocol traces than
wireshark will ever be able to give us.

Furthermore, there's the new pySim.apdu_source set of classes which
provides "input plugins" for obtaining APDU traces in a variety of
formats.  So far, GSMTAP UDP live capture and pyshark based RSPRO
live and pcap file reading are imlpemented.

Change-Id: I862d93163d495a294364168f7818641e47b18c0a
Closes: OS#5126
2022-07-23 12:18:57 +02:00
..
pysim-test.sh Python 2 is deprecated, remove backwards compatibility chunks 2021-03-07 20:33:46 +01:00
test_apdu.py Introduce APDU/TPDU trace decoder 2022-07-23 12:18:57 +02:00
test_construct.py Extend unit test coverage for construct, add [some] tests for TLV 2022-02-14 00:41:24 +01:00
test_tlv.py Extend unit test coverage for construct, add [some] tests for TLV 2022-02-14 00:41:24 +01:00
test_utils.py utils: Fix bugs in DataObject encoders 2022-04-05 14:33:00 +02:00