libosmocore/tests
Pau Espin c3b904a87d vty: Allow using hex representations in cmd numeric ranges
Ranges can now be specified in hexadecimal notation. In this case, only
hexadecimal values are accepted (prefixed with "0x").

In order to allow using a hexadecimal value as an input argument, the
command must specify the range in hexadecimal form.
This way all existing commands (decimal) won't get an hexadecimal value
unless they are further extended in the future, avoiding hard to notice
breakage due to use of stroul() without using base=0 or even worse,
using atoi() directly (which only understands decimal and provides no
error checking mechanism).

A command argument can be expanded to accept both decimal and hex in a
range by means of specifying both, example:
"mycmd (<0-255>|<0x0-0xff>)".

Related: OS#5631
Change-Id: Ia2b7fbbf5502c28374c21dbff548232680da27d4
2022-09-15 16:25:56 +02:00
..
a5 tests: a5_test: Print wrong buffer correctly on error 2018-05-16 21:13:58 +02:00
abis rsl: Fix tlv_parse of IPAC_DLCX_IND message 2022-04-05 17:32:41 +02:00
auth Use define for key buffers 2018-12-20 09:51:02 +00:00
base64 base64: reformat using Lindent to conform to our coding style 2021-09-21 19:57:56 +00:00
bitgen bitXXgen: add osmo_loadXXbe_ext_2() to get right-adjusted values 2020-09-14 11:53:46 +00:00
bits tests: bitrev_test: Fix dynamic-stack-buffer-overflow 2018-05-16 17:10:33 +02:00
bitvec bitvec_read_field(): fix incorrect bit-shift issue found by UBSan 2021-11-18 13:11:20 +00:00
bsslap bssmap_le/bsslap tests: We must use %td for ptrdiff_t printing 2020-10-09 09:55:53 +02:00
bssmap_le fix uninitialized err pointer passed to osmo_bssap_le_dec() 2022-06-29 11:30:24 +00:00
codec codec: Add functions for AMR s->d bits and d->s bits 2020-05-14 14:51:22 +02:00
coding treewide: remove FSF address 2021-12-14 12:44:03 +01:00
comp128 tests: test actual support status for auth. algo 2016-06-29 16:33:40 +00:00
context context: Add support for [per-thread] global talloc contexts 2019-08-27 13:43:31 +02:00
conv conv: add convolutional coder for AMR SID UPDATE frames 2020-03-09 13:40:27 +01:00
ctrl ctrl: Pre-calculate required size before allocating msgb 2021-06-15 16:29:44 +00:00
dtx coding: add gsm0503_detect_a[fh]s_dtx_frame2() 2022-05-27 08:31:30 +00:00
endian add/clean big-endian packed structs (struct_endianess.py) 2018-12-19 18:40:03 +00:00
exec Introduce helper functions for safe fork+exec of processes 2019-12-17 13:49:28 +01:00
fr treewide: remove FSF address 2021-12-14 12:44:03 +01:00
fsm fsm: fix state_chg(): pass microseconds to osmo_timer_schedule() 2022-07-19 15:32:36 +07:00
gad add GAD coding for Location Services 2020-10-07 11:39:46 +00:00
gb ns2: message: BLOCK/BLOCK ACK allow to use a given NSVCI instead of using the nsvc nsvci 2021-10-08 05:43:46 +00:00
gea tests: gea_test: Use correct max size for key in buffer 2018-05-16 20:09:39 +02:00
gprs use osmo_init_logging2() with proper talloc ctx 2018-04-06 04:37:50 +02:00
gsm48 treewide: remove FSF address 2021-12-14 12:44:03 +01:00
gsm0408 gsm0408_test: do not print errno in expected output 2022-08-23 18:37:20 +02:00
gsm0502 treewide: remove FSF address 2021-12-14 12:44:03 +01:00
gsm0808 gsm0808_enc_aoip_trasp_addr: add length check 2022-08-05 14:07:55 +00:00
gsm23003 treewide: remove FSF address 2021-12-14 12:44:03 +01:00
gsm23236 treewide: remove FSF address 2021-12-14 12:44:03 +01:00
gsm29205 treewide: remove FSF address 2021-12-14 12:44:03 +01:00
gsup Drop use of log_set_print_filename() API inside libosmocore 2021-02-20 17:13:58 +00:00
i460_mux tests/*: fix control reaches end of non-void func 2021-01-21 12:13:42 +00:00
it_q tests/*: fix control reaches end of non-void func 2021-01-21 12:13:42 +00:00
iuup iuup: Fix Handling of subsequent Initialization msgs 2022-06-13 13:51:55 +02:00
kasumi gsm: kasumi: Fix dynamic-stack-buffer-overflow on out buffers not multiple of 64 bits 2018-05-17 12:13:04 +02:00
lapd treewide: remove FSF address 2021-12-14 12:44:03 +01:00
logging logging: add a new category DLCSN1 for libosmo-csn1 2022-08-04 02:32:13 +07:00
loggingrb treewide: remove FSF address 2021-12-14 12:44:03 +01:00
msgb treewide: remove FSF address 2021-12-14 12:44:03 +01:00
msgfile treewide: remove FSF address 2021-12-14 12:44:03 +01:00
oap treewide: remove FSF address 2021-12-14 12:44:03 +01:00
osmo-auc-gen osmo-auc-gen: Print RFC3310 IMS HTTP-AKA style base64 nonce/res 2021-09-21 19:57:56 +00:00
prbs Add pseudo-random bit sequence generator to libosmcoore 2017-07-10 23:42:02 +02:00
sercomm treewide: remove FSF address 2021-12-14 12:44:03 +01:00
sim treewide: remove FSF address 2021-12-14 12:44:03 +01:00
sms treewide: remove FSF address 2021-12-14 12:44:03 +01:00
smscb cbsp: Fix decoding of Fail List 2022-08-06 17:00:48 +00:00
sockaddr_str Revert "Add osmo_sockaddr_strs_to_str()" 2022-08-17 01:01:16 +00:00
socket add osmo_sockaddr_to_str_c(), osmo_sockaddr_to_str_buf2() 2022-01-31 15:03:53 +00:00
stats select: gather statistics for TCP connections 2021-12-23 14:52:15 +00:00
strrb treewide: remove FSF address 2021-12-14 12:44:03 +01:00
tdef tests/tdef: assert pointer returned by osmo_tdef_get_entry() 2022-07-20 05:11:25 +07:00
time_cc add osmo_time_cc, moved from osmo-bsc 2021-11-15 09:06:03 +00:00
timer treewide: remove FSF address 2021-12-14 12:44:03 +01:00
tlv tlv: Fix length returned by t{l16,16l}v_put 2021-03-18 14:20:35 +01:00
use_count treewide: remove FSF address 2021-12-14 12:44:03 +01:00
ussd treewide: remove FSF address 2021-12-14 12:44:03 +01:00
utils treewide: remove FSF address 2021-12-14 12:44:03 +01:00
vty vty: Allow using hex representations in cmd numeric ranges 2022-09-15 16:25:56 +02:00
write_queue Drop use of log_set_print_filename() API inside libosmocore 2021-02-20 17:13:58 +00:00
Makefile.am cbsp: Fix decoding of Fail List 2022-08-06 17:00:48 +00:00
atlocal.in build: make check: disable sim_test when built with --disable-pcsc 2016-11-16 16:40:44 +00:00
libsercomstub.c Embedded: add sercomm stubs 2018-01-21 19:08:05 +00:00
testsuite.at cbsp: Fix decoding of Fail List 2022-08-06 17:00:48 +00:00