FlatBuffers: Memory Efficient Serialization Library
728 matches across 9 categories. Click a row to expand file-level details.
| Severity | File | Line | Snippet |
|---|---|---|---|
| CRITICAL | tests/py_test.py | 2970 | MyGame.Example.NestedUnion.NestedUnionTest.NestedUnionTest.GetRootAs( |
| CRITICAL | tests/py_test.py | 2975 | MyGame.Example.NestedUnion.NestedUnionTest.NestedUnionTestT.InitFromObj( |
| CRITICAL | tests/py_test.py | 2990 | nestUnionDecodeTFromBuf = MyGame.Example.NestedUnion.NestedUnionTest.NestedUnionTestT.InitFromPackedBuf( |
| CRITICAL | tests/py_test.py | 3008 | nestUnionDecodeTFromBuf2 = MyGame.Example.NestedUnion.NestedUnionTest.NestedUnionTestT.InitFromPackedBuf( |
| CRITICAL | tests/MyGame/Example/NestedUnion/Any.py | 16 | return MyGame.Example.NestedUnion.Vec3.Vec3T.InitFromBuf(table.Bytes, table.Pos) |
| CRITICAL | tests/MyGame/Example/NestedUnion/Any.py | 19 | return MyGame.Example.NestedUnion.TestSimpleTableWithEnum.TestSimpleTableWithEnumT.InitFromBuf(table.Bytes, tabl |
| CRITICAL | tests/MyGame/Example/NestedUnion/Vec3.py | 175 | self.test3 = MyGame.Example.NestedUnion.Test.TestT.InitFromObj(vec3.Test3()) |
| CRITICAL | …in/java/com/google/flatbuffers/reflection/EnumVal.java | 42 | public com.google.flatbuffers.reflection.KeyValue attributesByKey(String key) { int o = __offset(14); return o != 0 ? |
| CRITICAL | …in/java/com/google/flatbuffers/reflection/EnumVal.java | 43 | public com.google.flatbuffers.reflection.KeyValue attributesByKey(com.google.flatbuffers.reflection.KeyValue obj, Stri |
| CRITICAL | …in/java/com/google/flatbuffers/reflection/EnumVal.java | 44 | public com.google.flatbuffers.reflection.KeyValue.Vector attributesVector() { return attributesVector(new com.google.f |
| CRITICAL | …ain/java/com/google/flatbuffers/reflection/Schema.java | 33 | public com.google.flatbuffers.reflection.Object objectsByKey(String key) { int o = __offset(4); return o != 0 ? com.go |
| CRITICAL | …ain/java/com/google/flatbuffers/reflection/Schema.java | 34 | public com.google.flatbuffers.reflection.Object objectsByKey(com.google.flatbuffers.reflection.Object obj, String key) |
| CRITICAL | …ain/java/com/google/flatbuffers/reflection/Schema.java | 35 | public com.google.flatbuffers.reflection.Object.Vector objectsVector() { return objectsVector(new com.google.flatbuffe |
| CRITICAL | …ain/java/com/google/flatbuffers/reflection/Schema.java | 40 | public com.google.flatbuffers.reflection.Enum enumsByKey(String key) { int o = __offset(6); return o != 0 ? com.google |
| CRITICAL | …ain/java/com/google/flatbuffers/reflection/Schema.java | 41 | public com.google.flatbuffers.reflection.Enum enumsByKey(com.google.flatbuffers.reflection.Enum obj, String key) { int |
| CRITICAL | …ain/java/com/google/flatbuffers/reflection/Schema.java | 42 | public com.google.flatbuffers.reflection.Enum.Vector enumsVector() { return enumsVector(new com.google.flatbuffers.ref |
| CRITICAL | …ain/java/com/google/flatbuffers/reflection/Schema.java | 55 | public com.google.flatbuffers.reflection.Service servicesByKey(String key) { int o = __offset(14); return o != 0 ? com |
| CRITICAL | …ain/java/com/google/flatbuffers/reflection/Schema.java | 56 | public com.google.flatbuffers.reflection.Service servicesByKey(com.google.flatbuffers.reflection.Service obj, String k |
| CRITICAL | …ain/java/com/google/flatbuffers/reflection/Schema.java | 57 | public com.google.flatbuffers.reflection.Service.Vector servicesVector() { return servicesVector(new com.google.flatbu |
| CRITICAL | …ain/java/com/google/flatbuffers/reflection/Schema.java | 67 | public com.google.flatbuffers.reflection.SchemaFile fbsFilesByKey(String key) { int o = __offset(18); return o != 0 ? |
| CRITICAL | …ain/java/com/google/flatbuffers/reflection/Schema.java | 68 | public com.google.flatbuffers.reflection.SchemaFile fbsFilesByKey(com.google.flatbuffers.reflection.SchemaFile obj, St |
| CRITICAL | …ain/java/com/google/flatbuffers/reflection/Schema.java | 69 | public com.google.flatbuffers.reflection.SchemaFile.Vector fbsFilesVector() { return fbsFilesVector(new com.google.fla |
| CRITICAL | …ain/java/com/google/flatbuffers/reflection/Object.java | 35 | public com.google.flatbuffers.reflection.Field fieldsByKey(String key) { int o = __offset(6); return o != 0 ? com.goog |
| CRITICAL | …ain/java/com/google/flatbuffers/reflection/Object.java | 36 | public com.google.flatbuffers.reflection.Field fieldsByKey(com.google.flatbuffers.reflection.Field obj, String key) { |
| CRITICAL | …ain/java/com/google/flatbuffers/reflection/Object.java | 37 | public com.google.flatbuffers.reflection.Field.Vector fieldsVector() { return fieldsVector(new com.google.flatbuffers. |
| CRITICAL | …ain/java/com/google/flatbuffers/reflection/Object.java | 45 | public com.google.flatbuffers.reflection.KeyValue attributesByKey(String key) { int o = __offset(14); return o != 0 ? |
| CRITICAL | …ain/java/com/google/flatbuffers/reflection/Object.java | 46 | public com.google.flatbuffers.reflection.KeyValue attributesByKey(com.google.flatbuffers.reflection.KeyValue obj, Stri |
| CRITICAL | …ain/java/com/google/flatbuffers/reflection/Object.java | 47 | public com.google.flatbuffers.reflection.KeyValue.Vector attributesVector() { return attributesVector(new com.google.f |
| CRITICAL | …in/java/com/google/flatbuffers/reflection/RPCCall.java | 39 | public com.google.flatbuffers.reflection.KeyValue attributesByKey(String key) { int o = __offset(10); return o != 0 ? |
| CRITICAL | …in/java/com/google/flatbuffers/reflection/RPCCall.java | 40 | public com.google.flatbuffers.reflection.KeyValue attributesByKey(com.google.flatbuffers.reflection.KeyValue obj, Stri |
| CRITICAL | …in/java/com/google/flatbuffers/reflection/RPCCall.java | 41 | public com.google.flatbuffers.reflection.KeyValue.Vector attributesVector() { return attributesVector(new com.google.f |
| CRITICAL | …in/java/com/google/flatbuffers/reflection/Service.java | 35 | public com.google.flatbuffers.reflection.RPCCall callsByKey(String key) { int o = __offset(6); return o != 0 ? com.goo |
| CRITICAL | …in/java/com/google/flatbuffers/reflection/Service.java | 36 | public com.google.flatbuffers.reflection.RPCCall callsByKey(com.google.flatbuffers.reflection.RPCCall obj, String key) |
| CRITICAL | …in/java/com/google/flatbuffers/reflection/Service.java | 37 | public com.google.flatbuffers.reflection.RPCCall.Vector callsVector() { return callsVector(new com.google.flatbuffers. |
| CRITICAL | …in/java/com/google/flatbuffers/reflection/Service.java | 42 | public com.google.flatbuffers.reflection.KeyValue attributesByKey(String key) { int o = __offset(8); return o != 0 ? c |
| CRITICAL | …in/java/com/google/flatbuffers/reflection/Service.java | 43 | public com.google.flatbuffers.reflection.KeyValue attributesByKey(com.google.flatbuffers.reflection.KeyValue obj, Stri |
| CRITICAL | …in/java/com/google/flatbuffers/reflection/Service.java | 44 | public com.google.flatbuffers.reflection.KeyValue.Vector attributesVector() { return attributesVector(new com.google.f |
| CRITICAL | …/main/java/com/google/flatbuffers/reflection/Enum.java | 35 | public com.google.flatbuffers.reflection.EnumVal valuesByKey(long key) { int o = __offset(6); return o != 0 ? com.goog |
| CRITICAL | …/main/java/com/google/flatbuffers/reflection/Enum.java | 36 | public com.google.flatbuffers.reflection.EnumVal valuesByKey(com.google.flatbuffers.reflection.EnumVal obj, long key) |
| CRITICAL | …/main/java/com/google/flatbuffers/reflection/Enum.java | 37 | public com.google.flatbuffers.reflection.EnumVal.Vector valuesVector() { return valuesVector(new com.google.flatbuffer |
| CRITICAL | …/main/java/com/google/flatbuffers/reflection/Enum.java | 45 | public com.google.flatbuffers.reflection.KeyValue attributesByKey(String key) { int o = __offset(12); return o != 0 ? |
| CRITICAL | …/main/java/com/google/flatbuffers/reflection/Enum.java | 46 | public com.google.flatbuffers.reflection.KeyValue attributesByKey(com.google.flatbuffers.reflection.KeyValue obj, Stri |
| CRITICAL | …/main/java/com/google/flatbuffers/reflection/Enum.java | 47 | public com.google.flatbuffers.reflection.KeyValue.Vector attributesVector() { return attributesVector(new com.google.f |
| CRITICAL | …main/java/com/google/flatbuffers/reflection/Field.java | 44 | public com.google.flatbuffers.reflection.KeyValue attributesByKey(String key) { int o = __offset(22); return o != 0 ? |
| CRITICAL | …main/java/com/google/flatbuffers/reflection/Field.java | 45 | public com.google.flatbuffers.reflection.KeyValue attributesByKey(com.google.flatbuffers.reflection.KeyValue obj, Stri |
| CRITICAL | …main/java/com/google/flatbuffers/reflection/Field.java | 46 | public com.google.flatbuffers.reflection.KeyValue.Vector attributesVector() { return attributesVector(new com.google.f |
| Severity | File | Line | Snippet |
|---|---|---|---|
| LOW | net/FlatBuffers/FlatBufferVerify.cs | 761 | uint valueOffset = GetIndirectOffset(off); |
| LOW | net/FlatBuffers/FlatBufferVerify.cs | 781 | // /* Verify Monster table. Ignore buffer name and assume buffer does not contain data length prefix */ |
| LOW | net/FlatBuffers/FlatBufferBuilder.cs | 41 | private int _vtableSize = -1; |
| LOW | net/FlatBuffers/FlatBufferBuilder.cs | 201 | /// <summary> |
| LOW | net/FlatBuffers/FlatBufferBuilder.cs | 261 | /// <param name="x">The `bool` to add to the buffer.</param> |
| LOW | net/FlatBuffers/FlatBufferBuilder.cs | 281 | |
| LOW | net/FlatBuffers/FlatBufferBuilder.cs | 301 | /// Add a `long` to the buffer (aligns the data and grows if necessary). |
| LOW | net/FlatBuffers/FlatBufferBuilder.cs | 521 | /// <summary> |
| LOW | net/FlatBuffers/FlatBufferBuilder.cs | 541 | /// </summary> |
| LOW | net/FlatBuffers/FlatBufferBuilder.cs | 561 | /// and <see cref="ForceDefaults"/> is false, the value will be skipped.</param> |
| LOW | net/FlatBuffers/FlatBufferBuilder.cs | 581 | |
| LOW | net/FlatBuffers/FlatBufferBuilder.cs | 601 | /// </summary> |
| LOW | net/FlatBuffers/FlatBufferBuilder.cs | 621 | /// it will skip writing to the buffer.</param> |
| LOW | net/FlatBuffers/FlatBufferBuilder.cs | 641 | /// <summary> |
| LOW | net/FlatBuffers/FlatBufferBuilder.cs | 661 | /// <param name="o">The index into the vtable</param> |
| LOW | net/FlatBuffers/FlatBufferBuilder.cs | 681 | /// <param name="d">The default value to compare the value against</param> |
| LOW | net/FlatBuffers/FlatBufferBuilder.cs | 701 | /// <summary> |
| LOW | net/FlatBuffers/FlatBufferBuilder.cs | 921 | } |
| LOW | net/FlatBuffers/FlatBufferBuilder.cs | 941 | /// </remarks> |
| LOW | net/FlatBuffers/FlatBufferBuilder.cs | 961 | /// A utility function return the ByteBuffer data as a |
| LOW | net/FlatBuffers/FlatBufferBuilder.cs | 1001 | } |
| LOW | net/FlatBuffers/FlatBufferBuilder.cs | 1021 | /// Finalize a buffer, pointing to the given `rootTable`, with the size prefixed. |
| LOW | net/FlatBuffers/ByteBuffer.cs | 21 | // can yield a reasonable performance increase. |
| LOW | net/FlatBuffers/ByteBuffer.cs | 981 | #endif |
| LOW | go/builder.go | 101 | // vtable and return. |
| LOW | python/setup.py | 1 | # Copyright 2016 Google Inc. All rights reserved. |
| LOW | python/flatbuffers/number_types.py | 1 | # Copyright 2014 Google Inc. All rights reserved. |
| LOW | python/flatbuffers/encode.py | 1 | # Copyright 2014 Google Inc. All rights reserved. |
| LOW | python/flatbuffers/compat.py | 1 | # Copyright 2016 Google Inc. All rights reserved. |
| LOW | python/flatbuffers/_version.py | 1 | # Copyright 2019 Google Inc. All rights reserved. |
| LOW | python/flatbuffers/util.py | 1 | # Copyright 2017 Google Inc. All rights reserved. |
| LOW | python/flatbuffers/__init__.py | 1 | # Copyright 2014 Google Inc. All rights reserved. |
| LOW | python/flatbuffers/packer.py | 1 | # Copyright 2016 Google Inc. All rights reserved. |
| LOW | python/flatbuffers/builder.py | 1 | # Copyright 2014 Google Inc. All rights reserved. |
| LOW | python/flatbuffers/flexbuffers.py | 1 | # Lint as: python3 |
| LOW | python/flatbuffers/table.py | 1 | # Copyright 2014 Google Inc. All rights reserved. |
| LOW | grpc/examples/go/format.sh | 1 | #!/bin/bash |
| LOW | grpc/src/compiler/cpp_generator.h | 1 | #ifndef GRPC_INTERNAL_COMPILER_CPP_GENERATOR_H |
| LOW | grpc/src/compiler/go_generator.h | 1 | #ifndef GRPC_INTERNAL_COMPILER_GO_GENERATOR_H |
| LOW | grpc/src/compiler/java_generator.h | 41 | #if defined(_MSC_VER) |
| LOW | dart/publish.sh | 1 | #!/bin/sh |
| LOW | dart/lib/flat_buffers.dart | 121 | /// The maximum alignment that has been seen so far. If [_buf] has to be |
| LOW | include/codegen/namer.h | 41 | Case types; |
| LOW | include/codegen/namer.h | 81 | // Object API. |
| LOW | include/flatbuffers/idl.h | 21 | #include <functional> |
| LOW | include/flatbuffers/idl.h | 61 | TD(FLOAT, "float", float, float, float32, float, float32, f32, Float, Float32, 11) /* begin float */ \ |
| LOW | include/flatbuffers/idl.h | 1041 | } |
| LOW | include/flatbuffers/flatbuffers.h | 21 | |
| LOW | include/flatbuffers/flatbuffers.h | 41 | /// it is the opposite transformation of GetRoot(). |
| LOW | include/flatbuffers/flatbuffers.h | 101 | /// back again. The resolver gets a pointer to a field inside an object API |
| LOW | include/flatbuffers/flatbuffers.h | 141 | // Additionally, it manually sets the alignment of the struct as a whole, |
| LOW | include/flatbuffers/flatbuffers.h | 161 | #else |
| LOW | include/flatbuffers/flexbuffers.h | 21 | #include <map> |
| LOW | include/flatbuffers/flexbuffers.h | 161 | // This is the "hottest" function (all offset lookups use this), so worth |
| LOW | include/flatbuffers/flexbuffers.h | 1261 | // We should have interleaved keys and values on the stack. |
| LOW | include/flatbuffers/flexbuffers.h | 1281 | // std::sort is typically already a lot faster on sorted data though. |
| LOW | include/flatbuffers/flexbuffers.h | 1441 | |
| LOW | include/flatbuffers/flexbuffers.h | 2081 | |
| LOW | include/flatbuffers/minireflect.h | 21 | #include "flatbuffers/util.h" |
| LOW | include/flatbuffers/util.h | 21 | #include <errno.h> |
| 267 more matches not shown… | |||
| Severity | File | Line | Snippet |
|---|---|---|---|
| HIGH | python/flatbuffers/reflection/Field.py | 0 | this method is deprecated. please switch to getrootas. |
| HIGH | python/flatbuffers/reflection/Service.py | 0 | this method is deprecated. please switch to getrootas. |
| HIGH | python/flatbuffers/reflection/KeyValue.py | 0 | this method is deprecated. please switch to getrootas. |
| HIGH | python/flatbuffers/reflection/Object.py | 0 | this method is deprecated. please switch to getrootas. |
| HIGH | python/flatbuffers/reflection/Type.py | 0 | this method is deprecated. please switch to getrootas. |
| HIGH | python/flatbuffers/reflection/SchemaFile.py | 0 | this method is deprecated. please switch to getrootas. |
| HIGH | python/flatbuffers/reflection/RPCCall.py | 0 | this method is deprecated. please switch to getrootas. |
| HIGH | python/flatbuffers/reflection/EnumVal.py | 0 | this method is deprecated. please switch to getrootas. |
| HIGH | python/flatbuffers/reflection/Enum.py | 0 | this method is deprecated. please switch to getrootas. |
| HIGH | python/flatbuffers/reflection/Schema.py | 0 | this method is deprecated. please switch to getrootas. |
| HIGH | grpc/examples/python/greeter/models/HelloReply.py | 0 | this method is deprecated. please switch to getrootas. |
| HIGH | grpc/examples/python/greeter/models/HelloRequest.py | 0 | this method is deprecated. please switch to getrootas. |
| HIGH | tests/service_test_generated.py | 0 | this method is deprecated. please switch to getrootas. |
| HIGH | tests/service_test_generated.py | 0 | this method is deprecated. please switch to getrootas. |
| HIGH | tests/monster_test_generated.py | 0 | this method is deprecated. please switch to getrootas. |
| HIGH | tests/monster_test_generated.py | 0 | this method is deprecated. please switch to getrootas. |
| HIGH | tests/monster_test_generated.py | 0 | this method is deprecated. please switch to getrootas. |
| HIGH | tests/monster_test_generated.py | 0 | this method is deprecated. please switch to getrootas. |
| HIGH | tests/monster_test_generated.py | 0 | this method is deprecated. please switch to getrootas. |
| HIGH | tests/monster_test_generated.py | 0 | this method is deprecated. please switch to getrootas. |
| HIGH | tests/monster_test_generated.py | 0 | this method is deprecated. please switch to getrootas. |
| HIGH | tests/namespace_test/NamespaceC/TableInC.py | 0 | this method is deprecated. please switch to getrootas. |
| HIGH | tests/namespace_test/NamespaceA/TableInFirstNS.py | 0 | this method is deprecated. please switch to getrootas. |
| HIGH | tests/namespace_test/NamespaceA/SecondTableInA.py | 0 | this method is deprecated. please switch to getrootas. |
| HIGH | …amespace_test/NamespaceA/NamespaceB/TableInNestedNS.py | 0 | this method is deprecated. please switch to getrootas. |
| HIGH | tests/union_name_test/Container.py | 0 | this method is deprecated. please switch to getrootas. |
| HIGH | tests/union_name_test/Bar.py | 0 | this method is deprecated. please switch to getrootas. |
| HIGH | tests/union_name_test/Foo.py | 0 | this method is deprecated. please switch to getrootas. |
| HIGH | tests/optional_scalars/ScalarStuff.py | 0 | this method is deprecated. please switch to getrootas. |
| HIGH | tests/MyGame/MonsterExtra.py | 0 | this method is deprecated. please switch to getrootas. |
| HIGH | tests/MyGame/InParentNamespace.py | 0 | this method is deprecated. please switch to getrootas. |
| HIGH | tests/MyGame/Example2/Monster.py | 0 | this method is deprecated. please switch to getrootas. |
| HIGH | tests/MyGame/Example/Referrable.py | 0 | this method is deprecated. please switch to getrootas. |
| HIGH | tests/MyGame/Example/ArrayTable.py | 0 | this method is deprecated. please switch to getrootas. |
| HIGH | tests/MyGame/Example/Stat.py | 0 | this method is deprecated. please switch to getrootas. |
| HIGH | tests/MyGame/Example/Monster.py | 0 | this method is deprecated. please switch to getrootas. |
| HIGH | tests/MyGame/Example/TestSimpleTableWithEnum.py | 0 | this method is deprecated. please switch to getrootas. |
| HIGH | tests/MyGame/Example/TypeAliases.py | 0 | this method is deprecated. please switch to getrootas. |
| HIGH | tests/MyGame/Example/NestedUnion/NestedUnionTest.py | 0 | this method is deprecated. please switch to getrootas. |
| HIGH | …/MyGame/Example/NestedUnion/TestSimpleTableWithEnum.py | 0 | this method is deprecated. please switch to getrootas. |
| HIGH | tests/MyGame/Example/NestedUnion/Vec3.py | 0 | this method is deprecated. please switch to getrootas. |
| HIGH | goldens/py/flatbuffers/goldens/Galaxy.py | 0 | this method is deprecated. please switch to getrootas. |
| HIGH | goldens/py/flatbuffers/goldens/Universe.py | 0 | this method is deprecated. please switch to getrootas. |
| Severity | File | Line | Snippet |
|---|---|---|---|
| LOW | tests/py_flexbuffers_test.py | 696 | def _check_fixed_typed_vector(self, data, vector, type_): |
| LOW | tests/py_flexbuffers_test.py | 710 | def test_fixed_typed_vector_float(self): |
| LOW | tests/py_flexbuffers_test.py | 731 | def test_fixed_typed_vector_int(self): |
| LOW | tests/py_flexbuffers_test.py | 751 | def test_fixed_typed_vector_uint(self): |
| LOW | tests/py_flexbuffers_test.py | 929 | def test_typed_vector_string_deprecated(self): |
| LOW | tests/py_flexbuffers_test.py | 942 | def test_typed_vector_invalid(self): |
| LOW | tests/py_flexbuffers_test.py | 1236 | def encode_vector_from_elements(elements): |
| LOW | tests/py_flexbuffers_test.py | 1292 | def encode_typed_vector_from_elements(elements, element_type=None): |
| LOW | tests/py_flexbuffers_test.py | 1335 | def test_typed_vector_from_array(self): |
| LOW | tests/py_flexbuffers_test.py | 1361 | def encode_fixed_typed_vector(elements, element_type=None): |
| LOW | tests/luatest.lua | 285 | local function testAccessByteVectorAsString() |
| LOW | tests/py_test.py | 485 | def test_mutate_testarrayofstring(self): |
| LOW | tests/py_test.py | 493 | def test_empty_testarrayofstring(self): |
| LOW | tests/py_test.py | 498 | def test_mutate_testarrayoftables(self): |
| LOW | tests/py_test.py | 558 | def test_mutate_testarrayofbools(self): |
| LOW | tests/py_test.py | 568 | def test_empty_testarrayofbools(self): |
| LOW | tests/py_test.py | 578 | def test_mutate_vectoroflongs(self): |
| LOW | tests/py_test.py | 597 | def test_mutate_vectorofdoubles(self): |
| LOW | tests/py_test.py | 607 | def test_empty_vectorofdoubles(self): |
| LOW | tests/py_test.py | 612 | def test_mutate_parentnamespacetest(self): |
| LOW | tests/py_test.py | 2332 | def test_default_monster_name(self): |
| LOW | tests/py_test.py | 2335 | def test_default_monster_inventory_item(self): |
| LOW | tests/py_test.py | 2338 | def test_default_monster_inventory_length(self): |
| LOW | tests/py_test.py | 2342 | def test_empty_monster_inventory_vector(self): |
| LOW | tests/py_test.py | 2391 | def test_default_monster_testarrayofstring(self): |
| LOW | tests/py_test.py | 2394 | def test_default_monster_testarrayofstring_length(self): |
| LOW | tests/py_test.py | 2398 | def test_empty_monster_testarrayofstring_vector(self): |
| LOW | tests/py_test.py | 2474 | def test_default_monster_testnestedflatbuffer(self): |
| LOW | tests/py_test.py | 2477 | def test_default_monster_testnestedflatbuffer_length(self): |
| LOW | tests/py_test.py | 2481 | def test_empty_monster_testnestedflatbuffer_vector(self): |
| LOW | tests/py_test.py | 2811 | def test_object_is_nested_error(self): |
| LOW | tests/py_test.py | 2818 | def test_object_is_not_nested_error(self): |
| LOW | tests/py_test.py | 2824 | def test_struct_is_not_inline_error(self): |
| LOW | tests/py_test.py | 2841 | def test_create_shared_string_is_nested_error(self): |
| LOW | tests/py_test.py | 2849 | def test_create_string_is_nested_error(self): |
| LOW | tests/py_test.py | 2857 | def test_create_byte_vector_is_nested_error(self): |
| LOW | tests/py_test.py | 2865 | def test_finished_bytes_error(self): |
| LOW | tests/py_test.py | 64 | def create_namespace_shortcut(is_onefile): |
| LOW | tests/py_test.py | 160 | def test_consistency_with_repeated_pack_and_unpack(self): |
| LOW | tests/py_test.py | 195 | def test_default_values_with_pack_and_unpack(self): |
| LOW | tests/py_test.py | 310 | def test_optional_scalars_with_pack_and_unpack(self): |
| LOW | tests/py_test.py | 371 | def _create_and_load_object_class(self, b): |
| LOW | tests/py_test.py | 510 | def test_empty_testarrayoftables(self): |
| LOW | tests/py_test.py | 522 | def test_mutate_testnestedflatbuffer(self): |
| LOW | tests/py_test.py | 529 | def test_empty_testnestedflatbuffer(self): |
| LOW | tests/py_test.py | 1056 | def test_create_ascii_shared_string(self): |
| LOW | tests/py_test.py | 1112 | def test_create_arbitrary_shared_string(self): |
| LOW | tests/py_test.py | 1179 | def test_create_arbitrary_string(self): |
| LOW | tests/py_test.py | 1203 | def test_comparison_of_np_arrays(self): |
| LOW | tests/py_test.py | 1579 | def test_create_numpy_vector_bool(self): |
| LOW | tests/py_test.py | 1610 | def test_create_numpy_vector_reject_strings(self): |
| LOW | tests/py_test.py | 1628 | def test_create_numpy_vector_reject_object(self): |
| LOW | tests/py_test.py | 1653 | def test_vtable_with_one_true_bool(self): |
| LOW | tests/py_test.py | 1680 | def test_vtable_with_one_default_bool(self): |
| LOW | tests/py_test.py | 1783 | def test_vtable_with_empty_vector(self): |
| LOW | tests/py_test.py | 1814 | def test_vtable_with_empty_vector_of_byte_and_some_scalars(self): |
| LOW | tests/py_test.py | 1975 | def test_table_with_some_elements(self): |
| LOW | tests/py_test.py | 2009 | def test__one_unfinished_table_and_one_finished_table(self): |
| LOW | tests/py_test.py | 2196 | def make_monster_from_generated_code( |
| LOW | tests/py_test.py | 2276 | def test_default_force_defaults(self): |
| 124 more matches not shown… | |||
| Severity | File | Line | Snippet |
|---|---|---|---|
| LOW | python/flatbuffers/number_types.py | 15 | |
| LOW | python/flatbuffers/encode.py | 15 | |
| LOW | python/flatbuffers/encode.py | 16 | |
| LOW | python/flatbuffers/__init__.py | 15 | |
| LOW | python/flatbuffers/__init__.py | 16 | |
| LOW | python/flatbuffers/__init__.py | 17 | |
| LOW | python/flatbuffers/__init__.py | 18 | |
| LOW | python/flatbuffers/__init__.py | 19 | |
| LOW | python/flatbuffers/builder.py | 21 | |
| LOW | python/flatbuffers/builder.py | 23 | |
| LOW | grpc/tests/grpctest.py | 1 | |
| LOW | grpc/examples/python/greeter/greeter_grpc.fb.py | 3 | |
| LOW | grpc/examples/python/greeter/greeter_grpc.fb.py | 5 | |
| LOW | grpc/examples/python/greeter/greeter_grpc.fb.py | 6 | |
| LOW | grpc/examples/python/greeter/models/greeter_grpc_fb.py | 3 | |
| LOW | grpc/examples/python/greeter/models/greeter_grpc_fb.py | 6 | |
| LOW | grpc/examples/python/greeter/models/greeter_grpc_fb.py | 7 | |
| LOW | tests/monster_test_generated.py | 411 | |
| LOW | tests/monster_test_generated.py | 573 | |
| LOW | tests/monster_test_generated.py | 656 | |
| LOW | tests/monster_test_generated.py | 2120 | |
| LOW | tests/monster_test_generated.py | 2120 | |
| LOW | tests/monster_test_generated.py | 2936 | |
| LOW | tests/py_test.py | 3329 | |
| LOW | tests/namespace_test/NamespaceC/TableInC.py | 88 | |
| LOW | tests/namespace_test/NamespaceA/TableInFirstNS.py | 143 | |
| LOW | tests/namespace_test/NamespaceA/SecondTableInA.py | 68 | |
| LOW | tests/flatc/flatc_kotlin_tests.py | 15 | |
| LOW | tests/flatc/flatc_cpp_tests.py | 15 | |
| LOW | tests/flatc/flatc_schema_tests.py | 16 | |
| LOW | tests/flatc/flatc_ts_tests.py | 15 | |
| LOW | tests/optional_scalars/ScalarStuff.py | 512 | |
| LOW | tests/ts/TypeScriptTest.py | 19 | |
| LOW | tests/ts/TypeScriptTest.py | 21 | |
| LOW | tests/MyGame/MonsterExtra.py | 248 | |
| LOW | tests/MyGame/Example/ArrayStruct.py | 7 | |
| LOW | tests/MyGame/Example/ArrayStruct.py | 110 | |
| LOW | tests/MyGame/Example/NestedStruct.py | 7 | |
| LOW | tests/MyGame/Example/NestedStruct.py | 100 | |
| LOW | tests/MyGame/Example/StructOfStructsOfStructs.py | 43 | |
| LOW | tests/MyGame/Example/StructOfStructs.py | 53 | |
| LOW | tests/MyGame/Example/Monster.py | 1575 | |
| LOW | tests/MyGame/Example/Monster.py | 1575 | |
| LOW | tests/MyGame/Example/LargeArrayStruct.py | 7 | |
| LOW | tests/MyGame/Example/LargeArrayStruct.py | 145 | |
| LOW | tests/MyGame/Example/TypeAliases.py | 272 | |
| LOW | tests/MyGame/Example/Vec3.py | 54 | |
| LOW | tests/MyGame/Example/NestedUnion/Test.py | 7 | |
| LOW | …/MyGame/Example/NestedUnion/TestSimpleTableWithEnum.py | 7 |
| Severity | File | Line | Snippet |
|---|---|---|---|
| MEDIUM | python/flatbuffers/reflection/Field.py | 21 | """This method is deprecated. Please switch to GetRootAs.""" |
| MEDIUM | python/flatbuffers/reflection/Service.py | 21 | """This method is deprecated. Please switch to GetRootAs.""" |
| MEDIUM | python/flatbuffers/reflection/KeyValue.py | 21 | """This method is deprecated. Please switch to GetRootAs.""" |
| MEDIUM | python/flatbuffers/reflection/Object.py | 21 | """This method is deprecated. Please switch to GetRootAs.""" |
| MEDIUM | python/flatbuffers/reflection/Type.py | 21 | """This method is deprecated. Please switch to GetRootAs.""" |
| MEDIUM | python/flatbuffers/reflection/SchemaFile.py | 24 | """This method is deprecated. Please switch to GetRootAs.""" |
| MEDIUM | python/flatbuffers/reflection/RPCCall.py | 21 | """This method is deprecated. Please switch to GetRootAs.""" |
| MEDIUM | python/flatbuffers/reflection/EnumVal.py | 21 | """This method is deprecated. Please switch to GetRootAs.""" |
| MEDIUM | python/flatbuffers/reflection/Enum.py | 21 | """This method is deprecated. Please switch to GetRootAs.""" |
| MEDIUM | python/flatbuffers/reflection/Schema.py | 21 | """This method is deprecated. Please switch to GetRootAs.""" |
| MEDIUM | grpc/examples/python/greeter/models/HelloReply.py | 21 | """This method is deprecated. Please switch to GetRootAs.""" |
| MEDIUM | grpc/examples/python/greeter/models/HelloRequest.py | 21 | """This method is deprecated. Please switch to GetRootAs.""" |
| MEDIUM | tests/service_test_generated.py | 18 | """This method is deprecated. Please switch to GetRootAs.""" |
| MEDIUM | tests/service_test_generated.py | 44 | """This method is deprecated. Please switch to GetRootAs.""" |
| MEDIUM | tests/monster_test_generated.py | 101 | """This method is deprecated. Please switch to GetRootAs.""" |
| MEDIUM | tests/monster_test_generated.py | 168 | """This method is deprecated. Please switch to GetRootAs.""" |
| MEDIUM | tests/monster_test_generated.py | 299 | """This method is deprecated. Please switch to GetRootAs.""" |
| MEDIUM | tests/monster_test_generated.py | 710 | """This method is deprecated. Please switch to GetRootAs.""" |
| MEDIUM | tests/monster_test_generated.py | 821 | """This method is deprecated. Please switch to GetRootAs.""" |
| MEDIUM | tests/monster_test_generated.py | 902 | """This method is deprecated. Please switch to GetRootAs.""" |
| MEDIUM | tests/monster_test_generated.py | 2738 | """This method is deprecated. Please switch to GetRootAs.""" |
| MEDIUM | tests/py_test.py | 2903 | # Create a table with the ArrayStruct. |
| MEDIUM | tests/namespace_test/NamespaceC/TableInC.py | 23 | """This method is deprecated. Please switch to GetRootAs.""" |
| MEDIUM | tests/namespace_test/NamespaceA/TableInFirstNS.py | 23 | """This method is deprecated. Please switch to GetRootAs.""" |
| MEDIUM | tests/namespace_test/NamespaceA/SecondTableInA.py | 23 | """This method is deprecated. Please switch to GetRootAs.""" |
| MEDIUM | …amespace_test/NamespaceA/NamespaceB/TableInNestedNS.py | 23 | """This method is deprecated. Please switch to GetRootAs.""" |
| MEDIUM | tests/union_name_test/Container.py | 21 | """This method is deprecated. Please switch to GetRootAs.""" |
| MEDIUM | tests/union_name_test/Bar.py | 21 | """This method is deprecated. Please switch to GetRootAs.""" |
| MEDIUM | tests/union_name_test/Foo.py | 21 | """This method is deprecated. Please switch to GetRootAs.""" |
| MEDIUM | tests/optional_scalars/ScalarStuff.py | 21 | """This method is deprecated. Please switch to GetRootAs.""" |
| MEDIUM | tests/MyGame/MonsterExtra.py | 23 | """This method is deprecated. Please switch to GetRootAs.""" |
| MEDIUM | tests/MyGame/InParentNamespace.py | 21 | """This method is deprecated. Please switch to GetRootAs.""" |
| MEDIUM | tests/MyGame/Example2/Monster.py | 21 | """This method is deprecated. Please switch to GetRootAs.""" |
| MEDIUM | tests/MyGame/Example/Referrable.py | 21 | """This method is deprecated. Please switch to GetRootAs.""" |
| MEDIUM | tests/MyGame/Example/ArrayTable.py | 24 | """This method is deprecated. Please switch to GetRootAs.""" |
| MEDIUM | tests/MyGame/Example/Stat.py | 21 | """This method is deprecated. Please switch to GetRootAs.""" |
| MEDIUM | tests/MyGame/Example/Monster.py | 22 | """This method is deprecated. Please switch to GetRootAs.""" |
| MEDIUM | tests/MyGame/Example/TestSimpleTableWithEnum.py | 21 | """This method is deprecated. Please switch to GetRootAs.""" |
| MEDIUM | tests/MyGame/Example/TypeAliases.py | 21 | """This method is deprecated. Please switch to GetRootAs.""" |
| MEDIUM | tests/MyGame/Example/NestedUnion/NestedUnionTest.py | 24 | """This method is deprecated. Please switch to GetRootAs.""" |
| MEDIUM | …/MyGame/Example/NestedUnion/TestSimpleTableWithEnum.py | 22 | """This method is deprecated. Please switch to GetRootAs.""" |
| MEDIUM | tests/MyGame/Example/NestedUnion/Vec3.py | 24 | """This method is deprecated. Please switch to GetRootAs.""" |
| MEDIUM | goldens/py/flatbuffers/goldens/Galaxy.py | 21 | """This method is deprecated. Please switch to GetRootAs.""" |
| MEDIUM | goldens/py/flatbuffers/goldens/Universe.py | 21 | """This method is deprecated. Please switch to GetRootAs.""" |
| Severity | File | Line | Snippet |
|---|---|---|---|
| LOW | python/flatbuffers/builder.py | 208 | |
| LOW | python/flatbuffers/flexbuffers.py | 46 | |
| LOW | python/flatbuffers/flexbuffers.py | 250 | |
| LOW | python/flatbuffers/flexbuffers.py | 492 | |
| LOW | python/flatbuffers/flexbuffers.py | 638 | |
| LOW | python/flatbuffers/flexbuffers.py | 667 | |
| LOW | python/flatbuffers/flexbuffers.py | 697 | |
| LOW | python/flatbuffers/flexbuffers.py | 857 | |
| LOW | python/flatbuffers/flexbuffers.py | 1154 | |
| LOW | python/flatbuffers/flexbuffers.py | 1403 | |
| LOW | python/flatbuffers/flexbuffers.py | 1538 | |
| LOW | tests/py_flexbuffers_test.py | 315 | |
| LOW | tests/py_flexbuffers_test.py | 347 | |
| LOW | tests/py_flexbuffers_test.py | 416 | |
| LOW | tests/py_flexbuffers_test.py | 429 | |
| LOW | tests/py_flexbuffers_test.py | 444 | |
| LOW | tests/py_flexbuffers_test.py | 457 | |
| LOW | tests/py_flexbuffers_test.py | 541 | |
| LOW | tests/py_flexbuffers_test.py | 554 | |
| LOW | tests/py_flexbuffers_test.py | 591 | |
| LOW | tests/py_flexbuffers_test.py | 654 | |
| LOW | tests/py_flexbuffers_test.py | 710 | |
| LOW | tests/py_flexbuffers_test.py | 731 | |
| LOW | tests/py_flexbuffers_test.py | 751 | |
| LOW | tests/py_flexbuffers_test.py | 785 | |
| LOW | tests/py_flexbuffers_test.py | 862 | |
| LOW | tests/py_flexbuffers_test.py | 965 | |
| LOW | tests/py_flexbuffers_test.py | 1078 | |
| LOW | tests/py_test.py | 832 |
| Severity | File | Line | Snippet |
|---|---|---|---|
| MEDIUM | python/flatbuffers/compat.py | 53 | # Helper functions to facilitate making numpy optional instead of required |
| MEDIUM | include/flatbuffers/vector_downward.h | 34 | // Essentially, this supports 2 std::vectors in a single buffer. |
| MEDIUM | tests/cpp17/stringify_util.h | 17 | // This contains some utilities/examples for how to leverage the static reflec- |
| MEDIUM | samples/sample_binary.py | 19 | # to facilitate executing this script in the `samples` folder, and to root |
| Severity | File | Line | Snippet |
|---|---|---|---|
| LOW | tests/py_test.py | 99 | except Exception as e: |
| LOW | tests/flatc/flatc_test.py | 130 | except Exception as e: |