flatbuffers/tests
Wouter van Oortmerssen 8b92122f33 Made the verifier catch zero-offsets.
Zero offsets are non-sensical in FlatBuffers (since offsets are
relative to themselves) but were allowed by the verifier. This could
cause buffers made up of all zeroes to be interpreted as correct
buffers with an empty root object.

Generally, not allowing such offsets will make the verifier more
likely to catch problems earlier.

Change-Id: I54010bea29721b326ff8e5348fcd9fe78e5e7506
Tested: on Linux.
2017-04-26 14:26:18 -07:00
..
FlatBuffers.Test Support binary search for struct in cpp (#4245) 2017-03-29 09:51:12 -07:00
MyGame Added missing generated code for C# 2017-03-29 11:51:02 -07:00
fuzzer Add simple libfuzzer based test. 2016-05-25 17:25:40 -07:00
namespace_test Made the verifier catch zero-offsets. 2017-04-26 14:26:18 -07:00
prototest Added support for imports and many other .proto features. 2015-10-13 14:01:55 -07:00
union_vector Made the verifier catch zero-offsets. 2017-04-26 14:26:18 -07:00
GoTest.sh Make most of the Go code comply with gofmt (except enums). 2016-08-02 18:21:47 +02:00
JavaScriptTest.js TS tests fixes (#4265) 2017-04-21 09:29:42 -07:00
JavaScriptTest.sh TS tests fixes (#4265) 2017-04-21 09:29:42 -07:00
JavaTest.bat Fix to #360 - Updated the general generator (Java/C#) to emit fully qualified names where the referenced object isn't directly in this namespace. Added test fbs files to verify compilation. 2015-12-05 13:42:09 -05:00
JavaTest.java Merge pull request #3978 from TGIshib/key 2016-08-26 12:03:28 -07:00
JavaTest.sh Use the find -exec instead of find ... | xargs otherwise when there is error log in the output of the build. 2016-09-06 23:28:22 +02:00
PythonTest.sh Made .sh files all have same comment formatting. 2016-05-23 14:08:21 -07:00
TypeScriptTest.sh TS tests fixes (#4265) 2017-04-21 09:29:42 -07:00
generate_code.bat Switched C# accessors from classes to structs 2016-08-31 17:34:51 -07:00
generate_code.sh TS tests fixes (#4265) 2017-04-21 09:29:42 -07:00
go_test.go go: fix unknown field 'UOffset' to 'Pos' 2017-01-22 20:16:52 +09:00
include_test1.fbs Schemas now support include files. 2014-08-19 16:44:14 -07:00
include_test2.fbs Referring to types from other namespaces in C++ now works correctly. 2014-08-19 17:20:08 -07:00
monster_test.bfbs Added support for structs and strings in unions. 2017-04-12 17:47:47 -07:00
monster_test.fbs Support binary search for struct in cpp (#4245) 2017-03-29 09:51:12 -07:00
monster_test.grpc.fb.cc Fixed GRPC method name generation. 2017-01-09 15:54:31 -08:00
monster_test.grpc.fb.h Re-applied reverted fix, adding missing codegen files. 2017-01-04 10:41:31 -08:00
monster_test_generated.h Made the verifier catch zero-offsets. 2017-04-26 14:26:18 -07:00
monster_test_generated.js Support binary search for struct in cpp (#4245) 2017-03-29 09:51:12 -07:00
monster_test_generated.ts TypeScript support (#4232) 2017-04-10 10:01:13 -07:00
monsterdata_python_wire.mon Re-applied reverted fix, adding missing codegen files. 2017-01-04 10:41:31 -08:00
monsterdata_test.golden Added the hash attribute to ints and longs. 2015-02-17 14:10:18 -08:00
monsterdata_test.json Allow JSON numeric fields to be specified by a numeric data in a string. 2016-03-07 17:22:51 -08:00
monsterdata_test.mon Support binary search for struct in cpp (#4245) 2017-03-29 09:51:12 -07:00
phpTest.php Implement __vector_as_bytes and methods to get [ubyte] efficiently 2016-03-29 14:56:09 +11:00
py_test.py Merge pull request #363 from danring/fix-341 2016-07-22 15:12:35 -07:00
test.cpp [C++] fix bounds checking on integer parsing (#4250) 2017-04-17 11:19:43 -07:00
unicode_test.json Add UTF-8 support to the JavaScript API 2015-10-14 23:07:40 -07:00