$ env LOG_COMPARISONS=1 R=87 NOCTRL=1 python3 bin/mychains.py subjects/microjson.py
Arg: '{"JXl":[8]}'
0,eq,'{','"'
0,eq,'{','{'
1,eq,'"',''
1,eq,'"','}'
1,eq,'"',','
1,eq,'"','"'
2,eq,'J',''
2,eq,'J','\\'
2,eq,'J','"'
3,eq,'X',''
3,eq,'X','\\'
3,eq,'X','"'
4,eq,'l',''
4,eq,'l','\\'
4,eq,'l','"'
5,eq,'"',''
5,eq,'"','\\'
5,eq,'"','"'
6,ne,':',':'
7,eq,'[','"'
7,eq,'[','{'
7,eq,'[','['
8,eq,'8',''
8,eq,'8',']'
8,eq,'8',','
8,eq,'8','"'
8,eq,'8','{'
8,eq,'8','['
8,eq,'8','t'
8,eq,'8','f'
8,eq,'8','n'
8,eq,'8','8'
8,eq,'8','8'
8,eq,'8','-'
8,eq,'8','.'
8,eq,'8','e'
8,eq,'8','E'
9,eq,']',''
9,eq,']',']'
10,eq,'}',''
10,eq,'}','}'
10,eq,'}','}'
Accept
Arg: '{"JXl":[8]}'
'>> s'
'Exception malformed JSON data at position 0, "\'s\'"'
(87, 0, <EState.Trim: 1>, 'is tainted', True)
'>> {'
'Exception truncated JSON data at position 1, "\'\'"'
(87, 1, <EState.Append: 2>, 'is tainted', True)
'>> {y'
'Exception malformed JSON data at position 1, "\'y\'"'
(87, 2, <EState.Trim: 1>, 'is tainted', True)
'>> {f'
'Exception malformed JSON data at position 1, "\'f\'"'
(87, 3, <EState.Trim: 1>, 'is tainted', True)
'>> {.'
'Exception malformed JSON data at position 1, "\'.\'"'
(87, 4, <EState.Trim: 1>, 'is tainted', True)
'>> {E'
'Exception malformed JSON data at position 1, "\'E\'"'
(87, 5, <EState.Trim: 1>, 'is tainted', True)
'>> {M'
'Exception malformed JSON data at position 1, "\'M\'"'
(87, 6, <EState.Trim: 1>, 'is tainted', True)
'>> {w'
'Exception malformed JSON data at position 1, "\'w\'"'
(87, 7, <EState.Trim: 1>, 'is tainted', True)
'>> {j'
'Exception malformed JSON data at position 1, "\'j\'"'
(87, 8, <EState.Trim: 1>, 'is tainted', True)
'>> {L'
'Exception malformed JSON data at position 1, "\'L\'"'
(87, 9, <EState.Trim: 1>, 'is tainted', True)
'>> {1'
'Exception malformed JSON data at position 1, "\'1\'"'
(87, 10, <EState.Trim: 1>, 'is tainted', True)
'>> {T'
'Exception malformed JSON data at position 1, "\'T\'"'
(87, 11, <EState.Trim: 1>, 'is tainted', True)
'>> {"'
'Exception truncated JSON data at position 1, "\'"\'"'
(87, 12, <EState.Append: 2>, 'is tainted', True)
'>> {"J'
'Exception truncated JSON data at position 2, "\'J\'"'
(87, 13, <EState.Append: 2>, 'is tainted', True)
'>> {"JX'
'Exception truncated JSON data at position 3, "\'X\'"'
(87, 14, <EState.Append: 2>, 'is tainted', True)
'>> {"JXl'
'Exception truncated JSON data at position 4, "\'l\'"'
(87, 15, <EState.Append: 2>, 'is tainted', True)
'>> {"JXl"'
'Exception missing colon after key at position 6, "\'\'"'
(87, 16, <EState.Append: 2>, 'is tainted', True)
'>> {"JXl"$'
'Exception missing colon after key at position 7, "\'\'"'
(87, 17, <EState.Trim: 1>, 'is tainted', True)
'>> {"JXl":'
'Exception malformed JSON data at position 7, "\'\'"'
(87, 18, <EState.Append: 2>, 'is tainted', True)
'>> {"JXl":]'
'Exception malformed JSON data at position 7, "\']\'"'
(87, 19, <EState.Trim: 1>, 'is tainted', True)
'>> {"JXl":['
'Exception truncated JSON data at position 8, "\'\'"'
(87, 20, <EState.Append: 2>, 'is tainted', True)
'>> {"JXl":[G'
'Exception malformed JSON data at position 8, "\'G\'"'
(87, 21, <EState.Trim: 1>, 'is tainted', True)
'>> {"JXl":[8'
'Exception truncated JSON data at position 8, "\'8\'"'
(87, 22, <EState.Append: 2>, 'is tainted', True)
'>> {"JXl":[8`'
'Exception malformed JSON data at position 9, "\'`\'"'
(87, 23, <EState.Trim: 1>, 'is tainted', True)
'>> {"JXl":[8i'
'Exception malformed JSON data at position 9, "\'i\'"'
(87, 24, <EState.Trim: 1>, 'is tainted', True)
'>> {"JXl":[8+'
"Exception invalid literal for int() with base 10: '8+'"
(87, 25, <EState.Trim: 1>, 'is tainted', True)
'>> {"JXl":[8I'
'Exception malformed JSON data at position 9, "\'I\'"'
(87, 26, <EState.Trim: 1>, 'is tainted', True)
'>> {"JXl":[8$'
'Exception malformed JSON data at position 9, "\'$\'"'
(87, 27, <EState.Trim: 1>, 'is tainted', True)
'>> {"JXl":[8F'
'Exception malformed JSON data at position 9, "\'F\'"'
(87, 28, <EState.Trim: 1>, 'is tainted', True)
'>> {"JXl":[8Z'
'Exception malformed JSON data at position 9, "\'Z\'"'
(87, 29, <EState.Trim: 1>, 'is tainted', True)
'>> {"JXl":[8t'
'Exception malformed JSON data at position 9, "\'t\'"'
(87, 30, <EState.Trim: 1>, 'is tainted', True)
'>> {"JXl":[8|'
'Exception malformed JSON data at position 9, "\'|\'"'
(87, 31, <EState.Trim: 1>, 'is tainted', True)
'>> {"JXl":[8]'
'Exception truncated JSON data at position 1, "\'"JXl":[8]\'"'
(87, 32, <EState.Append: 2>, 'is tainted', True)
'>> {"JXl":[8]P'
'Exception malformed JSON data at position 10, "\'P\'"'
(87, 33, <EState.Trim: 1>, 'is tainted', True)
'>> {"JXl":[8]u'
'Exception malformed JSON data at position 10, "\'u\'"'
(87, 34, <EState.Trim: 1>, 'is tainted', True)
'>> {"JXl":[8]w'
'Exception malformed JSON data at position 10, "\'w\'"'
(87, 35, <EState.Trim: 1>, 'is tainted', True)
'>> {"JXl":[8]['
'Exception malformed JSON data at position 10, "\'[\'"'
(87, 36, <EState.Trim: 1>, 'is tainted', True)
'>> {"JXl":[8];'
'Exception malformed JSON data at position 10, "\';\'"'
(87, 37, <EState.Trim: 1>, 'is tainted', True)
'>> {"JXl":[8]}'
$env R=32 LOG_COMPARISONS=1 NOCTRL=1 python3 bin/mychains.py subjects/microjson.py
Arg: '[false,{}]'
[False, {}]
0,eq,'[','"'
0,eq,'[','{'
0,eq,'[','['
1,eq,'f',''
1,eq,'f',']'
1,eq,'f',','
1,eq,'f','"'
1,eq,'f','{'
1,eq,'f','['
1,eq,'f','t'
1,eq,'f','f'
1,eq,'f','f'
2,eq,'a','a'
3,eq,'l','l'
4,eq,'s','s'
5,eq,'e','e'
6,eq,',',''
6,eq,',',']'
6,eq,',',','
7,eq,'{','"'
7,eq,'{','{'
8,eq,'}',''
8,eq,'}','}'
8,eq,'}','}'
9,eq,']',''
9,eq,']',']'
Accept
'>> j'
'Exception malformed JSON data at position 0, "\'j\'"'
(32, 0, <EState.Trim: 1>, 'is tainted', True)
'>> ['
'Exception truncated JSON data at position 1, "\'\'"'
(32, 1, <EState.Append: 2>, 'is tainted', True)
'>> [s'
'Exception malformed JSON data at position 1, "\'s\'"'
(32, 2, <EState.Trim: 1>, 'is tainted', True)
'>> [G'
'Exception malformed JSON data at position 1, "\'G\'"'
(32, 3, <EState.Trim: 1>, 'is tainted', True)
'>> [|'
'Exception malformed JSON data at position 1, "\'|\'"'
(32, 4, <EState.Trim: 1>, 'is tainted', True)
'>> [?'
'Exception malformed JSON data at position 1, "\'?\'"'
(32, 5, <EState.Trim: 1>, 'is tainted', True)
'>> [b'
'Exception malformed JSON data at position 1, "\'b\'"'
(32, 6, <EState.Trim: 1>, 'is tainted', True)
'>> [$'
'Exception malformed JSON data at position 1, "\'$\'"'
(32, 7, <EState.Trim: 1>, 'is tainted', True)
'>> [&'
'Exception malformed JSON data at position 1, "\'&\'"'
(32, 8, <EState.Trim: 1>, 'is tainted', True)
'>> [/'
'Exception malformed JSON data at position 1, "\'/\'"'
(32, 9, <EState.Trim: 1>, 'is tainted', True)
'>> [O'
'Exception malformed JSON data at position 1, "\'O\'"'
(32, 10, <EState.Trim: 1>, 'is tainted', True)
'>> [i'
'Exception malformed JSON data at position 1, "\'i\'"'
(32, 11, <EState.Trim: 1>, 'is tainted', True)
'>> [Q'
'Exception malformed JSON data at position 1, "\'Q\'"'
(32, 12, <EState.Trim: 1>, 'is tainted', True)
'>> [*'
'Exception malformed JSON data at position 1, "\'*\'"'
(32, 13, <EState.Trim: 1>, 'is tainted', True)
'>> [m'
'Exception malformed JSON data at position 1, "\'m\'"'
(32, 14, <EState.Trim: 1>, 'is tainted', True)
'>> [f'
'Exception expected boolean at position 1, "\'f\'"'
(32, 15, <EState.Append: 2>, 'is tainted', True)
'>> [fV'
'Exception expected boolean at position 1, "\'fV\'"'
(32, 16, <EState.Trim: 1>, 'is tainted', True)
'>> [fa'
'Exception expected boolean at position 1, "\'fa\'"'
(32, 17, <EState.Append: 2>, 'is tainted', True)
'>> [fa('
'Exception expected boolean at position 1, "\'fa(\'"'
(32, 18, <EState.Trim: 1>, 'is tainted', True)
'>> [fal'
'Exception expected boolean at position 1, "\'fal\'"'
(32, 19, <EState.Append: 2>, 'is tainted', True)
'>> [fal&'
'Exception expected boolean at position 1, "\'fal&\'"'
(32, 20, <EState.Trim: 1>, 'is tainted', True)
'>> [fals'
'Exception expected boolean at position 1, "\'fals\'"'
(32, 21, <EState.Append: 2>, 'is tainted', True)
'>> [fals!'
'Exception expected boolean at position 1, "\'fals!\'"'
(32, 22, <EState.Trim: 1>, 'is tainted', True)
'>> [false'
'Exception truncated JSON data at position 1, "\'false\'"'
(32, 23, <EState.Append: 2>, 'is tainted', True)
'>> [falseK'
'Exception malformed JSON data at position 6, "\'K\'"'
(32, 24, <EState.Trim: 1>, 'is tainted', True)
'>> [false:'
'Exception malformed JSON data at position 6, "\':\'"'
(32, 25, <EState.Trim: 1>, 'is tainted', True)
'>> [false\\'
'Exception malformed JSON data at position 6, "\'\\\\\'"'
(32, 26, <EState.Trim: 1>, 'is tainted', True)
'>> [false+'
'Exception malformed JSON data at position 6, "\'+\'"'
(32, 27, <EState.Trim: 1>, 'is tainted', True)
'>> [falseN'
'Exception malformed JSON data at position 6, "\'N\'"'
(32, 28, <EState.Trim: 1>, 'is tainted', True)
'>> [false1'
'Exception malformed JSON data at position 6, "\'1\'"'
(32, 29, <EState.Trim: 1>, 'is tainted', True)
'>> [false%'
'Exception malformed JSON data at position 6, "\'%\'"'
(32, 30, <EState.Trim: 1>, 'is tainted', True)
'>> [falsek'
'Exception malformed JSON data at position 6, "\'k\'"'
(32, 31, <EState.Trim: 1>, 'is tainted', True)
'>> [false2'
'Exception malformed JSON data at position 6, "\'2\'"'
(32, 32, <EState.Trim: 1>, 'is tainted', True)
'>> [false9'
'Exception malformed JSON data at position 6, "\'9\'"'
(32, 33, <EState.Trim: 1>, 'is tainted', True)
'>> [falseb'
'Exception malformed JSON data at position 6, "\'b\'"'
(32, 34, <EState.Trim: 1>, 'is tainted', True)
'>> [false#'
'Exception malformed JSON data at position 6, "\'#\'"'
(32, 35, <EState.Trim: 1>, 'is tainted', True)
'>> [falsec'
'Exception malformed JSON data at position 6, "\'c\'"'
(32, 36, <EState.Trim: 1>, 'is tainted', True)
'>> [false)'
'Exception malformed JSON data at position 6, "\')\'"'
(32, 37, <EState.Trim: 1>, 'is tainted', True)
">> [false'"
'Exception malformed JSON data at position 6, ""\'""'
(32, 38, <EState.Trim: 1>, 'is tainted', True)
'>> [falsew'
'Exception malformed JSON data at position 6, "\'w\'"'
(32, 39, <EState.Trim: 1>, 'is tainted', True)
'>> [falseY'
'Exception malformed JSON data at position 6, "\'Y\'"'
(32, 40, <EState.Trim: 1>, 'is tainted', True)
'>> [falseG'
'Exception malformed JSON data at position 6, "\'G\'"'
(32, 41, <EState.Trim: 1>, 'is tainted', True)
'>> [false>'
'Exception malformed JSON data at position 6, "\'>\'"'
(32, 42, <EState.Trim: 1>, 'is tainted', True)
'>> [falsen'
'Exception malformed JSON data at position 6, "\'n\'"'
(32, 43, <EState.Trim: 1>, 'is tainted', True)
'>> [falseU'
'Exception malformed JSON data at position 6, "\'U\'"'
(32, 44, <EState.Trim: 1>, 'is tainted', True)
'>> [falset'
'Exception malformed JSON data at position 6, "\'t\'"'
(32, 45, <EState.Trim: 1>, 'is tainted', True)
'>> [false@'
'Exception malformed JSON data at position 6, "\'@\'"'
(32, 46, <EState.Trim: 1>, 'is tainted', True)
'>> [false|'
'Exception malformed JSON data at position 6, "\'|\'"'
(32, 47, <EState.Trim: 1>, 'is tainted', True)
'>> [falseV'
'Exception malformed JSON data at position 6, "\'V\'"'
(32, 48, <EState.Trim: 1>, 'is tainted', True)
'>> [false0'
'Exception malformed JSON data at position 6, "\'0\'"'
(32, 49, <EState.Trim: 1>, 'is tainted', True)
'>> [false('
'Exception malformed JSON data at position 6, "\'(\'"'
(32, 50, <EState.Trim: 1>, 'is tainted', True)
'>> [falseX'
'Exception malformed JSON data at position 6, "\'X\'"'
(32, 51, <EState.Trim: 1>, 'is tainted', True)
'>> [falseM'
'Exception malformed JSON data at position 6, "\'M\'"'
(32, 52, <EState.Trim: 1>, 'is tainted', True)
'>> [falseZ'
'Exception malformed JSON data at position 6, "\'Z\'"'
(32, 53, <EState.Trim: 1>, 'is tainted', True)
'>> [falsed'
'Exception malformed JSON data at position 6, "\'d\'"'
(32, 54, <EState.Trim: 1>, 'is tainted', True)
'>> [false,'
'Exception malformed JSON data at position 7, "\'\'"'
(32, 55, <EState.Append: 2>, 'is tainted', True)
'>> [false,F'
'Exception malformed JSON data at position 7, "\'F\'"'
(32, 56, <EState.Trim: 1>, 'is tainted', True)
'>> [false,{'
'Exception truncated JSON data at position 8, "\'\'"'
(32, 57, <EState.Append: 2>, 'is tainted', True)
'>> [false,{Z'
'Exception malformed JSON data at position 8, "\'Z\'"'
(32, 58, <EState.Trim: 1>, 'is tainted', True)
'>> [false,{F'
'Exception malformed JSON data at position 8, "\'F\'"'
(32, 59, <EState.Trim: 1>, 'is tainted', True)
'>> [false,{X'
'Exception malformed JSON data at position 8, "\'X\'"'
(32, 60, <EState.Trim: 1>, 'is tainted', True)
'>> [false,{}'
'Exception truncated JSON data at position 1, "\'false,{}\'"'
(32, 61, <EState.Append: 2>, 'is tainted', True)
'>> [false,{}i'
'Exception malformed JSON data at position 9, "\'i\'"'
(32, 62, <EState.Trim: 1>, 'is tainted', True)
'>> [false,{}^'
'Exception malformed JSON data at position 9, "\'^\'"'
(32, 63, <EState.Trim: 1>, 'is tainted', True)
'>> [false,{}"'
'Exception malformed JSON data at position 9, "\'"\'"'
(32, 64, <EState.Trim: 1>, 'is tainted', True)
'>> [false,{}9'
'Exception malformed JSON data at position 9, "\'9\'"'
(32, 65, <EState.Trim: 1>, 'is tainted', True)
'>> [false,{}\\'
'Exception malformed JSON data at position 9, "\'\\\\\'"'
(32, 66, <EState.Trim: 1>, 'is tainted', True)
'>> [false,{}6'
'Exception malformed JSON data at position 9, "\'6\'"'
(32, 67, <EState.Trim: 1>, 'is tainted', True)
'>> [false,{}-'
'Exception malformed JSON data at position 9, "\'-\'"'
(32, 68, <EState.Trim: 1>, 'is tainted', True)
'>> [false,{})'
'Exception malformed JSON data at position 9, "\')\'"'
(32, 69, <EState.Trim: 1>, 'is tainted', True)
'>> [false,{}4'
'Exception malformed JSON data at position 9, "\'4\'"'
(32, 70, <EState.Trim: 1>, 'is tainted', True)
'>> [false,{}~'
'Exception malformed JSON data at position 9, "\'~\'"'
(32, 71, <EState.Trim: 1>, 'is tainted', True)
'>> [false,{}H'
'Exception malformed JSON data at position 9, "\'H\'"'
(32, 72, <EState.Trim: 1>, 'is tainted', True)
'>> [false,{}('
'Exception malformed JSON data at position 9, "\'(\'"'
(32, 73, <EState.Trim: 1>, 'is tainted', True)
'>> [false,{}r'
'Exception malformed JSON data at position 9, "\'r\'"'
(32, 74, <EState.Trim: 1>, 'is tainted', True)
'>> [false,{}O'
'Exception malformed JSON data at position 9, "\'O\'"'
(32, 75, <EState.Trim: 1>, 'is tainted', True)
'>> [false,{}:'
'Exception malformed JSON data at position 9, "\':\'"'
(32, 76, <EState.Trim: 1>, 'is tainted', True)
'>> [false,{}]'