First release of open-appsec source code

This commit is contained in:
roybarda
2022-10-26 19:33:19 +03:00
parent 3883109caf
commit a883352f79
1353 changed files with 276290 additions and 1 deletions

View File

@@ -0,0 +1 @@
{ "glossary": { /* you */ "title": /**/ "example glossary", /*should*/"GlossDiv": { "title": /*never*/"S", /*ever*/"GlossList": [ { "ID": "SGML", "SortAs": "SGML", "GlossTerm": "Standard Generalized Markup Language", "Acronym": "SGML", "Abbrev": "ISO 8879:1986", "GlossDef": "A meta-markup language, used to create markup languages such as DocBook.", /*see*/"GlossSeeAlso"/*this*/:/*coming*/[/*out*/"GML"/*of*/,/*the*/"XML"/*parser!*/, "markup"] /*hey*/}/*ho*/]/*hey*/}/*ho*/} } // and the parser won't even get this far, so chill. /* hah!

View File

@@ -0,0 +1,36 @@
map open '{'
key: 'glossary'
map open '{'
key: 'title'
string: 'example glossary'
key: 'GlossDiv'
map open '{'
key: 'title'
string: 'S'
key: 'GlossList'
array open '['
map open '{'
key: 'ID'
string: 'SGML'
key: 'SortAs'
string: 'SGML'
key: 'GlossTerm'
string: 'Standard Generalized Markup Language'
key: 'Acronym'
string: 'SGML'
key: 'Abbrev'
string: 'ISO 8879:1986'
key: 'GlossDef'
string: 'A meta-markup language, used to create markup languages such as DocBook.'
key: 'GlossSeeAlso'
array open '['
string: 'GML'
string: 'XML'
string: 'markup'
array close ']'
map close '}'
array close ']'
map close '}'
map close '}'
map close '}'
memory leaks: 0

View File

@@ -0,0 +1,11 @@
{
"this": "is", // ignore this
"really": "simple",
/* ignore
this
too * /
** //
(/
******/
"json": "right?"
}

View File

@@ -0,0 +1,9 @@
map open '{'
key: 'this'
string: 'is'
key: 'really'
string: 'simple'
key: 'json'
string: 'right?'
map close '}'
memory leaks: 0

View File

@@ -0,0 +1 @@
falsex

View File

@@ -0,0 +1,2 @@
bool: false
memory leaks: 0

View File

@@ -0,0 +1 @@
nullx

View File

@@ -0,0 +1,2 @@
null
memory leaks: 0

View File

@@ -0,0 +1 @@
truex

View File

@@ -0,0 +1,2 @@
bool: true
memory leaks: 0

View File

@@ -0,0 +1 @@
{ "123":

View File

@@ -0,0 +1,4 @@
map open '{'
key: '123'
parse error: premature EOF
memory leaks: 0

View File

@@ -0,0 +1 @@
1221 21

View File

@@ -0,0 +1,3 @@
integer: 1221
integer: 21
memory leaks: 0

View File

@@ -0,0 +1,3 @@
{}
{}

View File

@@ -0,0 +1,5 @@
map open '{'
map close '}'
map open '{'
map close '}'
memory leaks: 0

View File

@@ -0,0 +1,7 @@
{}
[]
[]
"sdfasd"
123
{ "123" : 123 }
3.1e124

View File

@@ -0,0 +1,14 @@
map open '{'
map close '}'
array open '['
array close ']'
array open '['
array close ']'
string: 'sdfasd'
integer: 123
map open '{'
key: '123'
integer: 123
map close '}'
double: 3.1e+124
memory leaks: 0

View File

@@ -0,0 +1 @@
[

View File

@@ -0,0 +1,2 @@
array open '['
memory leaks: 0

View File

@@ -0,0 +1 @@
"abc

View File

@@ -0,0 +1 @@
memory leaks: 0

View File

@@ -0,0 +1 @@
{

View File

@@ -0,0 +1,2 @@
map open '{'
memory leaks: 0

View File

@@ -0,0 +1 @@
[ "foo", "bar"

View File

@@ -0,0 +1,4 @@
array open '['
string: 'foo'
string: 'bar'
memory leaks: 0

View File

@@ -0,0 +1,6 @@
["foo",
"bar", "baz",
true,false,null,{"key":"value"},
[null,null,null,[]],
"\n\r\\"
]

View File

@@ -0,0 +1,22 @@
array open '['
string: 'foo'
string: 'bar'
string: 'baz'
bool: true
bool: false
null
map open '{'
key: 'key'
string: 'value'
map close '}'
array open '['
null
null
null
array open '['
array close ']'
array close ']'
string: '
\'
array close ']'

View File

@@ -0,0 +1 @@
]

View File

@@ -0,0 +1,2 @@
parse error: unallowed token at this point in JSON text
memory leaks: 0

View File

@@ -0,0 +1 @@
[ 9223372036854775807, -9223372036854775807 ]

View File

@@ -0,0 +1,5 @@
array open '['
integer: 9223372036854775807
integer: -9223372036854775807
array close ']'
memory leaks: 0

View File

@@ -0,0 +1,4 @@
["this","is","what","should","be",
"a happy bit of json",
"but someone, misspelled \"true\"", ture,
"who says JSON is easy for humans to generate?"]

View File

@@ -0,0 +1,10 @@
array open '['
string: 'this'
string: 'is'
string: 'what'
string: 'should'
string: 'be'
string: 'a happy bit of json'
string: 'but someone, misspelled "true"'
lexical error: invalid string in json text.
memory leaks: 0

View File

@@ -0,0 +1 @@
"\u004d\u0430\u4e8c\ud800\udf02"

View File

@@ -0,0 +1,2 @@
string: 'Mа𐌂'
memory leaks: 0

View File

@@ -0,0 +1 @@
[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[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]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]

File diff suppressed because it is too large Load Diff

View File

@@ -0,0 +1 @@
{ "glossary": { "title": "example glossary", "GlossDiv": { "title": "S", "GlossList": [ { "ID": "SGML", "SortAs": "SGML", "GlossTerm": "Standard Generalized Markup Language", "Acronym": "SGML", "Abbrev": "ISO 8879:1986", "GlossDef": "A meta-markup language, used to create markup languages such as DocBook.", "GlossSeeAlso": ["GML", "XML", "markup"] } ] } } }

View File

@@ -0,0 +1,36 @@
map open '{'
key: 'glossary'
map open '{'
key: 'title'
string: 'example glossary'
key: 'GlossDiv'
map open '{'
key: 'title'
string: 'S'
key: 'GlossList'
array open '['
map open '{'
key: 'ID'
string: 'SGML'
key: 'SortAs'
string: 'SGML'
key: 'GlossTerm'
string: 'Standard Generalized Markup Language'
key: 'Acronym'
string: 'SGML'
key: 'Abbrev'
string: 'ISO 8879:1986'
key: 'GlossDef'
string: 'A meta-markup language, used to create markup languages such as DocBook.'
key: 'GlossSeeAlso'
array open '['
string: 'GML'
string: 'XML'
string: 'markup'
array close ']'
map close '}'
array close ']'
map close '}'
map close '}'
map close '}'
memory leaks: 0

View File

@@ -0,0 +1 @@
[ 0.1e2, 1e1, 3.141569, 10000000000000e-10]

View File

@@ -0,0 +1,7 @@
array open '['
double: 10
double: 10
double: 3.14157
double: 1000
array close ']'
memory leaks: 0

View File

@@ -0,0 +1 @@
[0.00011999999999999999, 6E-06, 6E-06, 1E-06, 1E-06]

View File

@@ -0,0 +1,8 @@
array open '['
double: 0.00012
double: 6e-06
double: 6e-06
double: 1e-06
double: 1e-06
array close ']'
memory leaks: 0

View File

@@ -0,0 +1 @@
[]

View File

@@ -0,0 +1,3 @@
array open '['
array close ']'
memory leaks: 0

View File

@@ -0,0 +1 @@
""

View File

@@ -0,0 +1,2 @@
string: ''
memory leaks: 0

View File

@@ -0,0 +1,4 @@
["\u0414\u0430",
"\u041c\u0443",
"\u0415\u0431\u0430",
"\u041c\u0430\u0439\u043a\u0430\u0442\u0430"]

View File

@@ -0,0 +1,7 @@
array open '['
string: 'Да'
string: 'Му'
string: 'Еба'
string: 'Майката'
array close ']'
memory leaks: 0

View File

@@ -0,0 +1 @@
"\u0066\u006f\u006f\u0062\u0061\u0072"

View File

@@ -0,0 +1,2 @@
string: 'foobar'
memory leaks: 0

View File

@@ -0,0 +1 @@
false

View File

@@ -0,0 +1,2 @@
bool: false
memory leaks: 0

View File

@@ -0,0 +1 @@
falsex

View File

@@ -0,0 +1,3 @@
bool: false
parse error: trailing garbage
memory leaks: 0

View File

@@ -0,0 +1 @@
2009-10-20@20:38:21.539575

View File

@@ -0,0 +1,3 @@
integer: 2009
parse error: trailing garbage
memory leaks: 0

View File

@@ -0,0 +1 @@
nullx

View File

@@ -0,0 +1,3 @@
null
parse error: trailing garbage
memory leaks: 0

View File

@@ -0,0 +1 @@
truex

View File

@@ -0,0 +1,3 @@
bool: true
parse error: trailing garbage
memory leaks: 0

View File

@@ -0,0 +1,2 @@
{ "U+10ABCD": "􊯍" }

View File

@@ -0,0 +1,5 @@
map open '{'
key: 'U+10ABCD'
string: '􊯍'
map close '}'
memory leaks: 0

View File

@@ -0,0 +1 @@
9223372036854775808

View File

@@ -0,0 +1,2 @@
parse error: integer overflow
memory leaks: 0

View File

@@ -0,0 +1,3 @@
[ 1,2,3,4,5,6,7,
123456789 , -123456789,
2147483647, -2147483647 ]

View File

@@ -0,0 +1,14 @@
array open '['
integer: 1
integer: 2
integer: 3
integer: 4
integer: 5
integer: 6
integer: 7
integer: 123456789
integer: -123456789
integer: 2147483647
integer: -2147483647
array close ']'
memory leaks: 0

View File

@@ -0,0 +1 @@
["Да М<> Еба Майката"]

View File

@@ -0,0 +1,3 @@
array open '['
lexical error: invalid bytes in UTF8 string.
memory leaks: 0

View File

@@ -0,0 +1 @@
"\ud800"

View File

@@ -0,0 +1,2 @@
string: '?'
memory leaks: 0

View File

@@ -0,0 +1 @@
{ "bad thing": 01 }

View File

@@ -0,0 +1,5 @@
map open '{'
key: 'bad thing'
integer: 0
parse error: after key and value, inside map, I expect ',' or '}'
memory leaks: 0

View File

@@ -0,0 +1,7 @@
[
"foo", true,
true, "blue",
"baby where are you?", "oh boo hoo!",
-
]

View File

@@ -0,0 +1,9 @@
array open '['
string: 'foo'
bool: true
bool: true
string: 'blue'
string: 'baby where are you?'
string: 'oh boo hoo!'
lexical error: malformed number, a digit is required after the minus sign.
memory leaks: 0

View File

@@ -0,0 +1 @@
123456789

View File

@@ -0,0 +1,2 @@
integer: 123456789
memory leaks: 0

View File

@@ -0,0 +1 @@
-9223372036854775808

View File

@@ -0,0 +1,2 @@
parse error: integer overflow
memory leaks: 0

View File

@@ -0,0 +1 @@
}

View File

@@ -0,0 +1,2 @@
parse error: unallowed token at this point in JSON text
memory leaks: 0

View File

@@ -0,0 +1 @@
10.e2

View File

@@ -0,0 +1,2 @@
lexical error: malformed number, a digit is required after the decimal point.
memory leaks: 0

View File

@@ -0,0 +1 @@
10e

View File

@@ -0,0 +1,2 @@
lexical error: malformed number, a digit is required after the exponent.
memory leaks: 0

View File

@@ -0,0 +1,3 @@
{}
{}

View File

@@ -0,0 +1,4 @@
map open '{'
map close '}'
parse error: trailing garbage
memory leaks: 0

View File

@@ -0,0 +1 @@
{"CoreletAPIVersion":2,"CoreletType":"standalone","documentation":"A corelet that provides the capability to upload a folder<65>s contents into a user<65>s locker.","functions":[{"documentation":"Displays a dialog box that allows user to select a folder on the local system.","name":"ShowBrowseDialog","parameters":[{"documentation":"The callback function for results.","name":"callback","required":true,"type":"callback"}]},{"documentation":"Uploads all mp3 files in the folder provided.","name":"UploadFolder","parameters":[{"documentation":"The path to upload mp3 files from.","name":"path","required":true,"type":"string"},{"documentation":"The callback function for progress.","name":"callback","required":true,"type":"callback"}]},{"documentation":"Returns the server name to the current locker service.","name":"GetLockerService","parameters":[]},{"documentation":"Changes the name of the locker service.","name":"SetLockerService","parameters":[{"documentation":"The value of the locker service to set active.","name":"LockerService","required":true,"type":"string"}]},{"documentation":"Downloads locker files to the suggested folder.","name":"DownloadFile","parameters":[{"documentation":"The origin path of the locker file.","name":"path","required":true,"type":"string"},{"documentation":"The Window destination path of the locker file.","name":"destination","required":true,"type":"integer"},{"documentation":"The callback function for progress.","name":"callback","required":true,"type":"callback"}]}],"name":"LockerUploader","version":{"major":0,"micro":1,"minor":0},"versionString":"0.0.1"}

View File

@@ -0,0 +1,8 @@
map open '{'
key: 'CoreletAPIVersion'
integer: 2
key: 'CoreletType'
string: 'standalone'
key: 'documentation'
lexical error: invalid bytes in UTF8 string.
memory leaks: 0

View File

@@ -0,0 +1 @@
[ "foo", "bar"

View File

@@ -0,0 +1,5 @@
array open '['
string: 'foo'
string: 'bar'
parse error: premature EOF
memory leaks: 0

View File

@@ -0,0 +1 @@
null

View File

@@ -0,0 +1,2 @@
null
memory leaks: 0

View File

@@ -0,0 +1,5 @@
{
"boolean, true": true,
"boolean, false": false,
"null": null
}

View File

@@ -0,0 +1,9 @@
map open '{'
key: 'boolean, true'
bool: true
key: 'boolean, false'
bool: false
key: 'null'
null
map close '}'
memory leaks: 0

View File

@@ -0,0 +1,5 @@
{
"this": "is",
"really": "simple",
"json": "right?"
}

View File

@@ -0,0 +1,9 @@
map open '{'
key: 'this'
string: 'is'
key: 'really'
string: 'simple'
key: 'json'
string: 'right?'
map close '}'
memory leaks: 0

View File

@@ -0,0 +1,11 @@
{
"this": "is", // ignore this
"really": "simple",
/* ignore
this
too * /
** //
(/
******/
"json": "right?"
}

View File

@@ -0,0 +1,5 @@
map open '{'
key: 'this'
string: 'is'
lexical error: probable comment found in input text, comments are not enabled.
memory leaks: 0

Some files were not shown because too many files have changed in this diff Show More