| { |
| "name": "test.bindingsdenylist", |
| "library_dependencies": [ |
| { |
| "name": "test.dependent", |
| "declarations": { |
| "test.dependent/ContainsAllowed": { |
| "kind": "protocol" |
| }, |
| "test.dependent/ContainsDenied": { |
| "kind": "protocol" |
| }, |
| "test.dependent/ContainsDeniedAlwaysDeniedRequest": { |
| "kind": "struct", |
| "resource": false |
| }, |
| "test.dependent/OnlyAppearsInImportingLibrary": { |
| "kind": "struct", |
| "resource": false |
| } |
| } |
| } |
| ], |
| "bits_declarations": [ |
| { |
| "name": "test.bindingsdenylist/OnlySyzkaller", |
| "naming_context": [ |
| "OnlySyzkaller" |
| ], |
| "location": { |
| "filename": "../../tools/fidl/fidlc/testdata/bindings_denylist/example.test.fidl", |
| "line": 14, |
| "column": 6, |
| "length": 13 |
| }, |
| "maybe_attributes": [ |
| { |
| "name": "bindings_denylist", |
| "arguments": [ |
| { |
| "name": "value", |
| "type": "string", |
| "value": { |
| "kind": "literal", |
| "value": "cpp, dart, go, hlcpp, libfuzzer, llcpp, rust", |
| "expression": "\"cpp, dart, go, hlcpp, libfuzzer, llcpp, rust\"", |
| "literal": { |
| "kind": "string", |
| "value": "cpp, dart, go, hlcpp, libfuzzer, llcpp, rust", |
| "expression": "\"cpp, dart, go, hlcpp, libfuzzer, llcpp, rust\"" |
| } |
| }, |
| "location": { |
| "filename": "../../tools/fidl/fidlc/testdata/bindings_denylist/example.test.fidl", |
| "line": 13, |
| "column": 20, |
| "length": 46 |
| } |
| } |
| ], |
| "location": { |
| "filename": "../../tools/fidl/fidlc/testdata/bindings_denylist/example.test.fidl", |
| "line": 13, |
| "column": 1, |
| "length": 66 |
| } |
| } |
| ], |
| "type": { |
| "kind": "primitive", |
| "subtype": "uint32", |
| "type_shape_v1": { |
| "inline_size": 4, |
| "alignment": 4, |
| "depth": 0, |
| "max_handles": 0, |
| "max_out_of_line": 0, |
| "has_padding": false, |
| "has_envelope": false, |
| "has_flexible_envelope": false |
| }, |
| "type_shape_v2": { |
| "inline_size": 4, |
| "alignment": 4, |
| "depth": 0, |
| "max_handles": 0, |
| "max_out_of_line": 0, |
| "has_padding": false, |
| "has_envelope": false, |
| "has_flexible_envelope": false |
| } |
| }, |
| "mask": "1", |
| "members": [ |
| { |
| "name": "A", |
| "location": { |
| "filename": "../../tools/fidl/fidlc/testdata/bindings_denylist/example.test.fidl", |
| "line": 15, |
| "column": 5, |
| "length": 1 |
| }, |
| "value": { |
| "kind": "literal", |
| "value": "1", |
| "expression": "1", |
| "literal": { |
| "kind": "numeric", |
| "value": "1", |
| "expression": "1" |
| } |
| } |
| } |
| ], |
| "strict": true |
| } |
| ], |
| "const_declarations": [ |
| { |
| "name": "test.bindingsdenylist/AllBindings", |
| "location": { |
| "filename": "../../tools/fidl/fidlc/testdata/bindings_denylist/example.test.fidl", |
| "line": 11, |
| "column": 7, |
| "length": 11 |
| }, |
| "maybe_attributes": [ |
| { |
| "name": "bindings_deny_list", |
| "arguments": [ |
| { |
| "name": "value", |
| "type": "string", |
| "value": { |
| "kind": "literal", |
| "value": "there_are_no_bindings_with_this_name", |
| "expression": "\"there_are_no_bindings_with_this_name\"", |
| "literal": { |
| "kind": "string", |
| "value": "there_are_no_bindings_with_this_name", |
| "expression": "\"there_are_no_bindings_with_this_name\"" |
| } |
| }, |
| "location": { |
| "filename": "../../tools/fidl/fidlc/testdata/bindings_denylist/example.test.fidl", |
| "line": 10, |
| "column": 21, |
| "length": 38 |
| } |
| } |
| ], |
| "location": { |
| "filename": "../../tools/fidl/fidlc/testdata/bindings_denylist/example.test.fidl", |
| "line": 10, |
| "column": 1, |
| "length": 59 |
| } |
| } |
| ], |
| "type": { |
| "kind": "primitive", |
| "subtype": "uint32", |
| "type_shape_v1": { |
| "inline_size": 4, |
| "alignment": 4, |
| "depth": 0, |
| "max_handles": 0, |
| "max_out_of_line": 0, |
| "has_padding": false, |
| "has_envelope": false, |
| "has_flexible_envelope": false |
| }, |
| "type_shape_v2": { |
| "inline_size": 4, |
| "alignment": 4, |
| "depth": 0, |
| "max_handles": 0, |
| "max_out_of_line": 0, |
| "has_padding": false, |
| "has_envelope": false, |
| "has_flexible_envelope": false |
| } |
| }, |
| "value": { |
| "kind": "literal", |
| "value": "0", |
| "expression": "0", |
| "literal": { |
| "kind": "numeric", |
| "value": "0", |
| "expression": "0" |
| } |
| } |
| } |
| ], |
| "enum_declarations": [ |
| { |
| "name": "test.bindingsdenylist/OnlyDart", |
| "naming_context": [ |
| "OnlyDart" |
| ], |
| "location": { |
| "filename": "../../tools/fidl/fidlc/testdata/bindings_denylist/example.test.fidl", |
| "line": 19, |
| "column": 6, |
| "length": 8 |
| }, |
| "maybe_attributes": [ |
| { |
| "name": "bindings_denylist", |
| "arguments": [ |
| { |
| "name": "value", |
| "type": "string", |
| "value": { |
| "kind": "literal", |
| "value": "cpp, go, hlcpp, libfuzzer, llcpp, rust, syzkaller", |
| "expression": "\"cpp, go, hlcpp, libfuzzer, llcpp, rust, syzkaller\"", |
| "literal": { |
| "kind": "string", |
| "value": "cpp, go, hlcpp, libfuzzer, llcpp, rust, syzkaller", |
| "expression": "\"cpp, go, hlcpp, libfuzzer, llcpp, rust, syzkaller\"" |
| } |
| }, |
| "location": { |
| "filename": "../../tools/fidl/fidlc/testdata/bindings_denylist/example.test.fidl", |
| "line": 18, |
| "column": 20, |
| "length": 51 |
| } |
| } |
| ], |
| "location": { |
| "filename": "../../tools/fidl/fidlc/testdata/bindings_denylist/example.test.fidl", |
| "line": 18, |
| "column": 1, |
| "length": 71 |
| } |
| } |
| ], |
| "type": "uint32", |
| "members": [ |
| { |
| "name": "A", |
| "location": { |
| "filename": "../../tools/fidl/fidlc/testdata/bindings_denylist/example.test.fidl", |
| "line": 20, |
| "column": 5, |
| "length": 1 |
| }, |
| "value": { |
| "kind": "literal", |
| "value": "1", |
| "expression": "1", |
| "literal": { |
| "kind": "numeric", |
| "value": "1", |
| "expression": "1" |
| } |
| } |
| } |
| ], |
| "strict": true |
| } |
| ], |
| "experimental_resource_declarations": [], |
| "protocol_declarations": [ |
| { |
| "name": "test.bindingsdenylist/Allowed", |
| "location": { |
| "filename": "../../tools/fidl/fidlc/testdata/bindings_denylist/example.test.fidl", |
| "line": 110, |
| "column": 10, |
| "length": 7 |
| }, |
| "composed_protocols": [], |
| "methods": [ |
| { |
| "ordinal": 3826178105137551123, |
| "name": "Denied", |
| "location": { |
| "filename": "../../tools/fidl/fidlc/testdata/bindings_denylist/example.test.fidl", |
| "line": 112, |
| "column": 5, |
| "length": 6 |
| }, |
| "has_request": true, |
| "maybe_attributes": [ |
| { |
| "name": "bindings_denylist", |
| "arguments": [ |
| { |
| "name": "value", |
| "type": "string", |
| "value": { |
| "kind": "literal", |
| "value": "cpp, dart, go, hlcpp, libfuzzer, llcpp, rust, syzkaller", |
| "expression": "\"cpp, dart, go, hlcpp, libfuzzer, llcpp, rust, syzkaller\"", |
| "literal": { |
| "kind": "string", |
| "value": "cpp, dart, go, hlcpp, libfuzzer, llcpp, rust, syzkaller", |
| "expression": "\"cpp, dart, go, hlcpp, libfuzzer, llcpp, rust, syzkaller\"" |
| } |
| }, |
| "location": { |
| "filename": "../../tools/fidl/fidlc/testdata/bindings_denylist/example.test.fidl", |
| "line": 111, |
| "column": 24, |
| "length": 57 |
| } |
| } |
| ], |
| "location": { |
| "filename": "../../tools/fidl/fidlc/testdata/bindings_denylist/example.test.fidl", |
| "line": 111, |
| "column": 5, |
| "length": 77 |
| } |
| } |
| ], |
| "has_response": true, |
| "maybe_response_payload": { |
| "kind": "identifier", |
| "identifier": "test.bindingsdenylist/AllowedDeniedTopResponse", |
| "nullable": false, |
| "type_shape_v1": { |
| "inline_size": 24, |
| "alignment": 8, |
| "depth": 3, |
| "max_handles": 0, |
| "max_out_of_line": 80, |
| "has_padding": true, |
| "has_envelope": true, |
| "has_flexible_envelope": true |
| }, |
| "type_shape_v2": { |
| "inline_size": 16, |
| "alignment": 8, |
| "depth": 3, |
| "max_handles": 0, |
| "max_out_of_line": 48, |
| "has_padding": true, |
| "has_envelope": true, |
| "has_flexible_envelope": true |
| } |
| }, |
| "is_composed": false, |
| "has_error": true, |
| "maybe_response_result_type": { |
| "kind": "identifier", |
| "identifier": "test.bindingsdenylist/Allowed_Denied_Result", |
| "nullable": false, |
| "type_shape_v1": { |
| "inline_size": 24, |
| "alignment": 8, |
| "depth": 3, |
| "max_handles": 0, |
| "max_out_of_line": 80, |
| "has_padding": true, |
| "has_envelope": true, |
| "has_flexible_envelope": true |
| }, |
| "type_shape_v2": { |
| "inline_size": 16, |
| "alignment": 8, |
| "depth": 3, |
| "max_handles": 0, |
| "max_out_of_line": 48, |
| "has_padding": true, |
| "has_envelope": true, |
| "has_flexible_envelope": true |
| } |
| }, |
| "maybe_response_success_type": { |
| "kind": "identifier", |
| "identifier": "test.bindingsdenylist/Allowed_Denied_Response", |
| "nullable": false, |
| "type_shape_v1": { |
| "inline_size": 48, |
| "alignment": 8, |
| "depth": 2, |
| "max_handles": 0, |
| "max_out_of_line": 32, |
| "has_padding": true, |
| "has_envelope": true, |
| "has_flexible_envelope": true |
| }, |
| "type_shape_v2": { |
| "inline_size": 40, |
| "alignment": 8, |
| "depth": 2, |
| "max_handles": 0, |
| "max_out_of_line": 8, |
| "has_padding": true, |
| "has_envelope": true, |
| "has_flexible_envelope": true |
| } |
| }, |
| "maybe_response_err_type": { |
| "kind": "primitive", |
| "subtype": "uint32", |
| "type_shape_v1": { |
| "inline_size": 4, |
| "alignment": 4, |
| "depth": 0, |
| "max_handles": 0, |
| "max_out_of_line": 0, |
| "has_padding": false, |
| "has_envelope": false, |
| "has_flexible_envelope": false |
| }, |
| "type_shape_v2": { |
| "inline_size": 4, |
| "alignment": 4, |
| "depth": 0, |
| "max_handles": 0, |
| "max_out_of_line": 0, |
| "has_padding": false, |
| "has_envelope": false, |
| "has_flexible_envelope": false |
| } |
| } |
| } |
| ] |
| }, |
| { |
| "name": "test.bindingsdenylist/ContainsAllowed", |
| "location": { |
| "filename": "../../tools/fidl/fidlc/testdata/bindings_denylist/example.test.fidl", |
| "line": 142, |
| "column": 10, |
| "length": 15 |
| }, |
| "maybe_attributes": [ |
| { |
| "name": "bindings_denylist", |
| "arguments": [ |
| { |
| "name": "value", |
| "type": "string", |
| "value": { |
| "kind": "literal", |
| "value": "cpp, dart, go, hlcpp, libfuzzer, llcpp, rust, syzkaller", |
| "expression": "\"cpp, dart, go, hlcpp, libfuzzer, llcpp, rust, syzkaller\"", |
| "literal": { |
| "kind": "string", |
| "value": "cpp, dart, go, hlcpp, libfuzzer, llcpp, rust, syzkaller", |
| "expression": "\"cpp, dart, go, hlcpp, libfuzzer, llcpp, rust, syzkaller\"" |
| } |
| }, |
| "location": { |
| "filename": "../../tools/fidl/fidlc/testdata/bindings_denylist/example.test.fidl", |
| "line": 141, |
| "column": 20, |
| "length": 57 |
| } |
| } |
| ], |
| "location": { |
| "filename": "../../tools/fidl/fidlc/testdata/bindings_denylist/example.test.fidl", |
| "line": 141, |
| "column": 1, |
| "length": 77 |
| } |
| } |
| ], |
| "composed_protocols": [], |
| "methods": [] |
| }, |
| { |
| "name": "test.bindingsdenylist/Denied", |
| "location": { |
| "filename": "../../tools/fidl/fidlc/testdata/bindings_denylist/example.test.fidl", |
| "line": 96, |
| "column": 10, |
| "length": 6 |
| }, |
| "maybe_attributes": [ |
| { |
| "name": "bindings_denylist", |
| "arguments": [ |
| { |
| "name": "value", |
| "type": "string", |
| "value": { |
| "kind": "literal", |
| "value": "cpp, dart, go, hlcpp, libfuzzer, llcpp, rust, syzkaller", |
| "expression": "\"cpp, dart, go, hlcpp, libfuzzer, llcpp, rust, syzkaller\"", |
| "literal": { |
| "kind": "string", |
| "value": "cpp, dart, go, hlcpp, libfuzzer, llcpp, rust, syzkaller", |
| "expression": "\"cpp, dart, go, hlcpp, libfuzzer, llcpp, rust, syzkaller\"" |
| } |
| }, |
| "location": { |
| "filename": "../../tools/fidl/fidlc/testdata/bindings_denylist/example.test.fidl", |
| "line": 95, |
| "column": 20, |
| "length": 57 |
| } |
| } |
| ], |
| "location": { |
| "filename": "../../tools/fidl/fidlc/testdata/bindings_denylist/example.test.fidl", |
| "line": 95, |
| "column": 1, |
| "length": 77 |
| } |
| } |
| ], |
| "composed_protocols": [], |
| "methods": [ |
| { |
| "ordinal": 5338181991150205725, |
| "name": "ShouldNeverAppearInAnyBinding", |
| "location": { |
| "filename": "../../tools/fidl/fidlc/testdata/bindings_denylist/example.test.fidl", |
| "line": 97, |
| "column": 5, |
| "length": 29 |
| }, |
| "has_request": true, |
| "maybe_request_payload": { |
| "kind": "identifier", |
| "identifier": "test.bindingsdenylist/DeniedShouldNeverAppearInAnyBindingRequest", |
| "nullable": false, |
| "type_shape_v1": { |
| "inline_size": 48, |
| "alignment": 8, |
| "depth": 2, |
| "max_handles": 0, |
| "max_out_of_line": 32, |
| "has_padding": true, |
| "has_envelope": true, |
| "has_flexible_envelope": true |
| }, |
| "type_shape_v2": { |
| "inline_size": 40, |
| "alignment": 8, |
| "depth": 2, |
| "max_handles": 0, |
| "max_out_of_line": 8, |
| "has_padding": true, |
| "has_envelope": true, |
| "has_flexible_envelope": true |
| } |
| }, |
| "has_response": false, |
| "is_composed": false, |
| "has_error": false |
| } |
| ] |
| }, |
| { |
| "name": "test.bindingsdenylist/DenyEachBinding", |
| "location": { |
| "filename": "../../tools/fidl/fidlc/testdata/bindings_denylist/example.test.fidl", |
| "line": 49, |
| "column": 10, |
| "length": 15 |
| }, |
| "composed_protocols": [], |
| "methods": [ |
| { |
| "ordinal": 2957648440141224850, |
| "name": "OnlyDenyCpp", |
| "location": { |
| "filename": "../../tools/fidl/fidlc/testdata/bindings_denylist/example.test.fidl", |
| "line": 51, |
| "column": 5, |
| "length": 11 |
| }, |
| "has_request": true, |
| "maybe_attributes": [ |
| { |
| "name": "bindings_denylist", |
| "arguments": [ |
| { |
| "name": "value", |
| "type": "string", |
| "value": { |
| "kind": "literal", |
| "value": "cpp, hlcpp, llcpp, libfuzzer", |
| "expression": "\"cpp, hlcpp, llcpp, libfuzzer\"", |
| "literal": { |
| "kind": "string", |
| "value": "cpp, hlcpp, llcpp, libfuzzer", |
| "expression": "\"cpp, hlcpp, llcpp, libfuzzer\"" |
| } |
| }, |
| "location": { |
| "filename": "../../tools/fidl/fidlc/testdata/bindings_denylist/example.test.fidl", |
| "line": 50, |
| "column": 24, |
| "length": 30 |
| } |
| } |
| ], |
| "location": { |
| "filename": "../../tools/fidl/fidlc/testdata/bindings_denylist/example.test.fidl", |
| "line": 50, |
| "column": 5, |
| "length": 50 |
| } |
| } |
| ], |
| "maybe_request_payload": { |
| "kind": "identifier", |
| "identifier": "test.bindingsdenylist/DenyEachBindingOnlyDenyCppRequest", |
| "nullable": false, |
| "type_shape_v1": { |
| "inline_size": 1, |
| "alignment": 1, |
| "depth": 0, |
| "max_handles": 0, |
| "max_out_of_line": 0, |
| "has_padding": false, |
| "has_envelope": false, |
| "has_flexible_envelope": false |
| }, |
| "type_shape_v2": { |
| "inline_size": 1, |
| "alignment": 1, |
| "depth": 0, |
| "max_handles": 0, |
| "max_out_of_line": 0, |
| "has_padding": false, |
| "has_envelope": false, |
| "has_flexible_envelope": false |
| } |
| }, |
| "has_response": true, |
| "maybe_response_payload": { |
| "kind": "identifier", |
| "identifier": "test.bindingsdenylist/DenyEachBindingOnlyDenyCppTopResponse", |
| "nullable": false, |
| "type_shape_v1": { |
| "inline_size": 24, |
| "alignment": 8, |
| "depth": 1, |
| "max_handles": 0, |
| "max_out_of_line": 8, |
| "has_padding": true, |
| "has_envelope": true, |
| "has_flexible_envelope": false |
| }, |
| "type_shape_v2": { |
| "inline_size": 16, |
| "alignment": 8, |
| "depth": 1, |
| "max_handles": 0, |
| "max_out_of_line": 0, |
| "has_padding": true, |
| "has_envelope": true, |
| "has_flexible_envelope": false |
| } |
| }, |
| "is_composed": false, |
| "has_error": true, |
| "maybe_response_result_type": { |
| "kind": "identifier", |
| "identifier": "test.bindingsdenylist/DenyEachBinding_OnlyDenyCpp_Result", |
| "nullable": false, |
| "type_shape_v1": { |
| "inline_size": 24, |
| "alignment": 8, |
| "depth": 1, |
| "max_handles": 0, |
| "max_out_of_line": 8, |
| "has_padding": true, |
| "has_envelope": true, |
| "has_flexible_envelope": false |
| }, |
| "type_shape_v2": { |
| "inline_size": 16, |
| "alignment": 8, |
| "depth": 1, |
| "max_handles": 0, |
| "max_out_of_line": 0, |
| "has_padding": true, |
| "has_envelope": true, |
| "has_flexible_envelope": false |
| } |
| }, |
| "maybe_response_success_type": { |
| "kind": "identifier", |
| "identifier": "test.bindingsdenylist/DenyEachBinding_OnlyDenyCpp_Response", |
| "nullable": false, |
| "type_shape_v1": { |
| "inline_size": 4, |
| "alignment": 4, |
| "depth": 0, |
| "max_handles": 0, |
| "max_out_of_line": 0, |
| "has_padding": false, |
| "has_envelope": false, |
| "has_flexible_envelope": false |
| }, |
| "type_shape_v2": { |
| "inline_size": 4, |
| "alignment": 4, |
| "depth": 0, |
| "max_handles": 0, |
| "max_out_of_line": 0, |
| "has_padding": false, |
| "has_envelope": false, |
| "has_flexible_envelope": false |
| } |
| }, |
| "maybe_response_err_type": { |
| "kind": "primitive", |
| "subtype": "uint32", |
| "type_shape_v1": { |
| "inline_size": 4, |
| "alignment": 4, |
| "depth": 0, |
| "max_handles": 0, |
| "max_out_of_line": 0, |
| "has_padding": false, |
| "has_envelope": false, |
| "has_flexible_envelope": false |
| }, |
| "type_shape_v2": { |
| "inline_size": 4, |
| "alignment": 4, |
| "depth": 0, |
| "max_handles": 0, |
| "max_out_of_line": 0, |
| "has_padding": false, |
| "has_envelope": false, |
| "has_flexible_envelope": false |
| } |
| } |
| }, |
| { |
| "ordinal": 8446571910689294295, |
| "name": "OnlyDenyDart", |
| "location": { |
| "filename": "../../tools/fidl/fidlc/testdata/bindings_denylist/example.test.fidl", |
| "line": 58, |
| "column": 5, |
| "length": 12 |
| }, |
| "has_request": true, |
| "maybe_attributes": [ |
| { |
| "name": "bindings_denylist", |
| "arguments": [ |
| { |
| "name": "value", |
| "type": "string", |
| "value": { |
| "kind": "literal", |
| "value": "dart", |
| "expression": "\"dart\"", |
| "literal": { |
| "kind": "string", |
| "value": "dart", |
| "expression": "\"dart\"" |
| } |
| }, |
| "location": { |
| "filename": "../../tools/fidl/fidlc/testdata/bindings_denylist/example.test.fidl", |
| "line": 57, |
| "column": 24, |
| "length": 6 |
| } |
| } |
| ], |
| "location": { |
| "filename": "../../tools/fidl/fidlc/testdata/bindings_denylist/example.test.fidl", |
| "line": 57, |
| "column": 5, |
| "length": 26 |
| } |
| } |
| ], |
| "maybe_request_payload": { |
| "kind": "identifier", |
| "identifier": "test.bindingsdenylist/DenyEachBindingOnlyDenyDartRequest", |
| "nullable": false, |
| "type_shape_v1": { |
| "inline_size": 1, |
| "alignment": 1, |
| "depth": 0, |
| "max_handles": 0, |
| "max_out_of_line": 0, |
| "has_padding": false, |
| "has_envelope": false, |
| "has_flexible_envelope": false |
| }, |
| "type_shape_v2": { |
| "inline_size": 1, |
| "alignment": 1, |
| "depth": 0, |
| "max_handles": 0, |
| "max_out_of_line": 0, |
| "has_padding": false, |
| "has_envelope": false, |
| "has_flexible_envelope": false |
| } |
| }, |
| "has_response": true, |
| "maybe_response_payload": { |
| "kind": "identifier", |
| "identifier": "test.bindingsdenylist/DenyEachBindingOnlyDenyDartTopResponse", |
| "nullable": false, |
| "type_shape_v1": { |
| "inline_size": 24, |
| "alignment": 8, |
| "depth": 1, |
| "max_handles": 0, |
| "max_out_of_line": 8, |
| "has_padding": true, |
| "has_envelope": true, |
| "has_flexible_envelope": false |
| }, |
| "type_shape_v2": { |
| "inline_size": 16, |
| "alignment": 8, |
| "depth": 1, |
| "max_handles": 0, |
| "max_out_of_line": 0, |
| "has_padding": true, |
| "has_envelope": true, |
| "has_flexible_envelope": false |
| } |
| }, |
| "is_composed": false, |
| "has_error": true, |
| "maybe_response_result_type": { |
| "kind": "identifier", |
| "identifier": "test.bindingsdenylist/DenyEachBinding_OnlyDenyDart_Result", |
| "nullable": false, |
| "type_shape_v1": { |
| "inline_size": 24, |
| "alignment": 8, |
| "depth": 1, |
| "max_handles": 0, |
| "max_out_of_line": 8, |
| "has_padding": true, |
| "has_envelope": true, |
| "has_flexible_envelope": false |
| }, |
| "type_shape_v2": { |
| "inline_size": 16, |
| "alignment": 8, |
| "depth": 1, |
| "max_handles": 0, |
| "max_out_of_line": 0, |
| "has_padding": true, |
| "has_envelope": true, |
| "has_flexible_envelope": false |
| } |
| }, |
| "maybe_response_success_type": { |
| "kind": "identifier", |
| "identifier": "test.bindingsdenylist/DenyEachBinding_OnlyDenyDart_Response", |
| "nullable": false, |
| "type_shape_v1": { |
| "inline_size": 4, |
| "alignment": 4, |
| "depth": 0, |
| "max_handles": 0, |
| "max_out_of_line": 0, |
| "has_padding": false, |
| "has_envelope": false, |
| "has_flexible_envelope": false |
| }, |
| "type_shape_v2": { |
| "inline_size": 4, |
| "alignment": 4, |
| "depth": 0, |
| "max_handles": 0, |
| "max_out_of_line": 0, |
| "has_padding": false, |
| "has_envelope": false, |
| "has_flexible_envelope": false |
| } |
| }, |
| "maybe_response_err_type": { |
| "kind": "primitive", |
| "subtype": "uint32", |
| "type_shape_v1": { |
| "inline_size": 4, |
| "alignment": 4, |
| "depth": 0, |
| "max_handles": 0, |
| "max_out_of_line": 0, |
| "has_padding": false, |
| "has_envelope": false, |
| "has_flexible_envelope": false |
| }, |
| "type_shape_v2": { |
| "inline_size": 4, |
| "alignment": 4, |
| "depth": 0, |
| "max_handles": 0, |
| "max_out_of_line": 0, |
| "has_padding": false, |
| "has_envelope": false, |
| "has_flexible_envelope": false |
| } |
| } |
| }, |
| { |
| "ordinal": 7311125300308839833, |
| "name": "OnlyDenyGo", |
| "location": { |
| "filename": "../../tools/fidl/fidlc/testdata/bindings_denylist/example.test.fidl", |
| "line": 65, |
| "column": 5, |
| "length": 10 |
| }, |
| "has_request": true, |
| "maybe_attributes": [ |
| { |
| "name": "bindings_denylist", |
| "arguments": [ |
| { |
| "name": "value", |
| "type": "string", |
| "value": { |
| "kind": "literal", |
| "value": "go", |
| "expression": "\"go\"", |
| "literal": { |
| "kind": "string", |
| "value": "go", |
| "expression": "\"go\"" |
| } |
| }, |
| "location": { |
| "filename": "../../tools/fidl/fidlc/testdata/bindings_denylist/example.test.fidl", |
| "line": 64, |
| "column": 24, |
| "length": 4 |
| } |
| } |
| ], |
| "location": { |
| "filename": "../../tools/fidl/fidlc/testdata/bindings_denylist/example.test.fidl", |
| "line": 64, |
| "column": 5, |
| "length": 24 |
| } |
| } |
| ], |
| "maybe_request_payload": { |
| "kind": "identifier", |
| "identifier": "test.bindingsdenylist/DenyEachBindingOnlyDenyGoRequest", |
| "nullable": false, |
| "type_shape_v1": { |
| "inline_size": 1, |
| "alignment": 1, |
| "depth": 0, |
| "max_handles": 0, |
| "max_out_of_line": 0, |
| "has_padding": false, |
| "has_envelope": false, |
| "has_flexible_envelope": false |
| }, |
| "type_shape_v2": { |
| "inline_size": 1, |
| "alignment": 1, |
| "depth": 0, |
| "max_handles": 0, |
| "max_out_of_line": 0, |
| "has_padding": false, |
| "has_envelope": false, |
| "has_flexible_envelope": false |
| } |
| }, |
| "has_response": true, |
| "maybe_response_payload": { |
| "kind": "identifier", |
| "identifier": "test.bindingsdenylist/DenyEachBindingOnlyDenyGoTopResponse", |
| "nullable": false, |
| "type_shape_v1": { |
| "inline_size": 24, |
| "alignment": 8, |
| "depth": 1, |
| "max_handles": 0, |
| "max_out_of_line": 8, |
| "has_padding": true, |
| "has_envelope": true, |
| "has_flexible_envelope": false |
| }, |
| "type_shape_v2": { |
| "inline_size": 16, |
| "alignment": 8, |
| "depth": 1, |
| "max_handles": 0, |
| "max_out_of_line": 0, |
| "has_padding": true, |
| "has_envelope": true, |
| "has_flexible_envelope": false |
| } |
| }, |
| "is_composed": false, |
| "has_error": true, |
| "maybe_response_result_type": { |
| "kind": "identifier", |
| "identifier": "test.bindingsdenylist/DenyEachBinding_OnlyDenyGo_Result", |
| "nullable": false, |
| "type_shape_v1": { |
| "inline_size": 24, |
| "alignment": 8, |
| "depth": 1, |
| "max_handles": 0, |
| "max_out_of_line": 8, |
| "has_padding": true, |
| "has_envelope": true, |
| "has_flexible_envelope": false |
| }, |
| "type_shape_v2": { |
| "inline_size": 16, |
| "alignment": 8, |
| "depth": 1, |
| "max_handles": 0, |
| "max_out_of_line": 0, |
| "has_padding": true, |
| "has_envelope": true, |
| "has_flexible_envelope": false |
| } |
| }, |
| "maybe_response_success_type": { |
| "kind": "identifier", |
| "identifier": "test.bindingsdenylist/DenyEachBinding_OnlyDenyGo_Response", |
| "nullable": false, |
| "type_shape_v1": { |
| "inline_size": 4, |
| "alignment": 4, |
| "depth": 0, |
| "max_handles": 0, |
| "max_out_of_line": 0, |
| "has_padding": false, |
| "has_envelope": false, |
| "has_flexible_envelope": false |
| }, |
| "type_shape_v2": { |
| "inline_size": 4, |
| "alignment": 4, |
| "depth": 0, |
| "max_handles": 0, |
| "max_out_of_line": 0, |
| "has_padding": false, |
| "has_envelope": false, |
| "has_flexible_envelope": false |
| } |
| }, |
| "maybe_response_err_type": { |
| "kind": "primitive", |
| "subtype": "uint32", |
| "type_shape_v1": { |
| "inline_size": 4, |
| "alignment": 4, |
| "depth": 0, |
| "max_handles": 0, |
| "max_out_of_line": 0, |
| "has_padding": false, |
| "has_envelope": false, |
| "has_flexible_envelope": false |
| }, |
| "type_shape_v2": { |
| "inline_size": 4, |
| "alignment": 4, |
| "depth": 0, |
| "max_handles": 0, |
| "max_out_of_line": 0, |
| "has_padding": false, |
| "has_envelope": false, |
| "has_flexible_envelope": false |
| } |
| } |
| }, |
| { |
| "ordinal": 2184115815603862302, |
| "name": "OnlyDenyLibfuzzer", |
| "location": { |
| "filename": "../../tools/fidl/fidlc/testdata/bindings_denylist/example.test.fidl", |
| "line": 72, |
| "column": 5, |
| "length": 17 |
| }, |
| "has_request": true, |
| "maybe_attributes": [ |
| { |
| "name": "bindings_denylist", |
| "arguments": [ |
| { |
| "name": "value", |
| "type": "string", |
| "value": { |
| "kind": "literal", |
| "value": "libfuzzer", |
| "expression": "\"libfuzzer\"", |
| "literal": { |
| "kind": "string", |
| "value": "libfuzzer", |
| "expression": "\"libfuzzer\"" |
| } |
| }, |
| "location": { |
| "filename": "../../tools/fidl/fidlc/testdata/bindings_denylist/example.test.fidl", |
| "line": 71, |
| "column": 24, |
| "length": 11 |
| } |
| } |
| ], |
| "location": { |
| "filename": "../../tools/fidl/fidlc/testdata/bindings_denylist/example.test.fidl", |
| "line": 71, |
| "column": 5, |
| "length": 31 |
| } |
| } |
| ], |
| "maybe_request_payload": { |
| "kind": "identifier", |
| "identifier": "test.bindingsdenylist/DenyEachBindingOnlyDenyLibfuzzerRequest", |
| "nullable": false, |
| "type_shape_v1": { |
| "inline_size": 1, |
| "alignment": 1, |
| "depth": 0, |
| "max_handles": 0, |
| "max_out_of_line": 0, |
| "has_padding": false, |
| "has_envelope": false, |
| "has_flexible_envelope": false |
| }, |
| "type_shape_v2": { |
| "inline_size": 1, |
| "alignment": 1, |
| "depth": 0, |
| "max_handles": 0, |
| "max_out_of_line": 0, |
| "has_padding": false, |
| "has_envelope": false, |
| "has_flexible_envelope": false |
| } |
| }, |
| "has_response": true, |
| "maybe_response_payload": { |
| "kind": "identifier", |
| "identifier": "test.bindingsdenylist/DenyEachBindingOnlyDenyLibfuzzerTopResponse", |
| "nullable": false, |
| "type_shape_v1": { |
| "inline_size": 24, |
| "alignment": 8, |
| "depth": 1, |
| "max_handles": 0, |
| "max_out_of_line": 8, |
| "has_padding": true, |
| "has_envelope": true, |
| "has_flexible_envelope": false |
| }, |
| "type_shape_v2": { |
| "inline_size": 16, |
| "alignment": 8, |
| "depth": 1, |
| "max_handles": 0, |
| "max_out_of_line": 0, |
| "has_padding": true, |
| "has_envelope": true, |
| "has_flexible_envelope": false |
| } |
| }, |
| "is_composed": false, |
| "has_error": true, |
| "maybe_response_result_type": { |
| "kind": "identifier", |
| "identifier": "test.bindingsdenylist/DenyEachBinding_OnlyDenyLibfuzzer_Result", |
| "nullable": false, |
| "type_shape_v1": { |
| "inline_size": 24, |
| "alignment": 8, |
| "depth": 1, |
| "max_handles": 0, |
| "max_out_of_line": 8, |
| "has_padding": true, |
| "has_envelope": true, |
| "has_flexible_envelope": false |
| }, |
| "type_shape_v2": { |
| "inline_size": 16, |
| "alignment": 8, |
| "depth": 1, |
| "max_handles": 0, |
| "max_out_of_line": 0, |
| "has_padding": true, |
| "has_envelope": true, |
| "has_flexible_envelope": false |
| } |
| }, |
| "maybe_response_success_type": { |
| "kind": "identifier", |
| "identifier": "test.bindingsdenylist/DenyEachBinding_OnlyDenyLibfuzzer_Response", |
| "nullable": false, |
| "type_shape_v1": { |
| "inline_size": 4, |
| "alignment": 4, |
| "depth": 0, |
| "max_handles": 0, |
| "max_out_of_line": 0, |
| "has_padding": false, |
| "has_envelope": false, |
| "has_flexible_envelope": false |
| }, |
| "type_shape_v2": { |
| "inline_size": 4, |
| "alignment": 4, |
| "depth": 0, |
| "max_handles": 0, |
| "max_out_of_line": 0, |
| "has_padding": false, |
| "has_envelope": false, |
| "has_flexible_envelope": false |
| } |
| }, |
| "maybe_response_err_type": { |
| "kind": "primitive", |
| "subtype": "uint32", |
| "type_shape_v1": { |
| "inline_size": 4, |
| "alignment": 4, |
| "depth": 0, |
| "max_handles": 0, |
| "max_out_of_line": 0, |
| "has_padding": false, |
| "has_envelope": false, |
| "has_flexible_envelope": false |
| }, |
| "type_shape_v2": { |
| "inline_size": 4, |
| "alignment": 4, |
| "depth": 0, |
| "max_handles": 0, |
| "max_out_of_line": 0, |
| "has_padding": false, |
| "has_envelope": false, |
| "has_flexible_envelope": false |
| } |
| } |
| }, |
| { |
| "ordinal": 3719805222870932662, |
| "name": "OnlyDenyRust", |
| "location": { |
| "filename": "../../tools/fidl/fidlc/testdata/bindings_denylist/example.test.fidl", |
| "line": 79, |
| "column": 5, |
| "length": 12 |
| }, |
| "has_request": true, |
| "maybe_attributes": [ |
| { |
| "name": "bindings_denylist", |
| "arguments": [ |
| { |
| "name": "value", |
| "type": "string", |
| "value": { |
| "kind": "literal", |
| "value": "rust", |
| "expression": "\"rust\"", |
| "literal": { |
| "kind": "string", |
| "value": "rust", |
| "expression": "\"rust\"" |
| } |
| }, |
| "location": { |
| "filename": "../../tools/fidl/fidlc/testdata/bindings_denylist/example.test.fidl", |
| "line": 78, |
| "column": 24, |
| "length": 6 |
| } |
| } |
| ], |
| "location": { |
| "filename": "../../tools/fidl/fidlc/testdata/bindings_denylist/example.test.fidl", |
| "line": 78, |
| "column": 5, |
| "length": 26 |
| } |
| } |
| ], |
| "maybe_request_payload": { |
| "kind": "identifier", |
| "identifier": "test.bindingsdenylist/DenyEachBindingOnlyDenyRustRequest", |
| "nullable": false, |
| "type_shape_v1": { |
| "inline_size": 1, |
| "alignment": 1, |
| "depth": 0, |
| "max_handles": 0, |
| "max_out_of_line": 0, |
| "has_padding": false, |
| "has_envelope": false, |
| "has_flexible_envelope": false |
| }, |
| "type_shape_v2": { |
| "inline_size": 1, |
| "alignment": 1, |
| "depth": 0, |
| "max_handles": 0, |
| "max_out_of_line": 0, |
| "has_padding": false, |
| "has_envelope": false, |
| "has_flexible_envelope": false |
| } |
| }, |
| "has_response": true, |
| "maybe_response_payload": { |
| "kind": "identifier", |
| "identifier": "test.bindingsdenylist/DenyEachBindingOnlyDenyRustTopResponse", |
| "nullable": false, |
| "type_shape_v1": { |
| "inline_size": 24, |
| "alignment": 8, |
| "depth": 1, |
| "max_handles": 0, |
| "max_out_of_line": 8, |
| "has_padding": true, |
| "has_envelope": true, |
| "has_flexible_envelope": false |
| }, |
| "type_shape_v2": { |
| "inline_size": 16, |
| "alignment": 8, |
| "depth": 1, |
| "max_handles": 0, |
| "max_out_of_line": 0, |
| "has_padding": true, |
| "has_envelope": true, |
| "has_flexible_envelope": false |
| } |
| }, |
| "is_composed": false, |
| "has_error": true, |
| "maybe_response_result_type": { |
| "kind": "identifier", |
| "identifier": "test.bindingsdenylist/DenyEachBinding_OnlyDenyRust_Result", |
| "nullable": false, |
| "type_shape_v1": { |
| "inline_size": 24, |
| "alignment": 8, |
| "depth": 1, |
| "max_handles": 0, |
| "max_out_of_line": 8, |
| "has_padding": true, |
| "has_envelope": true, |
| "has_flexible_envelope": false |
| }, |
| "type_shape_v2": { |
| "inline_size": 16, |
| "alignment": 8, |
| "depth": 1, |
| "max_handles": 0, |
| "max_out_of_line": 0, |
| "has_padding": true, |
| "has_envelope": true, |
| "has_flexible_envelope": false |
| } |
| }, |
| "maybe_response_success_type": { |
| "kind": "identifier", |
| "identifier": "test.bindingsdenylist/DenyEachBinding_OnlyDenyRust_Response", |
| "nullable": false, |
| "type_shape_v1": { |
| "inline_size": 4, |
| "alignment": 4, |
| "depth": 0, |
| "max_handles": 0, |
| "max_out_of_line": 0, |
| "has_padding": false, |
| "has_envelope": false, |
| "has_flexible_envelope": false |
| }, |
| "type_shape_v2": { |
| "inline_size": 4, |
| "alignment": 4, |
| "depth": 0, |
| "max_handles": 0, |
| "max_out_of_line": 0, |
| "has_padding": false, |
| "has_envelope": false, |
| "has_flexible_envelope": false |
| } |
| }, |
| "maybe_response_err_type": { |
| "kind": "primitive", |
| "subtype": "uint32", |
| "type_shape_v1": { |
| "inline_size": 4, |
| "alignment": 4, |
| "depth": 0, |
| "max_handles": 0, |
| "max_out_of_line": 0, |
| "has_padding": false, |
| "has_envelope": false, |
| "has_flexible_envelope": false |
| }, |
| "type_shape_v2": { |
| "inline_size": 4, |
| "alignment": 4, |
| "depth": 0, |
| "max_handles": 0, |
| "max_out_of_line": 0, |
| "has_padding": false, |
| "has_envelope": false, |
| "has_flexible_envelope": false |
| } |
| } |
| }, |
| { |
| "ordinal": 2319043834522757514, |
| "name": "OnlyDenySyzkaller", |
| "location": { |
| "filename": "../../tools/fidl/fidlc/testdata/bindings_denylist/example.test.fidl", |
| "line": 86, |
| "column": 5, |
| "length": 17 |
| }, |
| "has_request": true, |
| "maybe_attributes": [ |
| { |
| "name": "bindings_denylist", |
| "arguments": [ |
| { |
| "name": "value", |
| "type": "string", |
| "value": { |
| "kind": "literal", |
| "value": "syzkaller", |
| "expression": "\"syzkaller\"", |
| "literal": { |
| "kind": "string", |
| "value": "syzkaller", |
| "expression": "\"syzkaller\"" |
| } |
| }, |
| "location": { |
| "filename": "../../tools/fidl/fidlc/testdata/bindings_denylist/example.test.fidl", |
| "line": 85, |
| "column": 24, |
| "length": 11 |
| } |
| } |
| ], |
| "location": { |
| "filename": "../../tools/fidl/fidlc/testdata/bindings_denylist/example.test.fidl", |
| "line": 85, |
| "column": 5, |
| "length": 31 |
| } |
| } |
| ], |
| "maybe_request_payload": { |
| "kind": "identifier", |
| "identifier": "test.bindingsdenylist/DenyEachBindingOnlyDenySyzkallerRequest", |
| "nullable": false, |
| "type_shape_v1": { |
| "inline_size": 1, |
| "alignment": 1, |
| "depth": 0, |
| "max_handles": 0, |
| "max_out_of_line": 0, |
| "has_padding": false, |
| "has_envelope": false, |
| "has_flexible_envelope": false |
| }, |
| "type_shape_v2": { |
| "inline_size": 1, |
| "alignment": 1, |
| "depth": 0, |
| "max_handles": 0, |
| "max_out_of_line": 0, |
| "has_padding": false, |
| "has_envelope": false, |
| "has_flexible_envelope": false |
| } |
| }, |
| "has_response": true, |
| "maybe_response_payload": { |
| "kind": "identifier", |
| "identifier": "test.bindingsdenylist/DenyEachBindingOnlyDenySyzkallerTopResponse", |
| "nullable": false, |
| "type_shape_v1": { |
| "inline_size": 24, |
| "alignment": 8, |
| "depth": 1, |
| "max_handles": 0, |
| "max_out_of_line": 8, |
| "has_padding": true, |
| "has_envelope": true, |
| "has_flexible_envelope": false |
| }, |
| "type_shape_v2": { |
| "inline_size": 16, |
| "alignment": 8, |
| "depth": 1, |
| "max_handles": 0, |
| "max_out_of_line": 0, |
| "has_padding": true, |
| "has_envelope": true, |
| "has_flexible_envelope": false |
| } |
| }, |
| "is_composed": false, |
| "has_error": true, |
| "maybe_response_result_type": { |
| "kind": "identifier", |
| "identifier": "test.bindingsdenylist/DenyEachBinding_OnlyDenySyzkaller_Result", |
| "nullable": false, |
| "type_shape_v1": { |
| "inline_size": 24, |
| "alignment": 8, |
| "depth": 1, |
| "max_handles": 0, |
| "max_out_of_line": 8, |
| "has_padding": true, |
| "has_envelope": true, |
| "has_flexible_envelope": false |
| }, |
| "type_shape_v2": { |
| "inline_size": 16, |
| "alignment": 8, |
| "depth": 1, |
| "max_handles": 0, |
| "max_out_of_line": 0, |
| "has_padding": true, |
| "has_envelope": true, |
| "has_flexible_envelope": false |
| } |
| }, |
| "maybe_response_success_type": { |
| "kind": "identifier", |
| "identifier": "test.bindingsdenylist/DenyEachBinding_OnlyDenySyzkaller_Response", |
| "nullable": false, |
| "type_shape_v1": { |
| "inline_size": 4, |
| "alignment": 4, |
| "depth": 0, |
| "max_handles": 0, |
| "max_out_of_line": 0, |
| "has_padding": false, |
| "has_envelope": false, |
| "has_flexible_envelope": false |
| }, |
| "type_shape_v2": { |
| "inline_size": 4, |
| "alignment": 4, |
| "depth": 0, |
| "max_handles": 0, |
| "max_out_of_line": 0, |
| "has_padding": false, |
| "has_envelope": false, |
| "has_flexible_envelope": false |
| } |
| }, |
| "maybe_response_err_type": { |
| "kind": "primitive", |
| "subtype": "uint32", |
| "type_shape_v1": { |
| "inline_size": 4, |
| "alignment": 4, |
| "depth": 0, |
| "max_handles": 0, |
| "max_out_of_line": 0, |
| "has_padding": false, |
| "has_envelope": false, |
| "has_flexible_envelope": false |
| }, |
| "type_shape_v2": { |
| "inline_size": 4, |
| "alignment": 4, |
| "depth": 0, |
| "max_handles": 0, |
| "max_out_of_line": 0, |
| "has_padding": false, |
| "has_envelope": false, |
| "has_flexible_envelope": false |
| } |
| } |
| } |
| ] |
| }, |
| { |
| "name": "test.bindingsdenylist/ImportsSameNameContext", |
| "location": { |
| "filename": "../../tools/fidl/fidlc/testdata/bindings_denylist/example.test.fidl", |
| "line": 153, |
| "column": 10, |
| "length": 22 |
| }, |
| "composed_protocols": [ |
| { |
| "name": "test.dependent/ContainsDenied", |
| "location": { |
| "filename": "../../tools/fidl/fidlc/testdata/bindings_denylist/example.test.fidl", |
| "line": 154, |
| "column": 13, |
| "length": 29 |
| } |
| }, |
| { |
| "name": "test.dependent/ContainsAllowed", |
| "location": { |
| "filename": "../../tools/fidl/fidlc/testdata/bindings_denylist/example.test.fidl", |
| "line": 155, |
| "column": 13, |
| "length": 30 |
| } |
| } |
| ], |
| "methods": [ |
| { |
| "ordinal": 6808317417318106526, |
| "name": "AlwaysDenied", |
| "location": { |
| "filename": "../../tools/fidl/fidlc/testdata/bindings_denylist/dependent.test.fidl", |
| "line": 12, |
| "column": 5, |
| "length": 12 |
| }, |
| "has_request": true, |
| "maybe_attributes": [ |
| { |
| "name": "bindings_denylist", |
| "arguments": [ |
| { |
| "name": "value", |
| "type": "string", |
| "value": { |
| "kind": "literal", |
| "value": "cpp, dart, go, hlcpp, libfuzzer, llcpp, rust, syzkaller", |
| "expression": "\"cpp, dart, go, hlcpp, libfuzzer, llcpp, rust, syzkaller\"", |
| "literal": { |
| "kind": "string", |
| "value": "cpp, dart, go, hlcpp, libfuzzer, llcpp, rust, syzkaller", |
| "expression": "\"cpp, dart, go, hlcpp, libfuzzer, llcpp, rust, syzkaller\"" |
| } |
| }, |
| "location": { |
| "filename": "../../tools/fidl/fidlc/testdata/bindings_denylist/dependent.test.fidl", |
| "line": 11, |
| "column": 24, |
| "length": 57 |
| } |
| } |
| ], |
| "location": { |
| "filename": "../../tools/fidl/fidlc/testdata/bindings_denylist/dependent.test.fidl", |
| "line": 11, |
| "column": 5, |
| "length": 77 |
| } |
| } |
| ], |
| "maybe_request_payload": { |
| "kind": "identifier", |
| "identifier": "test.dependent/ContainsDeniedAlwaysDeniedRequest", |
| "nullable": false, |
| "type_shape_v1": { |
| "inline_size": 1, |
| "alignment": 1, |
| "depth": 0, |
| "max_handles": 0, |
| "max_out_of_line": 0, |
| "has_padding": false, |
| "has_envelope": false, |
| "has_flexible_envelope": false |
| }, |
| "type_shape_v2": { |
| "inline_size": 1, |
| "alignment": 1, |
| "depth": 0, |
| "max_handles": 0, |
| "max_out_of_line": 0, |
| "has_padding": false, |
| "has_envelope": false, |
| "has_flexible_envelope": false |
| } |
| }, |
| "has_response": false, |
| "is_composed": true, |
| "has_error": false |
| }, |
| { |
| "ordinal": 475191379775102607, |
| "name": "Unattributed", |
| "location": { |
| "filename": "../../tools/fidl/fidlc/testdata/bindings_denylist/dependent.test.fidl", |
| "line": 15, |
| "column": 5, |
| "length": 12 |
| }, |
| "has_request": true, |
| "has_response": false, |
| "is_composed": true, |
| "has_error": false |
| }, |
| { |
| "ordinal": 2914965219653596920, |
| "name": "AlwaysAppearsInImportingLibrary", |
| "location": { |
| "filename": "../../tools/fidl/fidlc/testdata/bindings_denylist/dependent.test.fidl", |
| "line": 19, |
| "column": 5, |
| "length": 31 |
| }, |
| "has_request": true, |
| "has_response": false, |
| "is_composed": true, |
| "has_error": false |
| } |
| ] |
| }, |
| { |
| "name": "test.bindingsdenylist/OnlyCppAndDeps", |
| "location": { |
| "filename": "../../tools/fidl/fidlc/testdata/bindings_denylist/example.test.fidl", |
| "line": 42, |
| "column": 10, |
| "length": 14 |
| }, |
| "maybe_attributes": [ |
| { |
| "name": "bindings_denylist", |
| "arguments": [ |
| { |
| "name": "value", |
| "type": "string", |
| "value": { |
| "kind": "literal", |
| "value": "dart, go, libfuzzer, rust, syzkaller", |
| "expression": "\"dart, go, libfuzzer, rust, syzkaller\"", |
| "literal": { |
| "kind": "string", |
| "value": "dart, go, libfuzzer, rust, syzkaller", |
| "expression": "\"dart, go, libfuzzer, rust, syzkaller\"" |
| } |
| }, |
| "location": { |
| "filename": "../../tools/fidl/fidlc/testdata/bindings_denylist/example.test.fidl", |
| "line": 41, |
| "column": 20, |
| "length": 38 |
| } |
| } |
| ], |
| "location": { |
| "filename": "../../tools/fidl/fidlc/testdata/bindings_denylist/example.test.fidl", |
| "line": 41, |
| "column": 1, |
| "length": 58 |
| } |
| } |
| ], |
| "composed_protocols": [], |
| "methods": [] |
| }, |
| { |
| "name": "test.bindingsdenylist/OnlyLibfuzzerAndDeps", |
| "location": { |
| "filename": "../../tools/fidl/fidlc/testdata/bindings_denylist/example.test.fidl", |
| "line": 37, |
| "column": 10, |
| "length": 20 |
| }, |
| "maybe_attributes": [ |
| { |
| "name": "bindings_denylist", |
| "arguments": [ |
| { |
| "name": "value", |
| "type": "string", |
| "value": { |
| "kind": "literal", |
| "value": "cpp, dart, go, rust, syzkaller", |
| "expression": "\"cpp, dart, go, rust, syzkaller\"", |
| "literal": { |
| "kind": "string", |
| "value": "cpp, dart, go, rust, syzkaller", |
| "expression": "\"cpp, dart, go, rust, syzkaller\"" |
| } |
| }, |
| "location": { |
| "filename": "../../tools/fidl/fidlc/testdata/bindings_denylist/example.test.fidl", |
| "line": 36, |
| "column": 20, |
| "length": 32 |
| } |
| } |
| ], |
| "location": { |
| "filename": "../../tools/fidl/fidlc/testdata/bindings_denylist/example.test.fidl", |
| "line": 36, |
| "column": 1, |
| "length": 52 |
| } |
| } |
| ], |
| "composed_protocols": [], |
| "methods": [] |
| } |
| ], |
| "service_declarations": [ |
| { |
| "name": "test.bindingsdenylist/OnlyHlcpp", |
| "location": { |
| "filename": "../../tools/fidl/fidlc/testdata/bindings_denylist/example.test.fidl", |
| "line": 45, |
| "column": 9, |
| "length": 9 |
| }, |
| "maybe_attributes": [ |
| { |
| "name": "bindings_denylist", |
| "arguments": [ |
| { |
| "name": "value", |
| "type": "string", |
| "value": { |
| "kind": "literal", |
| "value": "cpp, dart, go, libfuzzer, llcpp, rust, syzkaller", |
| "expression": "\"cpp, dart, go, libfuzzer, llcpp, rust, syzkaller\"", |
| "literal": { |
| "kind": "string", |
| "value": "cpp, dart, go, libfuzzer, llcpp, rust, syzkaller", |
| "expression": "\"cpp, dart, go, libfuzzer, llcpp, rust, syzkaller\"" |
| } |
| }, |
| "location": { |
| "filename": "../../tools/fidl/fidlc/testdata/bindings_denylist/example.test.fidl", |
| "line": 44, |
| "column": 20, |
| "length": 50 |
| } |
| } |
| ], |
| "location": { |
| "filename": "../../tools/fidl/fidlc/testdata/bindings_denylist/example.test.fidl", |
| "line": 44, |
| "column": 1, |
| "length": 70 |
| } |
| } |
| ], |
| "members": [] |
| } |
| ], |
| "struct_declarations": [ |
| { |
| "name": "test.bindingsdenylist/AllowedDeniedTopResponse", |
| "naming_context": [ |
| "Allowed", |
| "Denied", |
| "Response" |
| ], |
| "location": { |
| "filename": "../../tools/fidl/fidlc/testdata/bindings_denylist/example.test.fidl", |
| "line": 112, |
| "column": 17, |
| "length": 284 |
| }, |
| "members": [ |
| { |
| "type": { |
| "kind": "identifier", |
| "identifier": "test.bindingsdenylist/Allowed_Denied_Result", |
| "nullable": false, |
| "type_shape_v1": { |
| "inline_size": 24, |
| "alignment": 8, |
| "depth": 3, |
| "max_handles": 0, |
| "max_out_of_line": 80, |
| "has_padding": true, |
| "has_envelope": true, |
| "has_flexible_envelope": true |
| }, |
| "type_shape_v2": { |
| "inline_size": 16, |
| "alignment": 8, |
| "depth": 3, |
| "max_handles": 0, |
| "max_out_of_line": 48, |
| "has_padding": true, |
| "has_envelope": true, |
| "has_flexible_envelope": true |
| } |
| }, |
| "name": "result", |
| "location": { |
| "filename": "generated", |
| "line": 33, |
| "column": 1, |
| "length": 6 |
| }, |
| "field_shape_v1": { |
| "offset": 0, |
| "padding": 0 |
| }, |
| "field_shape_v2": { |
| "offset": 0, |
| "padding": 0 |
| } |
| } |
| ], |
| "resource": false, |
| "type_shape_v1": { |
| "inline_size": 24, |
| "alignment": 8, |
| "depth": 3, |
| "max_handles": 0, |
| "max_out_of_line": 80, |
| "has_padding": true, |
| "has_envelope": true, |
| "has_flexible_envelope": true |
| }, |
| "type_shape_v2": { |
| "inline_size": 16, |
| "alignment": 8, |
| "depth": 3, |
| "max_handles": 0, |
| "max_out_of_line": 48, |
| "has_padding": true, |
| "has_envelope": true, |
| "has_flexible_envelope": true |
| } |
| }, |
| { |
| "name": "test.bindingsdenylist/Allowed_Denied_Response", |
| "naming_context": [ |
| "Allowed", |
| "Denied", |
| "Response", |
| "result", |
| "response" |
| ], |
| "location": { |
| "filename": "../../tools/fidl/fidlc/testdata/bindings_denylist/example.test.fidl", |
| "line": 112, |
| "column": 18, |
| "length": 282 |
| }, |
| "members": [ |
| { |
| "type": { |
| "kind": "identifier", |
| "identifier": "test.bindingsdenylist/ShouldNeverAppearInAnyBinding4", |
| "nullable": false, |
| "type_shape_v1": { |
| "inline_size": 1, |
| "alignment": 1, |
| "depth": 0, |
| "max_handles": 0, |
| "max_out_of_line": 0, |
| "has_padding": false, |
| "has_envelope": false, |
| "has_flexible_envelope": false |
| }, |
| "type_shape_v2": { |
| "inline_size": 1, |
| "alignment": 1, |
| "depth": 0, |
| "max_handles": 0, |
| "max_out_of_line": 0, |
| "has_padding": false, |
| "has_envelope": false, |
| "has_flexible_envelope": false |
| } |
| }, |
| "name": "should_never_appear_in_any_binding_4", |
| "location": { |
| "filename": "../../tools/fidl/fidlc/testdata/bindings_denylist/example.test.fidl", |
| "line": 113, |
| "column": 9, |
| "length": 36 |
| }, |
| "field_shape_v1": { |
| "offset": 0, |
| "padding": 7 |
| }, |
| "field_shape_v2": { |
| "offset": 0, |
| "padding": 7 |
| } |
| }, |
| { |
| "type": { |
| "kind": "identifier", |
| "identifier": "test.bindingsdenylist/ShouldNeverAppearInAnyBinding5", |
| "nullable": false, |
| "type_shape_v1": { |
| "inline_size": 16, |
| "alignment": 8, |
| "depth": 2, |
| "max_handles": 0, |
| "max_out_of_line": 24, |
| "has_padding": true, |
| "has_envelope": true, |
| "has_flexible_envelope": true |
| }, |
| "type_shape_v2": { |
| "inline_size": 16, |
| "alignment": 8, |
| "depth": 2, |
| "max_handles": 0, |
| "max_out_of_line": 8, |
| "has_padding": true, |
| "has_envelope": true, |
| "has_flexible_envelope": true |
| } |
| }, |
| "name": "should_never_appear_in_any_binding_5", |
| "location": { |
| "filename": "../../tools/fidl/fidlc/testdata/bindings_denylist/example.test.fidl", |
| "line": 116, |
| "column": 9, |
| "length": 36 |
| }, |
| "field_shape_v1": { |
| "offset": 8, |
| "padding": 0 |
| }, |
| "field_shape_v2": { |
| "offset": 8, |
| "padding": 0 |
| } |
| }, |
| { |
| "type": { |
| "kind": "identifier", |
| "identifier": "test.bindingsdenylist/ShouldNeverAppearInAnyBinding6", |
| "nullable": false, |
| "type_shape_v1": { |
| "inline_size": 24, |
| "alignment": 8, |
| "depth": 1, |
| "max_handles": 0, |
| "max_out_of_line": 8, |
| "has_padding": true, |
| "has_envelope": true, |
| "has_flexible_envelope": true |
| }, |
| "type_shape_v2": { |
| "inline_size": 16, |
| "alignment": 8, |
| "depth": 1, |
| "max_handles": 0, |
| "max_out_of_line": 0, |
| "has_padding": true, |
| "has_envelope": true, |
| "has_flexible_envelope": true |
| } |
| }, |
| "name": "should_never_appear_in_any_binding_6", |
| "location": { |
| "filename": "../../tools/fidl/fidlc/testdata/bindings_denylist/example.test.fidl", |
| "line": 119, |
| "column": 9, |
| "length": 36 |
| }, |
| "field_shape_v1": { |
| "offset": 24, |
| "padding": 0 |
| }, |
| "field_shape_v2": { |
| "offset": 24, |
| "padding": 0 |
| } |
| } |
| ], |
| "resource": false, |
| "type_shape_v1": { |
| "inline_size": 48, |
| "alignment": 8, |
| "depth": 2, |
| "max_handles": 0, |
| "max_out_of_line": 32, |
| "has_padding": true, |
| "has_envelope": true, |
| "has_flexible_envelope": true |
| }, |
| "type_shape_v2": { |
| "inline_size": 40, |
| "alignment": 8, |
| "depth": 2, |
| "max_handles": 0, |
| "max_out_of_line": 8, |
| "has_padding": true, |
| "has_envelope": true, |
| "has_flexible_envelope": true |
| } |
| }, |
| { |
| "name": "test.bindingsdenylist/DeniedAnonymous", |
| "naming_context": [ |
| "DeniedAnonymous" |
| ], |
| "location": { |
| "filename": "../../tools/fidl/fidlc/testdata/bindings_denylist/example.test.fidl", |
| "line": 126, |
| "column": 6, |
| "length": 15 |
| }, |
| "maybe_attributes": [ |
| { |
| "name": "bindings_denylist", |
| "arguments": [ |
| { |
| "name": "value", |
| "type": "string", |
| "value": { |
| "kind": "literal", |
| "value": "cpp, dart, go, hlcpp, libfuzzer, llcpp, rust, syzkaller", |
| "expression": "\"cpp, dart, go, hlcpp, libfuzzer, llcpp, rust, syzkaller\"", |
| "literal": { |
| "kind": "string", |
| "value": "cpp, dart, go, hlcpp, libfuzzer, llcpp, rust, syzkaller", |
| "expression": "\"cpp, dart, go, hlcpp, libfuzzer, llcpp, rust, syzkaller\"" |
| } |
| }, |
| "location": { |
| "filename": "../../tools/fidl/fidlc/testdata/bindings_denylist/example.test.fidl", |
| "line": 125, |
| "column": 20, |
| "length": 57 |
| } |
| } |
| ], |
| "location": { |
| "filename": "../../tools/fidl/fidlc/testdata/bindings_denylist/example.test.fidl", |
| "line": 125, |
| "column": 1, |
| "length": 77 |
| } |
| } |
| ], |
| "members": [ |
| { |
| "type": { |
| "kind": "identifier", |
| "identifier": "test.bindingsdenylist/ShouldNeverAppearInAnyBinding7", |
| "nullable": false, |
| "type_shape_v1": { |
| "inline_size": 1, |
| "alignment": 1, |
| "depth": 0, |
| "max_handles": 0, |
| "max_out_of_line": 0, |
| "has_padding": false, |
| "has_envelope": false, |
| "has_flexible_envelope": false |
| }, |
| "type_shape_v2": { |
| "inline_size": 1, |
| "alignment": 1, |
| "depth": 0, |
| "max_handles": 0, |
| "max_out_of_line": 0, |
| "has_padding": false, |
| "has_envelope": false, |
| "has_flexible_envelope": false |
| } |
| }, |
| "name": "should_never_appear_in_any_binding_7", |
| "location": { |
| "filename": "../../tools/fidl/fidlc/testdata/bindings_denylist/example.test.fidl", |
| "line": 127, |
| "column": 5, |
| "length": 36 |
| }, |
| "field_shape_v1": { |
| "offset": 0, |
| "padding": 7 |
| }, |
| "field_shape_v2": { |
| "offset": 0, |
| "padding": 7 |
| } |
| }, |
| { |
| "type": { |
| "kind": "identifier", |
| "identifier": "test.bindingsdenylist/ShouldNeverAppearInAnyBinding8", |
| "nullable": false, |
| "type_shape_v1": { |
| "inline_size": 16, |
| "alignment": 8, |
| "depth": 2, |
| "max_handles": 0, |
| "max_out_of_line": 24, |
| "has_padding": true, |
| "has_envelope": true, |
| "has_flexible_envelope": true |
| }, |
| "type_shape_v2": { |
| "inline_size": 16, |
| "alignment": 8, |
| "depth": 2, |
| "max_handles": 0, |
| "max_out_of_line": 8, |
| "has_padding": true, |
| "has_envelope": true, |
| "has_flexible_envelope": true |
| } |
| }, |
| "name": "should_never_appear_in_any_binding_8", |
| "location": { |
| "filename": "../../tools/fidl/fidlc/testdata/bindings_denylist/example.test.fidl", |
| "line": 130, |
| "column": 5, |
| "length": 36 |
| }, |
| "field_shape_v1": { |
| "offset": 8, |
| "padding": 0 |
| }, |
| "field_shape_v2": { |
| "offset": 8, |
| "padding": 0 |
| } |
| }, |
| { |
| "type": { |
| "kind": "identifier", |
| "identifier": "test.bindingsdenylist/ShouldNeverAppearInAnyBinding9", |
| "nullable": false, |
| "type_shape_v1": { |
| "inline_size": 24, |
| "alignment": 8, |
| "depth": 1, |
| "max_handles": 0, |
| "max_out_of_line": 8, |
| "has_padding": true, |
| "has_envelope": true, |
| "has_flexible_envelope": true |
| }, |
| "type_shape_v2": { |
| "inline_size": 16, |
| "alignment": 8, |
| "depth": 1, |
| "max_handles": 0, |
| "max_out_of_line": 0, |
| "has_padding": true, |
| "has_envelope": true, |
| "has_flexible_envelope": true |
| } |
| }, |
| "name": "should_never_appear_in_any_binding_9", |
| "location": { |
| "filename": "../../tools/fidl/fidlc/testdata/bindings_denylist/example.test.fidl", |
| "line": 133, |
| "column": 5, |
| "length": 36 |
| }, |
| "field_shape_v1": { |
| "offset": 24, |
| "padding": 0 |
| }, |
| "field_shape_v2": { |
| "offset": 24, |
| "padding": 0 |
| } |
| } |
| ], |
| "resource": false, |
| "type_shape_v1": { |
| "inline_size": 48, |
| "alignment": 8, |
| "depth": 2, |
| "max_handles": 0, |
| "max_out_of_line": 32, |
| "has_padding": true, |
| "has_envelope": true, |
| "has_flexible_envelope": true |
| }, |
| "type_shape_v2": { |
| "inline_size": 40, |
| "alignment": 8, |
| "depth": 2, |
| "max_handles": 0, |
| "max_out_of_line": 8, |
| "has_padding": true, |
| "has_envelope": true, |
| "has_flexible_envelope": true |
| } |
| }, |
| { |
| "name": "test.bindingsdenylist/DeniedShouldNeverAppearInAnyBindingRequest", |
| "naming_context": [ |
| "Denied", |
| "ShouldNeverAppearInAnyBinding", |
| "Request" |
| ], |
| "location": { |
| "filename": "../../tools/fidl/fidlc/testdata/bindings_denylist/example.test.fidl", |
| "line": 97, |
| "column": 35, |
| "length": 282 |
| }, |
| "members": [ |
| { |
| "type": { |
| "kind": "identifier", |
| "identifier": "test.bindingsdenylist/ShouldNeverAppearInAnyBinding1", |
| "nullable": false, |
| "type_shape_v1": { |
| "inline_size": 1, |
| "alignment": 1, |
| "depth": 0, |
| "max_handles": 0, |
| "max_out_of_line": 0, |
| "has_padding": false, |
| "has_envelope": false, |
| "has_flexible_envelope": false |
| }, |
| "type_shape_v2": { |
| "inline_size": 1, |
| "alignment": 1, |
| "depth": 0, |
| "max_handles": 0, |
| "max_out_of_line": 0, |
| "has_padding": false, |
| "has_envelope": false, |
| "has_flexible_envelope": false |
| } |
| }, |
| "name": "should_never_appear_in_any_binding_1", |
| "location": { |
| "filename": "../../tools/fidl/fidlc/testdata/bindings_denylist/example.test.fidl", |
| "line": 98, |
| "column": 9, |
| "length": 36 |
| }, |
| "field_shape_v1": { |
| "offset": 0, |
| "padding": 7 |
| }, |
| "field_shape_v2": { |
| "offset": 0, |
| "padding": 7 |
| } |
| }, |
| { |
| "type": { |
| "kind": "identifier", |
| "identifier": "test.bindingsdenylist/ShouldNeverAppearInAnyBinding2", |
| "nullable": false, |
| "type_shape_v1": { |
| "inline_size": 16, |
| "alignment": 8, |
| "depth": 2, |
| "max_handles": 0, |
| "max_out_of_line": 24, |
| "has_padding": true, |
| "has_envelope": true, |
| "has_flexible_envelope": true |
| }, |
| "type_shape_v2": { |
| "inline_size": 16, |
| "alignment": 8, |
| "depth": 2, |
| "max_handles": 0, |
| "max_out_of_line": 8, |
| "has_padding": true, |
| "has_envelope": true, |
| "has_flexible_envelope": true |
| } |
| }, |
| "name": "should_never_appear_in_any_binding_2", |
| "location": { |
| "filename": "../../tools/fidl/fidlc/testdata/bindings_denylist/example.test.fidl", |
| "line": 101, |
| "column": 9, |
| "length": 36 |
| }, |
| "field_shape_v1": { |
| "offset": 8, |
| "padding": 0 |
| }, |
| "field_shape_v2": { |
| "offset": 8, |
| "padding": 0 |
| } |
| }, |
| { |
| "type": { |
| "kind": "identifier", |
| "identifier": "test.bindingsdenylist/ShouldNeverAppearInAnyBinding3", |
| "nullable": false, |
| "type_shape_v1": { |
| "inline_size": 24, |
| "alignment": 8, |
| "depth": 1, |
| "max_handles": 0, |
| "max_out_of_line": 8, |
| "has_padding": true, |
| "has_envelope": true, |
| "has_flexible_envelope": true |
| }, |
| "type_shape_v2": { |
| "inline_size": 16, |
| "alignment": 8, |
| "depth": 1, |
| "max_handles": 0, |
| "max_out_of_line": 0, |
| "has_padding": true, |
| "has_envelope": true, |
| "has_flexible_envelope": true |
| } |
| }, |
| "name": "should_never_appear_in_any_binding_3", |
| "location": { |
| "filename": "../../tools/fidl/fidlc/testdata/bindings_denylist/example.test.fidl", |
| "line": 104, |
| "column": 9, |
| "length": 36 |
| }, |
| "field_shape_v1": { |
| "offset": 24, |
| "padding": 0 |
| }, |
| "field_shape_v2": { |
| "offset": 24, |
| "padding": 0 |
| } |
| } |
| ], |
| "resource": false, |
| "type_shape_v1": { |
| "inline_size": 48, |
| "alignment": 8, |
| "depth": 2, |
| "max_handles": 0, |
| "max_out_of_line": 32, |
| "has_padding": true, |
| "has_envelope": true, |
| "has_flexible_envelope": true |
| }, |
| "type_shape_v2": { |
| "inline_size": 40, |
| "alignment": 8, |
| "depth": 2, |
| "max_handles": 0, |
| "max_out_of_line": 8, |
| "has_padding": true, |
| "has_envelope": true, |
| "has_flexible_envelope": true |
| } |
| }, |
| { |
| "name": "test.bindingsdenylist/DenyEachBindingOnlyDenyCppRequest", |
| "naming_context": [ |
| "DenyEachBinding", |
| "OnlyDenyCpp", |
| "Request" |
| ], |
| "location": { |
| "filename": "../../tools/fidl/fidlc/testdata/bindings_denylist/example.test.fidl", |
| "line": 51, |
| "column": 17, |
| "length": 30 |
| }, |
| "members": [ |
| { |
| "type": { |
| "kind": "primitive", |
| "subtype": "bool", |
| "type_shape_v1": { |
| "inline_size": 1, |
| "alignment": 1, |
| "depth": 0, |
| "max_handles": 0, |
| "max_out_of_line": 0, |
| "has_padding": false, |
| "has_envelope": false, |
| "has_flexible_envelope": false |
| }, |
| "type_shape_v2": { |
| "inline_size": 1, |
| "alignment": 1, |
| "depth": 0, |
| "max_handles": 0, |
| "max_out_of_line": 0, |
| "has_padding": false, |
| "has_envelope": false, |
| "has_flexible_envelope": false |
| } |
| }, |
| "name": "a", |
| "location": { |
| "filename": "../../tools/fidl/fidlc/testdata/bindings_denylist/example.test.fidl", |
| "line": 52, |
| "column": 9, |
| "length": 1 |
| }, |
| "field_shape_v1": { |
| "offset": 0, |
| "padding": 0 |
| }, |
| "field_shape_v2": { |
| "offset": 0, |
| "padding": 0 |
| } |
| } |
| ], |
| "resource": false, |
| "type_shape_v1": { |
| "inline_size": 1, |
| "alignment": 1, |
| "depth": 0, |
| "max_handles": 0, |
| "max_out_of_line": 0, |
| "has_padding": false, |
| "has_envelope": false, |
| "has_flexible_envelope": false |
| }, |
| "type_shape_v2": { |
| "inline_size": 1, |
| "alignment": 1, |
| "depth": 0, |
| "max_handles": 0, |
| "max_out_of_line": 0, |
| "has_padding": false, |
| "has_envelope": false, |
| "has_flexible_envelope": false |
| } |
| }, |
| { |
| "name": "test.bindingsdenylist/DenyEachBindingOnlyDenyCppTopResponse", |
| "naming_context": [ |
| "DenyEachBinding", |
| "OnlyDenyCpp", |
| "Response" |
| ], |
| "location": { |
| "filename": "../../tools/fidl/fidlc/testdata/bindings_denylist/example.test.fidl", |
| "line": 53, |
| "column": 11, |
| "length": 33 |
| }, |
| "members": [ |
| { |
| "type": { |
| "kind": "identifier", |
| "identifier": "test.bindingsdenylist/DenyEachBinding_OnlyDenyCpp_Result", |
| "nullable": false, |
| "type_shape_v1": { |
| "inline_size": 24, |
| "alignment": 8, |
| "depth": 1, |
| "max_handles": 0, |
| "max_out_of_line": 8, |
| "has_padding": true, |
| "has_envelope": true, |
| "has_flexible_envelope": false |
| }, |
| "type_shape_v2": { |
| "inline_size": 16, |
| "alignment": 8, |
| "depth": 1, |
| "max_handles": 0, |
| "max_out_of_line": 0, |
| "has_padding": true, |
| "has_envelope": true, |
| "has_flexible_envelope": false |
| } |
| }, |
| "name": "result", |
| "location": { |
| "filename": "generated", |
| "line": 3, |
| "column": 1, |
| "length": 6 |
| }, |
| "field_shape_v1": { |
| "offset": 0, |
| "padding": 0 |
| }, |
| "field_shape_v2": { |
| "offset": 0, |
| "padding": 0 |
| } |
| } |
| ], |
| "resource": false, |
| "type_shape_v1": { |
| "inline_size": 24, |
| "alignment": 8, |
| "depth": 1, |
| "max_handles": 0, |
| "max_out_of_line": 8, |
| "has_padding": true, |
| "has_envelope": true, |
| "has_flexible_envelope": false |
| }, |
| "type_shape_v2": { |
| "inline_size": 16, |
| "alignment": 8, |
| "depth": 1, |
| "max_handles": 0, |
| "max_out_of_line": 0, |
| "has_padding": true, |
| "has_envelope": true, |
| "has_flexible_envelope": false |
| } |
| }, |
| { |
| "name": "test.bindingsdenylist/DenyEachBindingOnlyDenyDartRequest", |
| "naming_context": [ |
| "DenyEachBinding", |
| "OnlyDenyDart", |
| "Request" |
| ], |
| "location": { |
| "filename": "../../tools/fidl/fidlc/testdata/bindings_denylist/example.test.fidl", |
| "line": 58, |
| "column": 18, |
| "length": 30 |
| }, |
| "members": [ |
| { |
| "type": { |
| "kind": "primitive", |
| "subtype": "bool", |
| "type_shape_v1": { |
| "inline_size": 1, |
| "alignment": 1, |
| "depth": 0, |
| "max_handles": 0, |
| "max_out_of_line": 0, |
| "has_padding": false, |
| "has_envelope": false, |
| "has_flexible_envelope": false |
| }, |
| "type_shape_v2": { |
| "inline_size": 1, |
| "alignment": 1, |
| "depth": 0, |
| "max_handles": 0, |
| "max_out_of_line": 0, |
| "has_padding": false, |
| "has_envelope": false, |
| "has_flexible_envelope": false |
| } |
| }, |
| "name": "a", |
| "location": { |
| "filename": "../../tools/fidl/fidlc/testdata/bindings_denylist/example.test.fidl", |
| "line": 59, |
| "column": 9, |
| "length": 1 |
| }, |
| "field_shape_v1": { |
| "offset": 0, |
| "padding": 0 |
| }, |
| "field_shape_v2": { |
| "offset": 0, |
| "padding": 0 |
| } |
| } |
| ], |
| "resource": false, |
| "type_shape_v1": { |
| "inline_size": 1, |
| "alignment": 1, |
| "depth": 0, |
| "max_handles": 0, |
| "max_out_of_line": 0, |
| "has_padding": false, |
| "has_envelope": false, |
| "has_flexible_envelope": false |
| }, |
| "type_shape_v2": { |
| "inline_size": 1, |
| "alignment": 1, |
| "depth": 0, |
| "max_handles": 0, |
| "max_out_of_line": 0, |
| "has_padding": false, |
| "has_envelope": false, |
| "has_flexible_envelope": false |
| } |
| }, |
| { |
| "name": "test.bindingsdenylist/DenyEachBindingOnlyDenyDartTopResponse", |
| "naming_context": [ |
| "DenyEachBinding", |
| "OnlyDenyDart", |
| "Response" |
| ], |
| "location": { |
| "filename": "../../tools/fidl/fidlc/testdata/bindings_denylist/example.test.fidl", |
| "line": 60, |
| "column": 11, |
| "length": 33 |
| }, |
| "members": [ |
| { |
| "type": { |
| "kind": "identifier", |
| "identifier": "test.bindingsdenylist/DenyEachBinding_OnlyDenyDart_Result", |
| "nullable": false, |
| "type_shape_v1": { |
| "inline_size": 24, |
| "alignment": 8, |
| "depth": 1, |
| "max_handles": 0, |
| "max_out_of_line": 8, |
| "has_padding": true, |
| "has_envelope": true, |
| "has_flexible_envelope": false |
| }, |
| "type_shape_v2": { |
| "inline_size": 16, |
| "alignment": 8, |
| "depth": 1, |
| "max_handles": 0, |
| "max_out_of_line": 0, |
| "has_padding": true, |
| "has_envelope": true, |
| "has_flexible_envelope": false |
| } |
| }, |
| "name": "result", |
| "location": { |
| "filename": "generated", |
| "line": 8, |
| "column": 1, |
| "length": 6 |
| }, |
| "field_shape_v1": { |
| "offset": 0, |
| "padding": 0 |
| }, |
| "field_shape_v2": { |
| "offset": 0, |
| "padding": 0 |
| } |
| } |
| ], |
| "resource": false, |
| "type_shape_v1": { |
| "inline_size": 24, |
| "alignment": 8, |
| "depth": 1, |
| "max_handles": 0, |
| "max_out_of_line": 8, |
| "has_padding": true, |
| "has_envelope": true, |
| "has_flexible_envelope": false |
| }, |
| "type_shape_v2": { |
| "inline_size": 16, |
| "alignment": 8, |
| "depth": 1, |
| "max_handles": 0, |
| "max_out_of_line": 0, |
| "has_padding": true, |
| "has_envelope": true, |
| "has_flexible_envelope": false |
| } |
| }, |
| { |
| "name": "test.bindingsdenylist/DenyEachBindingOnlyDenyGoRequest", |
| "naming_context": [ |
| "DenyEachBinding", |
| "OnlyDenyGo", |
| "Request" |
| ], |
| "location": { |
| "filename": "../../tools/fidl/fidlc/testdata/bindings_denylist/example.test.fidl", |
| "line": 65, |
| "column": 16, |
| "length": 30 |
| }, |
| "members": [ |
| { |
| "type": { |
| "kind": "primitive", |
| "subtype": "bool", |
| "type_shape_v1": { |
| "inline_size": 1, |
| "alignment": 1, |
| "depth": 0, |
| "max_handles": 0, |
| "max_out_of_line": 0, |
| "has_padding": false, |
| "has_envelope": false, |
| "has_flexible_envelope": false |
| }, |
| "type_shape_v2": { |
| "inline_size": 1, |
| "alignment": 1, |
| "depth": 0, |
| "max_handles": 0, |
| "max_out_of_line": 0, |
| "has_padding": false, |
| "has_envelope": false, |
| "has_flexible_envelope": false |
| } |
| }, |
| "name": "a", |
| "location": { |
| "filename": "../../tools/fidl/fidlc/testdata/bindings_denylist/example.test.fidl", |
| "line": 66, |
| "column": 9, |
| "length": 1 |
| }, |
| "field_shape_v1": { |
| "offset": 0, |
| "padding": 0 |
| }, |
| "field_shape_v2": { |
| "offset": 0, |
| "padding": 0 |
| } |
| } |
| ], |
| "resource": false, |
| "type_shape_v1": { |
| "inline_size": 1, |
| "alignment": 1, |
| "depth": 0, |
| "max_handles": 0, |
| "max_out_of_line": 0, |
| "has_padding": false, |
| "has_envelope": false, |
| "has_flexible_envelope": false |
| }, |
| "type_shape_v2": { |
| "inline_size": 1, |
| "alignment": 1, |
| "depth": 0, |
| "max_handles": 0, |
| "max_out_of_line": 0, |
| "has_padding": false, |
| "has_envelope": false, |
| "has_flexible_envelope": false |
| } |
| }, |
| { |
| "name": "test.bindingsdenylist/DenyEachBindingOnlyDenyGoTopResponse", |
| "naming_context": [ |
| "DenyEachBinding", |
| "OnlyDenyGo", |
| "Response" |
| ], |
| "location": { |
| "filename": "../../tools/fidl/fidlc/testdata/bindings_denylist/example.test.fidl", |
| "line": 67, |
| "column": 11, |
| "length": 33 |
| }, |
| "members": [ |
| { |
| "type": { |
| "kind": "identifier", |
| "identifier": "test.bindingsdenylist/DenyEachBinding_OnlyDenyGo_Result", |
| "nullable": false, |
| "type_shape_v1": { |
| "inline_size": 24, |
| "alignment": 8, |
| "depth": 1, |
| "max_handles": 0, |
| "max_out_of_line": 8, |
| "has_padding": true, |
| "has_envelope": true, |
| "has_flexible_envelope": false |
| }, |
| "type_shape_v2": { |
| "inline_size": 16, |
| "alignment": 8, |
| "depth": 1, |
| "max_handles": 0, |
| "max_out_of_line": 0, |
| "has_padding": true, |
| "has_envelope": true, |
| "has_flexible_envelope": false |
| } |
| }, |
| "name": "result", |
| "location": { |
| "filename": "generated", |
| "line": 13, |
| "column": 1, |
| "length": 6 |
| }, |
| "field_shape_v1": { |
| "offset": 0, |
| "padding": 0 |
| }, |
| "field_shape_v2": { |
| "offset": 0, |
| "padding": 0 |
| } |
| } |
| ], |
| "resource": false, |
| "type_shape_v1": { |
| "inline_size": 24, |
| "alignment": 8, |
| "depth": 1, |
| "max_handles": 0, |
| "max_out_of_line": 8, |
| "has_padding": true, |
| "has_envelope": true, |
| "has_flexible_envelope": false |
| }, |
| "type_shape_v2": { |
| "inline_size": 16, |
| "alignment": 8, |
| "depth": 1, |
| "max_handles": 0, |
| "max_out_of_line": 0, |
| "has_padding": true, |
| "has_envelope": true, |
| "has_flexible_envelope": false |
| } |
| }, |
| { |
| "name": "test.bindingsdenylist/DenyEachBindingOnlyDenyLibfuzzerRequest", |
| "naming_context": [ |
| "DenyEachBinding", |
| "OnlyDenyLibfuzzer", |
| "Request" |
| ], |
| "location": { |
| "filename": "../../tools/fidl/fidlc/testdata/bindings_denylist/example.test.fidl", |
| "line": 72, |
| "column": 23, |
| "length": 30 |
| }, |
| "members": [ |
| { |
| "type": { |
| "kind": "primitive", |
| "subtype": "bool", |
| "type_shape_v1": { |
| "inline_size": 1, |
| "alignment": 1, |
| "depth": 0, |
| "max_handles": 0, |
| "max_out_of_line": 0, |
| "has_padding": false, |
| "has_envelope": false, |
| "has_flexible_envelope": false |
| }, |
| "type_shape_v2": { |
| "inline_size": 1, |
| "alignment": 1, |
| "depth": 0, |
| "max_handles": 0, |
| "max_out_of_line": 0, |
| "has_padding": false, |
| "has_envelope": false, |
| "has_flexible_envelope": false |
| } |
| }, |
| "name": "a", |
| "location": { |
| "filename": "../../tools/fidl/fidlc/testdata/bindings_denylist/example.test.fidl", |
| "line": 73, |
| "column": 9, |
| "length": 1 |
| }, |
| "field_shape_v1": { |
| "offset": 0, |
| "padding": 0 |
| }, |
| "field_shape_v2": { |
| "offset": 0, |
| "padding": 0 |
| } |
| } |
| ], |
| "resource": false, |
| "type_shape_v1": { |
| "inline_size": 1, |
| "alignment": 1, |
| "depth": 0, |
| "max_handles": 0, |
| "max_out_of_line": 0, |
| "has_padding": false, |
| "has_envelope": false, |
| "has_flexible_envelope": false |
| }, |
| "type_shape_v2": { |
| "inline_size": 1, |
| "alignment": 1, |
| "depth": 0, |
| "max_handles": 0, |
| "max_out_of_line": 0, |
| "has_padding": false, |
| "has_envelope": false, |
| "has_flexible_envelope": false |
| } |
| }, |
| { |
| "name": "test.bindingsdenylist/DenyEachBindingOnlyDenyLibfuzzerTopResponse", |
| "naming_context": [ |
| "DenyEachBinding", |
| "OnlyDenyLibfuzzer", |
| "Response" |
| ], |
| "location": { |
| "filename": "../../tools/fidl/fidlc/testdata/bindings_denylist/example.test.fidl", |
| "line": 74, |
| "column": 11, |
| "length": 33 |
| }, |
| "members": [ |
| { |
| "type": { |
| "kind": "identifier", |
| "identifier": "test.bindingsdenylist/DenyEachBinding_OnlyDenyLibfuzzer_Result", |
| "nullable": false, |
| "type_shape_v1": { |
| "inline_size": 24, |
| "alignment": 8, |
| "depth": 1, |
| "max_handles": 0, |
| "max_out_of_line": 8, |
| "has_padding": true, |
| "has_envelope": true, |
| "has_flexible_envelope": false |
| }, |
| "type_shape_v2": { |
| "inline_size": 16, |
| "alignment": 8, |
| "depth": 1, |
| "max_handles": 0, |
| "max_out_of_line": 0, |
| "has_padding": true, |
| "has_envelope": true, |
| "has_flexible_envelope": false |
| } |
| }, |
| "name": "result", |
| "location": { |
| "filename": "generated", |
| "line": 18, |
| "column": 1, |
| "length": 6 |
| }, |
| "field_shape_v1": { |
| "offset": 0, |
| "padding": 0 |
| }, |
| "field_shape_v2": { |
| "offset": 0, |
| "padding": 0 |
| } |
| } |
| ], |
| "resource": false, |
| "type_shape_v1": { |
| "inline_size": 24, |
| "alignment": 8, |
| "depth": 1, |
| "max_handles": 0, |
| "max_out_of_line": 8, |
| "has_padding": true, |
| "has_envelope": true, |
| "has_flexible_envelope": false |
| }, |
| "type_shape_v2": { |
| "inline_size": 16, |
| "alignment": 8, |
| "depth": 1, |
| "max_handles": 0, |
| "max_out_of_line": 0, |
| "has_padding": true, |
| "has_envelope": true, |
| "has_flexible_envelope": false |
| } |
| }, |
| { |
| "name": "test.bindingsdenylist/DenyEachBindingOnlyDenyRustRequest", |
| "naming_context": [ |
| "DenyEachBinding", |
| "OnlyDenyRust", |
| "Request" |
| ], |
| "location": { |
| "filename": "../../tools/fidl/fidlc/testdata/bindings_denylist/example.test.fidl", |
| "line": 79, |
| "column": 18, |
| "length": 30 |
| }, |
| "members": [ |
| { |
| "type": { |
| "kind": "primitive", |
| "subtype": "bool", |
| "type_shape_v1": { |
| "inline_size": 1, |
| "alignment": 1, |
| "depth": 0, |
| "max_handles": 0, |
| "max_out_of_line": 0, |
| "has_padding": false, |
| "has_envelope": false, |
| "has_flexible_envelope": false |
| }, |
| "type_shape_v2": { |
| "inline_size": 1, |
| "alignment": 1, |
| "depth": 0, |
| "max_handles": 0, |
| "max_out_of_line": 0, |
| "has_padding": false, |
| "has_envelope": false, |
| "has_flexible_envelope": false |
| } |
| }, |
| "name": "a", |
| "location": { |
| "filename": "../../tools/fidl/fidlc/testdata/bindings_denylist/example.test.fidl", |
| "line": 80, |
| "column": 9, |
| "length": 1 |
| }, |
| "field_shape_v1": { |
| "offset": 0, |
| "padding": 0 |
| }, |
| "field_shape_v2": { |
| "offset": 0, |
| "padding": 0 |
| } |
| } |
| ], |
| "resource": false, |
| "type_shape_v1": { |
| "inline_size": 1, |
| "alignment": 1, |
| "depth": 0, |
| "max_handles": 0, |
| "max_out_of_line": 0, |
| "has_padding": false, |
| "has_envelope": false, |
| "has_flexible_envelope": false |
| }, |
| "type_shape_v2": { |
| "inline_size": 1, |
| "alignment": 1, |
| "depth": 0, |
| "max_handles": 0, |
| "max_out_of_line": 0, |
| "has_padding": false, |
| "has_envelope": false, |
| "has_flexible_envelope": false |
| } |
| }, |
| { |
| "name": "test.bindingsdenylist/DenyEachBindingOnlyDenyRustTopResponse", |
| "naming_context": [ |
| "DenyEachBinding", |
| "OnlyDenyRust", |
| "Response" |
| ], |
| "location": { |
| "filename": "../../tools/fidl/fidlc/testdata/bindings_denylist/example.test.fidl", |
| "line": 81, |
| "column": 11, |
| "length": 33 |
| }, |
| "members": [ |
| { |
| "type": { |
| "kind": "identifier", |
| "identifier": "test.bindingsdenylist/DenyEachBinding_OnlyDenyRust_Result", |
| "nullable": false, |
| "type_shape_v1": { |
| "inline_size": 24, |
| "alignment": 8, |
| "depth": 1, |
| "max_handles": 0, |
| "max_out_of_line": 8, |
| "has_padding": true, |
| "has_envelope": true, |
| "has_flexible_envelope": false |
| }, |
| "type_shape_v2": { |
| "inline_size": 16, |
| "alignment": 8, |
| "depth": 1, |
| "max_handles": 0, |
| "max_out_of_line": 0, |
| "has_padding": true, |
| "has_envelope": true, |
| "has_flexible_envelope": false |
| } |
| }, |
| "name": "result", |
| "location": { |
| "filename": "generated", |
| "line": 23, |
| "column": 1, |
| "length": 6 |
| }, |
| "field_shape_v1": { |
| "offset": 0, |
| "padding": 0 |
| }, |
| "field_shape_v2": { |
| "offset": 0, |
| "padding": 0 |
| } |
| } |
| ], |
| "resource": false, |
| "type_shape_v1": { |
| "inline_size": 24, |
| "alignment": 8, |
| "depth": 1, |
| "max_handles": 0, |
| "max_out_of_line": 8, |
| "has_padding": true, |
| "has_envelope": true, |
| "has_flexible_envelope": false |
| }, |
| "type_shape_v2": { |
| "inline_size": 16, |
| "alignment": 8, |
| "depth": 1, |
| "max_handles": 0, |
| "max_out_of_line": 0, |
| "has_padding": true, |
| "has_envelope": true, |
| "has_flexible_envelope": false |
| } |
| }, |
| { |
| "name": "test.bindingsdenylist/DenyEachBindingOnlyDenySyzkallerRequest", |
| "naming_context": [ |
| "DenyEachBinding", |
| "OnlyDenySyzkaller", |
| "Request" |
| ], |
| "location": { |
| "filename": "../../tools/fidl/fidlc/testdata/bindings_denylist/example.test.fidl", |
| "line": 86, |
| "column": 23, |
| "length": 30 |
| }, |
| "members": [ |
| { |
| "type": { |
| "kind": "primitive", |
| "subtype": "bool", |
| "type_shape_v1": { |
| "inline_size": 1, |
| "alignment": 1, |
| "depth": 0, |
| "max_handles": 0, |
| "max_out_of_line": 0, |
| "has_padding": false, |
| "has_envelope": false, |
| "has_flexible_envelope": false |
| }, |
| "type_shape_v2": { |
| "inline_size": 1, |
| "alignment": 1, |
| "depth": 0, |
| "max_handles": 0, |
| "max_out_of_line": 0, |
| "has_padding": false, |
| "has_envelope": false, |
| "has_flexible_envelope": false |
| } |
| }, |
| "name": "a", |
| "location": { |
| "filename": "../../tools/fidl/fidlc/testdata/bindings_denylist/example.test.fidl", |
| "line": 87, |
| "column": 9, |
| "length": 1 |
| }, |
| "field_shape_v1": { |
| "offset": 0, |
| "padding": 0 |
| }, |
| "field_shape_v2": { |
| "offset": 0, |
| "padding": 0 |
| } |
| } |
| ], |
| "resource": false, |
| "type_shape_v1": { |
| "inline_size": 1, |
| "alignment": 1, |
| "depth": 0, |
| "max_handles": 0, |
| "max_out_of_line": 0, |
| "has_padding": false, |
| "has_envelope": false, |
| "has_flexible_envelope": false |
| }, |
| "type_shape_v2": { |
| "inline_size": 1, |
| "alignment": 1, |
| "depth": 0, |
| "max_handles": 0, |
| "max_out_of_line": 0, |
| "has_padding": false, |
| "has_envelope": false, |
| "has_flexible_envelope": false |
| } |
| }, |
| { |
| "name": "test.bindingsdenylist/DenyEachBindingOnlyDenySyzkallerTopResponse", |
| "naming_context": [ |
| "DenyEachBinding", |
| "OnlyDenySyzkaller", |
| "Response" |
| ], |
| "location": { |
| "filename": "../../tools/fidl/fidlc/testdata/bindings_denylist/example.test.fidl", |
| "line": 88, |
| "column": 11, |
| "length": 33 |
| }, |
| "members": [ |
| { |
| "type": { |
| "kind": "identifier", |
| "identifier": "test.bindingsdenylist/DenyEachBinding_OnlyDenySyzkaller_Result", |
| "nullable": false, |
| "type_shape_v1": { |
| "inline_size": 24, |
| "alignment": 8, |
| "depth": 1, |
| "max_handles": 0, |
| "max_out_of_line": 8, |
| "has_padding": true, |
| "has_envelope": true, |
| "has_flexible_envelope": false |
| }, |
| "type_shape_v2": { |
| "inline_size": 16, |
| "alignment": 8, |
| "depth": 1, |
| "max_handles": 0, |
| "max_out_of_line": 0, |
| "has_padding": true, |
| "has_envelope": true, |
| "has_flexible_envelope": false |
| } |
| }, |
| "name": "result", |
| "location": { |
| "filename": "generated", |
| "line": 28, |
| "column": 1, |
| "length": 6 |
| }, |
| "field_shape_v1": { |
| "offset": 0, |
| "padding": 0 |
| }, |
| "field_shape_v2": { |
| "offset": 0, |
| "padding": 0 |
| } |
| } |
| ], |
| "resource": false, |
| "type_shape_v1": { |
| "inline_size": 24, |
| "alignment": 8, |
| "depth": 1, |
| "max_handles": 0, |
| "max_out_of_line": 8, |
| "has_padding": true, |
| "has_envelope": true, |
| "has_flexible_envelope": false |
| }, |
| "type_shape_v2": { |
| "inline_size": 16, |
| "alignment": 8, |
| "depth": 1, |
| "max_handles": 0, |
| "max_out_of_line": 0, |
| "has_padding": true, |
| "has_envelope": true, |
| "has_flexible_envelope": false |
| } |
| }, |
| { |
| "name": "test.bindingsdenylist/DenyEachBinding_OnlyDenyCpp_Response", |
| "naming_context": [ |
| "DenyEachBinding", |
| "OnlyDenyCpp", |
| "Response", |
| "result", |
| "response" |
| ], |
| "location": { |
| "filename": "../../tools/fidl/fidlc/testdata/bindings_denylist/example.test.fidl", |
| "line": 53, |
| "column": 12, |
| "length": 31 |
| }, |
| "members": [ |
| { |
| "type": { |
| "kind": "primitive", |
| "subtype": "int32", |
| "type_shape_v1": { |
| "inline_size": 4, |
| "alignment": 4, |
| "depth": 0, |
| "max_handles": 0, |
| "max_out_of_line": 0, |
| "has_padding": false, |
| "has_envelope": false, |
| "has_flexible_envelope": false |
| }, |
| "type_shape_v2": { |
| "inline_size": 4, |
| "alignment": 4, |
| "depth": 0, |
| "max_handles": 0, |
| "max_out_of_line": 0, |
| "has_padding": false, |
| "has_envelope": false, |
| "has_flexible_envelope": false |
| } |
| }, |
| "name": "b", |
| "location": { |
| "filename": "../../tools/fidl/fidlc/testdata/bindings_denylist/example.test.fidl", |
| "line": 54, |
| "column": 9, |
| "length": 1 |
| }, |
| "field_shape_v1": { |
| "offset": 0, |
| "padding": 0 |
| }, |
| "field_shape_v2": { |
| "offset": 0, |
| "padding": 0 |
| } |
| } |
| ], |
| "resource": false, |
| "type_shape_v1": { |
| "inline_size": 4, |
| "alignment": 4, |
| "depth": 0, |
| "max_handles": 0, |
| "max_out_of_line": 0, |
| "has_padding": false, |
| "has_envelope": false, |
| "has_flexible_envelope": false |
| }, |
| "type_shape_v2": { |
| "inline_size": 4, |
| "alignment": 4, |
| "depth": 0, |
| "max_handles": 0, |
| "max_out_of_line": 0, |
| "has_padding": false, |
| "has_envelope": false, |
| "has_flexible_envelope": false |
| } |
| }, |
| { |
| "name": "test.bindingsdenylist/DenyEachBinding_OnlyDenyDart_Response", |
| "naming_context": [ |
| "DenyEachBinding", |
| "OnlyDenyDart", |
| "Response", |
| "result", |
| "response" |
| ], |
| "location": { |
| "filename": "../../tools/fidl/fidlc/testdata/bindings_denylist/example.test.fidl", |
| "line": 60, |
| "column": 12, |
| "length": 31 |
| }, |
| "members": [ |
| { |
| "type": { |
| "kind": "primitive", |
| "subtype": "int32", |
| "type_shape_v1": { |
| "inline_size": 4, |
| "alignment": 4, |
| "depth": 0, |
| "max_handles": 0, |
| "max_out_of_line": 0, |
| "has_padding": false, |
| "has_envelope": false, |
| "has_flexible_envelope": false |
| }, |
| "type_shape_v2": { |
| "inline_size": 4, |
| "alignment": 4, |
| "depth": 0, |
| "max_handles": 0, |
| "max_out_of_line": 0, |
| "has_padding": false, |
| "has_envelope": false, |
| "has_flexible_envelope": false |
| } |
| }, |
| "name": "b", |
| "location": { |
| "filename": "../../tools/fidl/fidlc/testdata/bindings_denylist/example.test.fidl", |
| "line": 61, |
| "column": 9, |
| "length": 1 |
| }, |
| "field_shape_v1": { |
| "offset": 0, |
| "padding": 0 |
| }, |
| "field_shape_v2": { |
| "offset": 0, |
| "padding": 0 |
| } |
| } |
| ], |
| "resource": false, |
| "type_shape_v1": { |
| "inline_size": 4, |
| "alignment": 4, |
| "depth": 0, |
| "max_handles": 0, |
| "max_out_of_line": 0, |
| "has_padding": false, |
| "has_envelope": false, |
| "has_flexible_envelope": false |
| }, |
| "type_shape_v2": { |
| "inline_size": 4, |
| "alignment": 4, |
| "depth": 0, |
| "max_handles": 0, |
| "max_out_of_line": 0, |
| "has_padding": false, |
| "has_envelope": false, |
| "has_flexible_envelope": false |
| } |
| }, |
| { |
| "name": "test.bindingsdenylist/DenyEachBinding_OnlyDenyGo_Response", |
| "naming_context": [ |
| "DenyEachBinding", |
| "OnlyDenyGo", |
| "Response", |
| "result", |
| "response" |
| ], |
| "location": { |
| "filename": "../../tools/fidl/fidlc/testdata/bindings_denylist/example.test.fidl", |
| "line": 67, |
| "column": 12, |
| "length": 31 |
| }, |
| "members": [ |
| { |
| "type": { |
| "kind": "primitive", |
| "subtype": "int32", |
| "type_shape_v1": { |
| "inline_size": 4, |
| "alignment": 4, |
| "depth": 0, |
| "max_handles": 0, |
| "max_out_of_line": 0, |
| "has_padding": false, |
| "has_envelope": false, |
| "has_flexible_envelope": false |
| }, |
| "type_shape_v2": { |
| "inline_size": 4, |
| "alignment": 4, |
| "depth": 0, |
| "max_handles": 0, |
| "max_out_of_line": 0, |
| "has_padding": false, |
| "has_envelope": false, |
| "has_flexible_envelope": false |
| } |
| }, |
| "name": "b", |
| "location": { |
| "filename": "../../tools/fidl/fidlc/testdata/bindings_denylist/example.test.fidl", |
| "line": 68, |
| "column": 9, |
| "length": 1 |
| }, |
| "field_shape_v1": { |
| "offset": 0, |
| "padding": 0 |
| }, |
| "field_shape_v2": { |
| "offset": 0, |
| "padding": 0 |
| } |
| } |
| ], |
| "resource": false, |
| "type_shape_v1": { |
| "inline_size": 4, |
| "alignment": 4, |
| "depth": 0, |
| "max_handles": 0, |
| "max_out_of_line": 0, |
| "has_padding": false, |
| "has_envelope": false, |
| "has_flexible_envelope": false |
| }, |
| "type_shape_v2": { |
| "inline_size": 4, |
| "alignment": 4, |
| "depth": 0, |
| "max_handles": 0, |
| "max_out_of_line": 0, |
| "has_padding": false, |
| "has_envelope": false, |
| "has_flexible_envelope": false |
| } |
| }, |
| { |
| "name": "test.bindingsdenylist/DenyEachBinding_OnlyDenyLibfuzzer_Response", |
| "naming_context": [ |
| "DenyEachBinding", |
| "OnlyDenyLibfuzzer", |
| "Response", |
| "result", |
| "response" |
| ], |
| "location": { |
| "filename": "../../tools/fidl/fidlc/testdata/bindings_denylist/example.test.fidl", |
| "line": 74, |
| "column": 12, |
| "length": 31 |
| }, |
| "members": [ |
| { |
| "type": { |
| "kind": "primitive", |
| "subtype": "int32", |
| "type_shape_v1": { |
| "inline_size": 4, |
| "alignment": 4, |
| "depth": 0, |
| "max_handles": 0, |
| "max_out_of_line": 0, |
| "has_padding": false, |
| "has_envelope": false, |
| "has_flexible_envelope": false |
| }, |
| "type_shape_v2": { |
| "inline_size": 4, |
| "alignment": 4, |
| "depth": 0, |
| "max_handles": 0, |
| "max_out_of_line": 0, |
| "has_padding": false, |
| "has_envelope": false, |
| "has_flexible_envelope": false |
| } |
| }, |
| "name": "b", |
| "location": { |
| "filename": "../../tools/fidl/fidlc/testdata/bindings_denylist/example.test.fidl", |
| "line": 75, |
| "column": 9, |
| "length": 1 |
| }, |
| "field_shape_v1": { |
| "offset": 0, |
| "padding": 0 |
| }, |
| "field_shape_v2": { |
| "offset": 0, |
| "padding": 0 |
| } |
| } |
| ], |
| "resource": false, |
| "type_shape_v1": { |
| "inline_size": 4, |
| "alignment": 4, |
| "depth": 0, |
| "max_handles": 0, |
| "max_out_of_line": 0, |
| "has_padding": false, |
| "has_envelope": false, |
| "has_flexible_envelope": false |
| }, |
| "type_shape_v2": { |
| "inline_size": 4, |
| "alignment": 4, |
| "depth": 0, |
| "max_handles": 0, |
| "max_out_of_line": 0, |
| "has_padding": false, |
| "has_envelope": false, |
| "has_flexible_envelope": false |
| } |
| }, |
| { |
| "name": "test.bindingsdenylist/DenyEachBinding_OnlyDenyRust_Response", |
| "naming_context": [ |
| "DenyEachBinding", |
| "OnlyDenyRust", |
| "Response", |
| "result", |
| "response" |
| ], |
| "location": { |
| "filename": "../../tools/fidl/fidlc/testdata/bindings_denylist/example.test.fidl", |
| "line": 81, |
| "column": 12, |
| "length": 31 |
| }, |
| "members": [ |
| { |
| "type": { |
| "kind": "primitive", |
| "subtype": "int32", |
| "type_shape_v1": { |
| "inline_size": 4, |
| "alignment": 4, |
| "depth": 0, |
| "max_handles": 0, |
| "max_out_of_line": 0, |
| "has_padding": false, |
| "has_envelope": false, |
| "has_flexible_envelope": false |
| }, |
| "type_shape_v2": { |
| "inline_size": 4, |
| "alignment": 4, |
| "depth": 0, |
| "max_handles": 0, |
| "max_out_of_line": 0, |
| "has_padding": false, |
| "has_envelope": false, |
| "has_flexible_envelope": false |
| } |
| }, |
| "name": "b", |
| "location": { |
| "filename": "../../tools/fidl/fidlc/testdata/bindings_denylist/example.test.fidl", |
| "line": 82, |
| "column": 9, |
| "length": 1 |
| }, |
| "field_shape_v1": { |
| "offset": 0, |
| "padding": 0 |
| }, |
| "field_shape_v2": { |
| "offset": 0, |
| "padding": 0 |
| } |
| } |
| ], |
| "resource": false, |
| "type_shape_v1": { |
| "inline_size": 4, |
| "alignment": 4, |
| "depth": 0, |
| "max_handles": 0, |
| "max_out_of_line": 0, |
| "has_padding": false, |
| "has_envelope": false, |
| "has_flexible_envelope": false |
| }, |
| "type_shape_v2": { |
| "inline_size": 4, |
| "alignment": 4, |
| "depth": 0, |
| "max_handles": 0, |
| "max_out_of_line": 0, |
| "has_padding": false, |
| "has_envelope": false, |
| "has_flexible_envelope": false |
| } |
| }, |
| { |
| "name": "test.bindingsdenylist/DenyEachBinding_OnlyDenySyzkaller_Response", |
| "naming_context": [ |
| "DenyEachBinding", |
| "OnlyDenySyzkaller", |
| "Response", |
| "result", |
| "response" |
| ], |
| "location": { |
| "filename": "../../tools/fidl/fidlc/testdata/bindings_denylist/example.test.fidl", |
| "line": 88, |
| "column": 12, |
| "length": 31 |
| }, |
| "members": [ |
| { |
| "type": { |
| "kind": "primitive", |
| "subtype": "int32", |
| "type_shape_v1": { |
| "inline_size": 4, |
| "alignment": 4, |
| "depth": 0, |
| "max_handles": 0, |
| "max_out_of_line": 0, |
| "has_padding": false, |
| "has_envelope": false, |
| "has_flexible_envelope": false |
| }, |
| "type_shape_v2": { |
| "inline_size": 4, |
| "alignment": 4, |
| "depth": 0, |
| "max_handles": 0, |
| "max_out_of_line": 0, |
| "has_padding": false, |
| "has_envelope": false, |
| "has_flexible_envelope": false |
| } |
| }, |
| "name": "b", |
| "location": { |
| "filename": "../../tools/fidl/fidlc/testdata/bindings_denylist/example.test.fidl", |
| "line": 89, |
| "column": 9, |
| "length": 1 |
| }, |
| "field_shape_v1": { |
| "offset": 0, |
| "padding": 0 |
| }, |
| "field_shape_v2": { |
| "offset": 0, |
| "padding": 0 |
| } |
| } |
| ], |
| "resource": false, |
| "type_shape_v1": { |
| "inline_size": 4, |
| "alignment": 4, |
| "depth": 0, |
| "max_handles": 0, |
| "max_out_of_line": 0, |
| "has_padding": false, |
| "has_envelope": false, |
| "has_flexible_envelope": false |
| }, |
| "type_shape_v2": { |
| "inline_size": 4, |
| "alignment": 4, |
| "depth": 0, |
| "max_handles": 0, |
| "max_out_of_line": 0, |
| "has_padding": false, |
| "has_envelope": false, |
| "has_flexible_envelope": false |
| } |
| }, |
| { |
| "name": "test.bindingsdenylist/MemberOnlyAppearsInImportingLibrary", |
| "naming_context": [ |
| "OnlyAppearsInImportingLibrary", |
| "member_only_appears_in_importing_library" |
| ], |
| "location": { |
| "filename": "../../tools/fidl/fidlc/testdata/bindings_denylist/example.test.fidl", |
| "line": 148, |
| "column": 46, |
| "length": 30 |
| }, |
| "members": [ |
| { |
| "type": { |
| "kind": "primitive", |
| "subtype": "bool", |
| "type_shape_v1": { |
| "inline_size": 1, |
| "alignment": 1, |
| "depth": 0, |
| "max_handles": 0, |
| "max_out_of_line": 0, |
| "has_padding": false, |
| "has_envelope": false, |
| "has_flexible_envelope": false |
| }, |
| "type_shape_v2": { |
| "inline_size": 1, |
| "alignment": 1, |
| "depth": 0, |
| "max_handles": 0, |
| "max_out_of_line": 0, |
| "has_padding": false, |
| "has_envelope": false, |
| "has_flexible_envelope": false |
| } |
| }, |
| "name": "a", |
| "location": { |
| "filename": "../../tools/fidl/fidlc/testdata/bindings_denylist/example.test.fidl", |
| "line": 149, |
| "column": 9, |
| "length": 1 |
| }, |
| "field_shape_v1": { |
| "offset": 0, |
| "padding": 0 |
| }, |
| "field_shape_v2": { |
| "offset": 0, |
| "padding": 0 |
| } |
| } |
| ], |
| "resource": false, |
| "type_shape_v1": { |
| "inline_size": 1, |
| "alignment": 1, |
| "depth": 0, |
| "max_handles": 0, |
| "max_out_of_line": 0, |
| "has_padding": false, |
| "has_envelope": false, |
| "has_flexible_envelope": false |
| }, |
| "type_shape_v2": { |
| "inline_size": 1, |
| "alignment": 1, |
| "depth": 0, |
| "max_handles": 0, |
| "max_out_of_line": 0, |
| "has_padding": false, |
| "has_envelope": false, |
| "has_flexible_envelope": false |
| } |
| }, |
| { |
| "name": "test.bindingsdenylist/OnlyAppearsInImportingLibrary", |
| "naming_context": [ |
| "OnlyAppearsInImportingLibrary" |
| ], |
| "location": { |
| "filename": "../../tools/fidl/fidlc/testdata/bindings_denylist/example.test.fidl", |
| "line": 147, |
| "column": 6, |
| "length": 29 |
| }, |
| "members": [ |
| { |
| "type": { |
| "kind": "identifier", |
| "identifier": "test.bindingsdenylist/MemberOnlyAppearsInImportingLibrary", |
| "nullable": false, |
| "type_shape_v1": { |
| "inline_size": 1, |
| "alignment": 1, |
| "depth": 0, |
| "max_handles": 0, |
| "max_out_of_line": 0, |
| "has_padding": false, |
| "has_envelope": false, |
| "has_flexible_envelope": false |
| }, |
| "type_shape_v2": { |
| "inline_size": 1, |
| "alignment": 1, |
| "depth": 0, |
| "max_handles": 0, |
| "max_out_of_line": 0, |
| "has_padding": false, |
| "has_envelope": false, |
| "has_flexible_envelope": false |
| } |
| }, |
| "name": "member_only_appears_in_importing_library", |
| "location": { |
| "filename": "../../tools/fidl/fidlc/testdata/bindings_denylist/example.test.fidl", |
| "line": 148, |
| "column": 5, |
| "length": 40 |
| }, |
| "field_shape_v1": { |
| "offset": 0, |
| "padding": 0 |
| }, |
| "field_shape_v2": { |
| "offset": 0, |
| "padding": 0 |
| } |
| } |
| ], |
| "resource": false, |
| "type_shape_v1": { |
| "inline_size": 1, |
| "alignment": 1, |
| "depth": 0, |
| "max_handles": 0, |
| "max_out_of_line": 0, |
| "has_padding": false, |
| "has_envelope": false, |
| "has_flexible_envelope": false |
| }, |
| "type_shape_v2": { |
| "inline_size": 1, |
| "alignment": 1, |
| "depth": 0, |
| "max_handles": 0, |
| "max_out_of_line": 0, |
| "has_padding": false, |
| "has_envelope": false, |
| "has_flexible_envelope": false |
| } |
| }, |
| { |
| "name": "test.bindingsdenylist/OnlyGo", |
| "naming_context": [ |
| "OnlyGo" |
| ], |
| "location": { |
| "filename": "../../tools/fidl/fidlc/testdata/bindings_denylist/example.test.fidl", |
| "line": 24, |
| "column": 6, |
| "length": 6 |
| }, |
| "maybe_attributes": [ |
| { |
| "name": "bindings_denylist", |
| "arguments": [ |
| { |
| "name": "value", |
| "type": "string", |
| "value": { |
| "kind": "literal", |
| "value": "cpp, dart, hlcpp, libfuzzer, llcpp, rust, syzkaller", |
| "expression": "\"cpp, dart, hlcpp, libfuzzer, llcpp, rust, syzkaller\"", |
| "literal": { |
| "kind": "string", |
| "value": "cpp, dart, hlcpp, libfuzzer, llcpp, rust, syzkaller", |
| "expression": "\"cpp, dart, hlcpp, libfuzzer, llcpp, rust, syzkaller\"" |
| } |
| }, |
| "location": { |
| "filename": "../../tools/fidl/fidlc/testdata/bindings_denylist/example.test.fidl", |
| "line": 23, |
| "column": 20, |
| "length": 53 |
| } |
| } |
| ], |
| "location": { |
| "filename": "../../tools/fidl/fidlc/testdata/bindings_denylist/example.test.fidl", |
| "line": 23, |
| "column": 1, |
| "length": 73 |
| } |
| } |
| ], |
| "members": [], |
| "resource": false, |
| "type_shape_v1": { |
| "inline_size": 1, |
| "alignment": 1, |
| "depth": 0, |
| "max_handles": 0, |
| "max_out_of_line": 0, |
| "has_padding": false, |
| "has_envelope": false, |
| "has_flexible_envelope": false |
| }, |
| "type_shape_v2": { |
| "inline_size": 1, |
| "alignment": 1, |
| "depth": 0, |
| "max_handles": 0, |
| "max_out_of_line": 0, |
| "has_padding": false, |
| "has_envelope": false, |
| "has_flexible_envelope": false |
| } |
| }, |
| { |
| "name": "test.bindingsdenylist/ShouldNeverAppearInAnyBinding1", |
| "naming_context": [ |
| "Denied", |
| "ShouldNeverAppearInAnyBinding", |
| "Request", |
| "should_never_appear_in_any_binding_1" |
| ], |
| "location": { |
| "filename": "../../tools/fidl/fidlc/testdata/bindings_denylist/example.test.fidl", |
| "line": 98, |
| "column": 46, |
| "length": 38 |
| }, |
| "members": [ |
| { |
| "type": { |
| "kind": "primitive", |
| "subtype": "bool", |
| "type_shape_v1": { |
| "inline_size": 1, |
| "alignment": 1, |
| "depth": 0, |
| "max_handles": 0, |
| "max_out_of_line": 0, |
| "has_padding": false, |
| "has_envelope": false, |
| "has_flexible_envelope": false |
| }, |
| "type_shape_v2": { |
| "inline_size": 1, |
| "alignment": 1, |
| "depth": 0, |
| "max_handles": 0, |
| "max_out_of_line": 0, |
| "has_padding": false, |
| "has_envelope": false, |
| "has_flexible_envelope": false |
| } |
| }, |
| "name": "a", |
| "location": { |
| "filename": "../../tools/fidl/fidlc/testdata/bindings_denylist/example.test.fidl", |
| "line": 99, |
| "column": 13, |
| "length": 1 |
| }, |
| "field_shape_v1": { |
| "offset": 0, |
| "padding": 0 |
| }, |
| "field_shape_v2": { |
| "offset": 0, |
| "padding": 0 |
| } |
| } |
| ], |
| "resource": false, |
| "type_shape_v1": { |
| "inline_size": 1, |
| "alignment": 1, |
| "depth": 0, |
| "max_handles": 0, |
| "max_out_of_line": 0, |
| "has_padding": false, |
| "has_envelope": false, |
| "has_flexible_envelope": false |
| }, |
| "type_shape_v2": { |
| "inline_size": 1, |
| "alignment": 1, |
| "depth": 0, |
| "max_handles": 0, |
| "max_out_of_line": 0, |
| "has_padding": false, |
| "has_envelope": false, |
| "has_flexible_envelope": false |
| } |
| }, |
| { |
| "name": "test.bindingsdenylist/ShouldNeverAppearInAnyBinding4", |
| "naming_context": [ |
| "Allowed", |
| "Denied", |
| "Response", |
| "result", |
| "response", |
| "should_never_appear_in_any_binding_4" |
| ], |
| "location": { |
| "filename": "../../tools/fidl/fidlc/testdata/bindings_denylist/example.test.fidl", |
| "line": 113, |
| "column": 46, |
| "length": 38 |
| }, |
| "members": [ |
| { |
| "type": { |
| "kind": "primitive", |
| "subtype": "bool", |
| "type_shape_v1": { |
| "inline_size": 1, |
| "alignment": 1, |
| "depth": 0, |
| "max_handles": 0, |
| "max_out_of_line": 0, |
| "has_padding": false, |
| "has_envelope": false, |
| "has_flexible_envelope": false |
| }, |
| "type_shape_v2": { |
| "inline_size": 1, |
| "alignment": 1, |
| "depth": 0, |
| "max_handles": 0, |
| "max_out_of_line": 0, |
| "has_padding": false, |
| "has_envelope": false, |
| "has_flexible_envelope": false |
| } |
| }, |
| "name": "a", |
| "location": { |
| "filename": "../../tools/fidl/fidlc/testdata/bindings_denylist/example.test.fidl", |
| "line": 114, |
| "column": 13, |
| "length": 1 |
| }, |
| "field_shape_v1": { |
| "offset": 0, |
| "padding": 0 |
| }, |
| "field_shape_v2": { |
| "offset": 0, |
| "padding": 0 |
| } |
| } |
| ], |
| "resource": false, |
| "type_shape_v1": { |
| "inline_size": 1, |
| "alignment": 1, |
| "depth": 0, |
| "max_handles": 0, |
| "max_out_of_line": 0, |
| "has_padding": false, |
| "has_envelope": false, |
| "has_flexible_envelope": false |
| }, |
| "type_shape_v2": { |
| "inline_size": 1, |
| "alignment": 1, |
| "depth": 0, |
| "max_handles": 0, |
| "max_out_of_line": 0, |
| "has_padding": false, |
| "has_envelope": false, |
| "has_flexible_envelope": false |
| } |
| }, |
| { |
| "name": "test.bindingsdenylist/ShouldNeverAppearInAnyBinding7", |
| "naming_context": [ |
| "DeniedAnonymous", |
| "should_never_appear_in_any_binding_7" |
| ], |
| "location": { |
| "filename": "../../tools/fidl/fidlc/testdata/bindings_denylist/example.test.fidl", |
| "line": 127, |
| "column": 42, |
| "length": 30 |
| }, |
| "members": [ |
| { |
| "type": { |
| "kind": "primitive", |
| "subtype": "bool", |
| "type_shape_v1": { |
| "inline_size": 1, |
| "alignment": 1, |
| "depth": 0, |
| "max_handles": 0, |
| "max_out_of_line": 0, |
| "has_padding": false, |
| "has_envelope": false, |
| "has_flexible_envelope": false |
| }, |
| "type_shape_v2": { |
| "inline_size": 1, |
| "alignment": 1, |
| "depth": 0, |
| "max_handles": 0, |
| "max_out_of_line": 0, |
| "has_padding": false, |
| "has_envelope": false, |
| "has_flexible_envelope": false |
| } |
| }, |
| "name": "a", |
| "location": { |
| "filename": "../../tools/fidl/fidlc/testdata/bindings_denylist/example.test.fidl", |
| "line": 128, |
| "column": 9, |
| "length": 1 |
| }, |
| "field_shape_v1": { |
| "offset": 0, |
| "padding": 0 |
| }, |
| "field_shape_v2": { |
| "offset": 0, |
| "padding": 0 |
| } |
| } |
| ], |
| "resource": false, |
| "type_shape_v1": { |
| "inline_size": 1, |
| "alignment": 1, |
| "depth": 0, |
| "max_handles": 0, |
| "max_out_of_line": 0, |
| "has_padding": false, |
| "has_envelope": false, |
| "has_flexible_envelope": false |
| }, |
| "type_shape_v2": { |
| "inline_size": 1, |
| "alignment": 1, |
| "depth": 0, |
| "max_handles": 0, |
| "max_out_of_line": 0, |
| "has_padding": false, |
| "has_envelope": false, |
| "has_flexible_envelope": false |
| } |
| } |
| ], |
| "external_struct_declarations": [ |
| { |
| "name": "test.dependent/ContainsDeniedAlwaysDeniedRequest", |
| "naming_context": [ |
| "ContainsDenied", |
| "AlwaysDenied", |
| "Request" |
| ], |
| "location": { |
| "filename": "../../tools/fidl/fidlc/testdata/bindings_denylist/dependent.test.fidl", |
| "line": 12, |
| "column": 18, |
| "length": 57 |
| }, |
| "members": [ |
| { |
| "type": { |
| "kind": "identifier", |
| "identifier": "test.dependent/OnlyAppearsInImportingLibrary", |
| "nullable": false, |
| "type_shape_v1": { |
| "inline_size": 1, |
| "alignment": 1, |
| "depth": 0, |
| "max_handles": 0, |
| "max_out_of_line": 0, |
| "has_padding": false, |
| "has_envelope": false, |
| "has_flexible_envelope": false |
| }, |
| "type_shape_v2": { |
| "inline_size": 1, |
| "alignment": 1, |
| "depth": 0, |
| "max_handles": 0, |
| "max_out_of_line": 0, |
| "has_padding": false, |
| "has_envelope": false, |
| "has_flexible_envelope": false |
| } |
| }, |
| "name": "arg", |
| "location": { |
| "filename": "../../tools/fidl/fidlc/testdata/bindings_denylist/dependent.test.fidl", |
| "line": 13, |
| "column": 9, |
| "length": 3 |
| }, |
| "field_shape_v1": { |
| "offset": 0, |
| "padding": 0 |
| }, |
| "field_shape_v2": { |
| "offset": 0, |
| "padding": 0 |
| } |
| } |
| ], |
| "resource": false, |
| "type_shape_v1": { |
| "inline_size": 1, |
| "alignment": 1, |
| "depth": 0, |
| "max_handles": 0, |
| "max_out_of_line": 0, |
| "has_padding": false, |
| "has_envelope": false, |
| "has_flexible_envelope": false |
| }, |
| "type_shape_v2": { |
| "inline_size": 1, |
| "alignment": 1, |
| "depth": 0, |
| "max_handles": 0, |
| "max_out_of_line": 0, |
| "has_padding": false, |
| "has_envelope": false, |
| "has_flexible_envelope": false |
| } |
| } |
| ], |
| "table_declarations": [ |
| { |
| "name": "test.bindingsdenylist/OnlyRust", |
| "naming_context": [ |
| "OnlyRust" |
| ], |
| "location": { |
| "filename": "../../tools/fidl/fidlc/testdata/bindings_denylist/example.test.fidl", |
| "line": 27, |
| "column": 6, |
| "length": 8 |
| }, |
| "maybe_attributes": [ |
| { |
| "name": "bindings_denylist", |
| "arguments": [ |
| { |
| "name": "value", |
| "type": "string", |
| "value": { |
| "kind": "literal", |
| "value": "cpp, dart, go, hlcpp, libfuzzer, llcpp, syzkaller", |
| "expression": "\"cpp, dart, go, hlcpp, libfuzzer, llcpp, syzkaller\"", |
| "literal": { |
| "kind": "string", |
| "value": "cpp, dart, go, hlcpp, libfuzzer, llcpp, syzkaller", |
| "expression": "\"cpp, dart, go, hlcpp, libfuzzer, llcpp, syzkaller\"" |
| } |
| }, |
| "location": { |
| "filename": "../../tools/fidl/fidlc/testdata/bindings_denylist/example.test.fidl", |
| "line": 26, |
| "column": 20, |
| "length": 51 |
| } |
| } |
| ], |
| "location": { |
| "filename": "../../tools/fidl/fidlc/testdata/bindings_denylist/example.test.fidl", |
| "line": 26, |
| "column": 1, |
| "length": 71 |
| } |
| } |
| ], |
| "members": [], |
| "strict": false, |
| "resource": false, |
| "type_shape_v1": { |
| "inline_size": 16, |
| "alignment": 8, |
| "depth": 1, |
| "max_handles": 0, |
| "max_out_of_line": 0, |
| "has_padding": false, |
| "has_envelope": true, |
| "has_flexible_envelope": true |
| }, |
| "type_shape_v2": { |
| "inline_size": 16, |
| "alignment": 8, |
| "depth": 1, |
| "max_handles": 0, |
| "max_out_of_line": 0, |
| "has_padding": false, |
| "has_envelope": true, |
| "has_flexible_envelope": true |
| } |
| }, |
| { |
| "name": "test.bindingsdenylist/ShouldNeverAppearInAnyBinding2", |
| "naming_context": [ |
| "Denied", |
| "ShouldNeverAppearInAnyBinding", |
| "Request", |
| "should_never_appear_in_any_binding_2" |
| ], |
| "location": { |
| "filename": "../../tools/fidl/fidlc/testdata/bindings_denylist/example.test.fidl", |
| "line": 101, |
| "column": 46, |
| "length": 40 |
| }, |
| "members": [ |
| { |
| "ordinal": 1, |
| "reserved": false, |
| "type": { |
| "kind": "primitive", |
| "subtype": "bool", |
| "type_shape_v1": { |
| "inline_size": 1, |
| "alignment": 1, |
| "depth": 0, |
| "max_handles": 0, |
| "max_out_of_line": 0, |
| "has_padding": false, |
| "has_envelope": false, |
| "has_flexible_envelope": false |
| }, |
| "type_shape_v2": { |
| "inline_size": 1, |
| "alignment": 1, |
| "depth": 0, |
| "max_handles": 0, |
| "max_out_of_line": 0, |
| "has_padding": false, |
| "has_envelope": false, |
| "has_flexible_envelope": false |
| } |
| }, |
| "name": "a", |
| "location": { |
| "filename": "../../tools/fidl/fidlc/testdata/bindings_denylist/example.test.fidl", |
| "line": 102, |
| "column": 16, |
| "length": 1 |
| } |
| } |
| ], |
| "strict": false, |
| "resource": false, |
| "type_shape_v1": { |
| "inline_size": 16, |
| "alignment": 8, |
| "depth": 2, |
| "max_handles": 0, |
| "max_out_of_line": 24, |
| "has_padding": true, |
| "has_envelope": true, |
| "has_flexible_envelope": true |
| }, |
| "type_shape_v2": { |
| "inline_size": 16, |
| "alignment": 8, |
| "depth": 2, |
| "max_handles": 0, |
| "max_out_of_line": 8, |
| "has_padding": true, |
| "has_envelope": true, |
| "has_flexible_envelope": true |
| } |
| }, |
| { |
| "name": "test.bindingsdenylist/ShouldNeverAppearInAnyBinding5", |
| "naming_context": [ |
| "Allowed", |
| "Denied", |
| "Response", |
| "result", |
| "response", |
| "should_never_appear_in_any_binding_5" |
| ], |
| "location": { |
| "filename": "../../tools/fidl/fidlc/testdata/bindings_denylist/example.test.fidl", |
| "line": 116, |
| "column": 46, |
| "length": 40 |
| }, |
| "members": [ |
| { |
| "ordinal": 1, |
| "reserved": false, |
| "type": { |
| "kind": "primitive", |
| "subtype": "bool", |
| "type_shape_v1": { |
| "inline_size": 1, |
| "alignment": 1, |
| "depth": 0, |
| "max_handles": 0, |
| "max_out_of_line": 0, |
| "has_padding": false, |
| "has_envelope": false, |
| "has_flexible_envelope": false |
| }, |
| "type_shape_v2": { |
| "inline_size": 1, |
| "alignment": 1, |
| "depth": 0, |
| "max_handles": 0, |
| "max_out_of_line": 0, |
| "has_padding": false, |
| "has_envelope": false, |
| "has_flexible_envelope": false |
| } |
| }, |
| "name": "a", |
| "location": { |
| "filename": "../../tools/fidl/fidlc/testdata/bindings_denylist/example.test.fidl", |
| "line": 117, |
| "column": 16, |
| "length": 1 |
| } |
| } |
| ], |
| "strict": false, |
| "resource": false, |
| "type_shape_v1": { |
| "inline_size": 16, |
| "alignment": 8, |
| "depth": 2, |
| "max_handles": 0, |
| "max_out_of_line": 24, |
| "has_padding": true, |
| "has_envelope": true, |
| "has_flexible_envelope": true |
| }, |
| "type_shape_v2": { |
| "inline_size": 16, |
| "alignment": 8, |
| "depth": 2, |
| "max_handles": 0, |
| "max_out_of_line": 8, |
| "has_padding": true, |
| "has_envelope": true, |
| "has_flexible_envelope": true |
| } |
| }, |
| { |
| "name": "test.bindingsdenylist/ShouldNeverAppearInAnyBinding8", |
| "naming_context": [ |
| "DeniedAnonymous", |
| "should_never_appear_in_any_binding_8" |
| ], |
| "location": { |
| "filename": "../../tools/fidl/fidlc/testdata/bindings_denylist/example.test.fidl", |
| "line": 130, |
| "column": 42, |
| "length": 32 |
| }, |
| "members": [ |
| { |
| "ordinal": 1, |
| "reserved": false, |
| "type": { |
| "kind": "primitive", |
| "subtype": "bool", |
| "type_shape_v1": { |
| "inline_size": 1, |
| "alignment": 1, |
| "depth": 0, |
| "max_handles": 0, |
| "max_out_of_line": 0, |
| "has_padding": false, |
| "has_envelope": false, |
| "has_flexible_envelope": false |
| }, |
| "type_shape_v2": { |
| "inline_size": 1, |
| "alignment": 1, |
| "depth": 0, |
| "max_handles": 0, |
| "max_out_of_line": 0, |
| "has_padding": false, |
| "has_envelope": false, |
| "has_flexible_envelope": false |
| } |
| }, |
| "name": "a", |
| "location": { |
| "filename": "../../tools/fidl/fidlc/testdata/bindings_denylist/example.test.fidl", |
| "line": 131, |
| "column": 12, |
| "length": 1 |
| } |
| } |
| ], |
| "strict": false, |
| "resource": false, |
| "type_shape_v1": { |
| "inline_size": 16, |
| "alignment": 8, |
| "depth": 2, |
| "max_handles": 0, |
| "max_out_of_line": 24, |
| "has_padding": true, |
| "has_envelope": true, |
| "has_flexible_envelope": true |
| }, |
| "type_shape_v2": { |
| "inline_size": 16, |
| "alignment": 8, |
| "depth": 2, |
| "max_handles": 0, |
| "max_out_of_line": 8, |
| "has_padding": true, |
| "has_envelope": true, |
| "has_flexible_envelope": true |
| } |
| } |
| ], |
| "union_declarations": [ |
| { |
| "name": "test.bindingsdenylist/Allowed_Denied_Result", |
| "naming_context": [ |
| "Allowed", |
| "Denied", |
| "Response", |
| "result" |
| ], |
| "location": { |
| "filename": "../../tools/fidl/fidlc/testdata/bindings_denylist/example.test.fidl", |
| "line": 112, |
| "column": 17, |
| "length": 284 |
| }, |
| "maybe_attributes": [ |
| { |
| "name": "result", |
| "arguments": [] |
| } |
| ], |
| "members": [ |
| { |
| "ordinal": 1, |
| "reserved": false, |
| "name": "response", |
| "type": { |
| "kind": "identifier", |
| "identifier": "test.bindingsdenylist/Allowed_Denied_Response", |
| "nullable": false, |
| "type_shape_v1": { |
| "inline_size": 48, |
| "alignment": 8, |
| "depth": 2, |
| "max_handles": 0, |
| "max_out_of_line": 32, |
| "has_padding": true, |
| "has_envelope": true, |
| "has_flexible_envelope": true |
| }, |
| "type_shape_v2": { |
| "inline_size": 40, |
| "alignment": 8, |
| "depth": 2, |
| "max_handles": 0, |
| "max_out_of_line": 8, |
| "has_padding": true, |
| "has_envelope": true, |
| "has_flexible_envelope": true |
| } |
| }, |
| "location": { |
| "filename": "generated", |
| "line": 34, |
| "column": 1, |
| "length": 8 |
| } |
| }, |
| { |
| "ordinal": 2, |
| "reserved": false, |
| "name": "err", |
| "type": { |
| "kind": "primitive", |
| "subtype": "uint32", |
| "type_shape_v1": { |
| "inline_size": 4, |
| "alignment": 4, |
| "depth": 0, |
| "max_handles": 0, |
| "max_out_of_line": 0, |
| "has_padding": false, |
| "has_envelope": false, |
| "has_flexible_envelope": false |
| }, |
| "type_shape_v2": { |
| "inline_size": 4, |
| "alignment": 4, |
| "depth": 0, |
| "max_handles": 0, |
| "max_out_of_line": 0, |
| "has_padding": false, |
| "has_envelope": false, |
| "has_flexible_envelope": false |
| } |
| }, |
| "location": { |
| "filename": "generated", |
| "line": 35, |
| "column": 1, |
| "length": 3 |
| } |
| } |
| ], |
| "strict": true, |
| "resource": false, |
| "type_shape_v1": { |
| "inline_size": 24, |
| "alignment": 8, |
| "depth": 3, |
| "max_handles": 0, |
| "max_out_of_line": 80, |
| "has_padding": true, |
| "has_envelope": true, |
| "has_flexible_envelope": true |
| }, |
| "type_shape_v2": { |
| "inline_size": 16, |
| "alignment": 8, |
| "depth": 3, |
| "max_handles": 0, |
| "max_out_of_line": 48, |
| "has_padding": true, |
| "has_envelope": true, |
| "has_flexible_envelope": true |
| } |
| }, |
| { |
| "name": "test.bindingsdenylist/DenyEachBinding_OnlyDenyCpp_Result", |
| "naming_context": [ |
| "DenyEachBinding", |
| "OnlyDenyCpp", |
| "Response", |
| "result" |
| ], |
| "location": { |
| "filename": "../../tools/fidl/fidlc/testdata/bindings_denylist/example.test.fidl", |
| "line": 53, |
| "column": 11, |
| "length": 33 |
| }, |
| "maybe_attributes": [ |
| { |
| "name": "result", |
| "arguments": [] |
| } |
| ], |
| "members": [ |
| { |
| "ordinal": 1, |
| "reserved": false, |
| "name": "response", |
| "type": { |
| "kind": "identifier", |
| "identifier": "test.bindingsdenylist/DenyEachBinding_OnlyDenyCpp_Response", |
| "nullable": false, |
| "type_shape_v1": { |
| "inline_size": 4, |
| "alignment": 4, |
| "depth": 0, |
| "max_handles": 0, |
| "max_out_of_line": 0, |
| "has_padding": false, |
| "has_envelope": false, |
| "has_flexible_envelope": false |
| }, |
| "type_shape_v2": { |
| "inline_size": 4, |
| "alignment": 4, |
| "depth": 0, |
| "max_handles": 0, |
| "max_out_of_line": 0, |
| "has_padding": false, |
| "has_envelope": false, |
| "has_flexible_envelope": false |
| } |
| }, |
| "location": { |
| "filename": "generated", |
| "line": 4, |
| "column": 1, |
| "length": 8 |
| } |
| }, |
| { |
| "ordinal": 2, |
| "reserved": false, |
| "name": "err", |
| "type": { |
| "kind": "primitive", |
| "subtype": "uint32", |
| "type_shape_v1": { |
| "inline_size": 4, |
| "alignment": 4, |
| "depth": 0, |
| "max_handles": 0, |
| "max_out_of_line": 0, |
| "has_padding": false, |
| "has_envelope": false, |
| "has_flexible_envelope": false |
| }, |
| "type_shape_v2": { |
| "inline_size": 4, |
| "alignment": 4, |
| "depth": 0, |
| "max_handles": 0, |
| "max_out_of_line": 0, |
| "has_padding": false, |
| "has_envelope": false, |
| "has_flexible_envelope": false |
| } |
| }, |
| "location": { |
| "filename": "generated", |
| "line": 5, |
| "column": 1, |
| "length": 3 |
| } |
| } |
| ], |
| "strict": true, |
| "resource": false, |
| "type_shape_v1": { |
| "inline_size": 24, |
| "alignment": 8, |
| "depth": 1, |
| "max_handles": 0, |
| "max_out_of_line": 8, |
| "has_padding": true, |
| "has_envelope": true, |
| "has_flexible_envelope": false |
| }, |
| "type_shape_v2": { |
| "inline_size": 16, |
| "alignment": 8, |
| "depth": 1, |
| "max_handles": 0, |
| "max_out_of_line": 0, |
| "has_padding": true, |
| "has_envelope": true, |
| "has_flexible_envelope": false |
| } |
| }, |
| { |
| "name": "test.bindingsdenylist/DenyEachBinding_OnlyDenyDart_Result", |
| "naming_context": [ |
| "DenyEachBinding", |
| "OnlyDenyDart", |
| "Response", |
| "result" |
| ], |
| "location": { |
| "filename": "../../tools/fidl/fidlc/testdata/bindings_denylist/example.test.fidl", |
| "line": 60, |
| "column": 11, |
| "length": 33 |
| }, |
| "maybe_attributes": [ |
| { |
| "name": "result", |
| "arguments": [] |
| } |
| ], |
| "members": [ |
| { |
| "ordinal": 1, |
| "reserved": false, |
| "name": "response", |
| "type": { |
| "kind": "identifier", |
| "identifier": "test.bindingsdenylist/DenyEachBinding_OnlyDenyDart_Response", |
| "nullable": false, |
| "type_shape_v1": { |
| "inline_size": 4, |
| "alignment": 4, |
| "depth": 0, |
| "max_handles": 0, |
| "max_out_of_line": 0, |
| "has_padding": false, |
| "has_envelope": false, |
| "has_flexible_envelope": false |
| }, |
| "type_shape_v2": { |
| "inline_size": 4, |
| "alignment": 4, |
| "depth": 0, |
| "max_handles": 0, |
| "max_out_of_line": 0, |
| "has_padding": false, |
| "has_envelope": false, |
| "has_flexible_envelope": false |
| } |
| }, |
| "location": { |
| "filename": "generated", |
| "line": 9, |
| "column": 1, |
| "length": 8 |
| } |
| }, |
| { |
| "ordinal": 2, |
| "reserved": false, |
| "name": "err", |
| "type": { |
| "kind": "primitive", |
| "subtype": "uint32", |
| "type_shape_v1": { |
| "inline_size": 4, |
| "alignment": 4, |
| "depth": 0, |
| "max_handles": 0, |
| "max_out_of_line": 0, |
| "has_padding": false, |
| "has_envelope": false, |
| "has_flexible_envelope": false |
| }, |
| "type_shape_v2": { |
| "inline_size": 4, |
| "alignment": 4, |
| "depth": 0, |
| "max_handles": 0, |
| "max_out_of_line": 0, |
| "has_padding": false, |
| "has_envelope": false, |
| "has_flexible_envelope": false |
| } |
| }, |
| "location": { |
| "filename": "generated", |
| "line": 10, |
| "column": 1, |
| "length": 3 |
| } |
| } |
| ], |
| "strict": true, |
| "resource": false, |
| "type_shape_v1": { |
| "inline_size": 24, |
| "alignment": 8, |
| "depth": 1, |
| "max_handles": 0, |
| "max_out_of_line": 8, |
| "has_padding": true, |
| "has_envelope": true, |
| "has_flexible_envelope": false |
| }, |
| "type_shape_v2": { |
| "inline_size": 16, |
| "alignment": 8, |
| "depth": 1, |
| "max_handles": 0, |
| "max_out_of_line": 0, |
| "has_padding": true, |
| "has_envelope": true, |
| "has_flexible_envelope": false |
| } |
| }, |
| { |
| "name": "test.bindingsdenylist/DenyEachBinding_OnlyDenyGo_Result", |
| "naming_context": [ |
| "DenyEachBinding", |
| "OnlyDenyGo", |
| "Response", |
| "result" |
| ], |
| "location": { |
| "filename": "../../tools/fidl/fidlc/testdata/bindings_denylist/example.test.fidl", |
| "line": 67, |
| "column": 11, |
| "length": 33 |
| }, |
| "maybe_attributes": [ |
| { |
| "name": "result", |
| "arguments": [] |
| } |
| ], |
| "members": [ |
| { |
| "ordinal": 1, |
| "reserved": false, |
| "name": "response", |
| "type": { |
| "kind": "identifier", |
| "identifier": "test.bindingsdenylist/DenyEachBinding_OnlyDenyGo_Response", |
| "nullable": false, |
| "type_shape_v1": { |
| "inline_size": 4, |
| "alignment": 4, |
| "depth": 0, |
| "max_handles": 0, |
| "max_out_of_line": 0, |
| "has_padding": false, |
| "has_envelope": false, |
| "has_flexible_envelope": false |
| }, |
| "type_shape_v2": { |
| "inline_size": 4, |
| "alignment": 4, |
| "depth": 0, |
| "max_handles": 0, |
| "max_out_of_line": 0, |
| "has_padding": false, |
| "has_envelope": false, |
| "has_flexible_envelope": false |
| } |
| }, |
| "location": { |
| "filename": "generated", |
| "line": 14, |
| "column": 1, |
| "length": 8 |
| } |
| }, |
| { |
| "ordinal": 2, |
| "reserved": false, |
| "name": "err", |
| "type": { |
| "kind": "primitive", |
| "subtype": "uint32", |
| "type_shape_v1": { |
| "inline_size": 4, |
| "alignment": 4, |
| "depth": 0, |
| "max_handles": 0, |
| "max_out_of_line": 0, |
| "has_padding": false, |
| "has_envelope": false, |
| "has_flexible_envelope": false |
| }, |
| "type_shape_v2": { |
| "inline_size": 4, |
| "alignment": 4, |
| "depth": 0, |
| "max_handles": 0, |
| "max_out_of_line": 0, |
| "has_padding": false, |
| "has_envelope": false, |
| "has_flexible_envelope": false |
| } |
| }, |
| "location": { |
| "filename": "generated", |
| "line": 15, |
| "column": 1, |
| "length": 3 |
| } |
| } |
| ], |
| "strict": true, |
| "resource": false, |
| "type_shape_v1": { |
| "inline_size": 24, |
| "alignment": 8, |
| "depth": 1, |
| "max_handles": 0, |
| "max_out_of_line": 8, |
| "has_padding": true, |
| "has_envelope": true, |
| "has_flexible_envelope": false |
| }, |
| "type_shape_v2": { |
| "inline_size": 16, |
| "alignment": 8, |
| "depth": 1, |
| "max_handles": 0, |
| "max_out_of_line": 0, |
| "has_padding": true, |
| "has_envelope": true, |
| "has_flexible_envelope": false |
| } |
| }, |
| { |
| "name": "test.bindingsdenylist/DenyEachBinding_OnlyDenyLibfuzzer_Result", |
| "naming_context": [ |
| "DenyEachBinding", |
| "OnlyDenyLibfuzzer", |
| "Response", |
| "result" |
| ], |
| "location": { |
| "filename": "../../tools/fidl/fidlc/testdata/bindings_denylist/example.test.fidl", |
| "line": 74, |
| "column": 11, |
| "length": 33 |
| }, |
| "maybe_attributes": [ |
| { |
| "name": "result", |
| "arguments": [] |
| } |
| ], |
| "members": [ |
| { |
| "ordinal": 1, |
| "reserved": false, |
| "name": "response", |
| "type": { |
| "kind": "identifier", |
| "identifier": "test.bindingsdenylist/DenyEachBinding_OnlyDenyLibfuzzer_Response", |
| "nullable": false, |
| "type_shape_v1": { |
| "inline_size": 4, |
| "alignment": 4, |
| "depth": 0, |
| "max_handles": 0, |
| "max_out_of_line": 0, |
| "has_padding": false, |
| "has_envelope": false, |
| "has_flexible_envelope": false |
| }, |
| "type_shape_v2": { |
| "inline_size": 4, |
| "alignment": 4, |
| "depth": 0, |
| "max_handles": 0, |
| "max_out_of_line": 0, |
| "has_padding": false, |
| "has_envelope": false, |
| "has_flexible_envelope": false |
| } |
| }, |
| "location": { |
| "filename": "generated", |
| "line": 19, |
| "column": 1, |
| "length": 8 |
| } |
| }, |
| { |
| "ordinal": 2, |
| "reserved": false, |
| "name": "err", |
| "type": { |
| "kind": "primitive", |
| "subtype": "uint32", |
| "type_shape_v1": { |
| "inline_size": 4, |
| "alignment": 4, |
| "depth": 0, |
| "max_handles": 0, |
| "max_out_of_line": 0, |
| "has_padding": false, |
| "has_envelope": false, |
| "has_flexible_envelope": false |
| }, |
| "type_shape_v2": { |
| "inline_size": 4, |
| "alignment": 4, |
| "depth": 0, |
| "max_handles": 0, |
| "max_out_of_line": 0, |
| "has_padding": false, |
| "has_envelope": false, |
| "has_flexible_envelope": false |
| } |
| }, |
| "location": { |
| "filename": "generated", |
| "line": 20, |
| "column": 1, |
| "length": 3 |
| } |
| } |
| ], |
| "strict": true, |
| "resource": false, |
| "type_shape_v1": { |
| "inline_size": 24, |
| "alignment": 8, |
| "depth": 1, |
| "max_handles": 0, |
| "max_out_of_line": 8, |
| "has_padding": true, |
| "has_envelope": true, |
| "has_flexible_envelope": false |
| }, |
| "type_shape_v2": { |
| "inline_size": 16, |
| "alignment": 8, |
| "depth": 1, |
| "max_handles": 0, |
| "max_out_of_line": 0, |
| "has_padding": true, |
| "has_envelope": true, |
| "has_flexible_envelope": false |
| } |
| }, |
| { |
| "name": "test.bindingsdenylist/DenyEachBinding_OnlyDenyRust_Result", |
| "naming_context": [ |
| "DenyEachBinding", |
| "OnlyDenyRust", |
| "Response", |
| "result" |
| ], |
| "location": { |
| "filename": "../../tools/fidl/fidlc/testdata/bindings_denylist/example.test.fidl", |
| "line": 81, |
| "column": 11, |
| "length": 33 |
| }, |
| "maybe_attributes": [ |
| { |
| "name": "result", |
| "arguments": [] |
| } |
| ], |
| "members": [ |
| { |
| "ordinal": 1, |
| "reserved": false, |
| "name": "response", |
| "type": { |
| "kind": "identifier", |
| "identifier": "test.bindingsdenylist/DenyEachBinding_OnlyDenyRust_Response", |
| "nullable": false, |
| "type_shape_v1": { |
| "inline_size": 4, |
| "alignment": 4, |
| "depth": 0, |
| "max_handles": 0, |
| "max_out_of_line": 0, |
| "has_padding": false, |
| "has_envelope": false, |
| "has_flexible_envelope": false |
| }, |
| "type_shape_v2": { |
| "inline_size": 4, |
| "alignment": 4, |
| "depth": 0, |
| "max_handles": 0, |
| "max_out_of_line": 0, |
| "has_padding": false, |
| "has_envelope": false, |
| "has_flexible_envelope": false |
| } |
| }, |
| "location": { |
| "filename": "generated", |
| "line": 24, |
| "column": 1, |
| "length": 8 |
| } |
| }, |
| { |
| "ordinal": 2, |
| "reserved": false, |
| "name": "err", |
| "type": { |
| "kind": "primitive", |
| "subtype": "uint32", |
| "type_shape_v1": { |
| "inline_size": 4, |
| "alignment": 4, |
| "depth": 0, |
| "max_handles": 0, |
| "max_out_of_line": 0, |
| "has_padding": false, |
| "has_envelope": false, |
| "has_flexible_envelope": false |
| }, |
| "type_shape_v2": { |
| "inline_size": 4, |
| "alignment": 4, |
| "depth": 0, |
| "max_handles": 0, |
| "max_out_of_line": 0, |
| "has_padding": false, |
| "has_envelope": false, |
| "has_flexible_envelope": false |
| } |
| }, |
| "location": { |
| "filename": "generated", |
| "line": 25, |
| "column": 1, |
| "length": 3 |
| } |
| } |
| ], |
| "strict": true, |
| "resource": false, |
| "type_shape_v1": { |
| "inline_size": 24, |
| "alignment": 8, |
| "depth": 1, |
| "max_handles": 0, |
| "max_out_of_line": 8, |
| "has_padding": true, |
| "has_envelope": true, |
| "has_flexible_envelope": false |
| }, |
| "type_shape_v2": { |
| "inline_size": 16, |
| "alignment": 8, |
| "depth": 1, |
| "max_handles": 0, |
| "max_out_of_line": 0, |
| "has_padding": true, |
| "has_envelope": true, |
| "has_flexible_envelope": false |
| } |
| }, |
| { |
| "name": "test.bindingsdenylist/DenyEachBinding_OnlyDenySyzkaller_Result", |
| "naming_context": [ |
| "DenyEachBinding", |
| "OnlyDenySyzkaller", |
| "Response", |
| "result" |
| ], |
| "location": { |
| "filename": "../../tools/fidl/fidlc/testdata/bindings_denylist/example.test.fidl", |
| "line": 88, |
| "column": 11, |
| "length": 33 |
| }, |
| "maybe_attributes": [ |
| { |
| "name": "result", |
| "arguments": [] |
| } |
| ], |
| "members": [ |
| { |
| "ordinal": 1, |
| "reserved": false, |
| "name": "response", |
| "type": { |
| "kind": "identifier", |
| "identifier": "test.bindingsdenylist/DenyEachBinding_OnlyDenySyzkaller_Response", |
| "nullable": false, |
| "type_shape_v1": { |
| "inline_size": 4, |
| "alignment": 4, |
| "depth": 0, |
| "max_handles": 0, |
| "max_out_of_line": 0, |
| "has_padding": false, |
| "has_envelope": false, |
| "has_flexible_envelope": false |
| }, |
| "type_shape_v2": { |
| "inline_size": 4, |
| "alignment": 4, |
| "depth": 0, |
| "max_handles": 0, |
| "max_out_of_line": 0, |
| "has_padding": false, |
| "has_envelope": false, |
| "has_flexible_envelope": false |
| } |
| }, |
| "location": { |
| "filename": "generated", |
| "line": 29, |
| "column": 1, |
| "length": 8 |
| } |
| }, |
| { |
| "ordinal": 2, |
| "reserved": false, |
| "name": "err", |
| "type": { |
| "kind": "primitive", |
| "subtype": "uint32", |
| "type_shape_v1": { |
| "inline_size": 4, |
| "alignment": 4, |
| "depth": 0, |
| "max_handles": 0, |
| "max_out_of_line": 0, |
| "has_padding": false, |
| "has_envelope": false, |
| "has_flexible_envelope": false |
| }, |
| "type_shape_v2": { |
| "inline_size": 4, |
| "alignment": 4, |
| "depth": 0, |
| "max_handles": 0, |
| "max_out_of_line": 0, |
| "has_padding": false, |
| "has_envelope": false, |
| "has_flexible_envelope": false |
| } |
| }, |
| "location": { |
| "filename": "generated", |
| "line": 30, |
| "column": 1, |
| "length": 3 |
| } |
| } |
| ], |
| "strict": true, |
| "resource": false, |
| "type_shape_v1": { |
| "inline_size": 24, |
| "alignment": 8, |
| "depth": 1, |
| "max_handles": 0, |
| "max_out_of_line": 8, |
| "has_padding": true, |
| "has_envelope": true, |
| "has_flexible_envelope": false |
| }, |
| "type_shape_v2": { |
| "inline_size": 16, |
| "alignment": 8, |
| "depth": 1, |
| "max_handles": 0, |
| "max_out_of_line": 0, |
| "has_padding": true, |
| "has_envelope": true, |
| "has_flexible_envelope": false |
| } |
| }, |
| { |
| "name": "test.bindingsdenylist/OnlyLlcpp", |
| "naming_context": [ |
| "OnlyLlcpp" |
| ], |
| "location": { |
| "filename": "../../tools/fidl/fidlc/testdata/bindings_denylist/example.test.fidl", |
| "line": 30, |
| "column": 6, |
| "length": 9 |
| }, |
| "maybe_attributes": [ |
| { |
| "name": "bindings_denylist", |
| "arguments": [ |
| { |
| "name": "value", |
| "type": "string", |
| "value": { |
| "kind": "literal", |
| "value": "cpp, dart, go, hlcpp, libfuzzer, rust, syzkaller", |
| "expression": "\"cpp, dart, go, hlcpp, libfuzzer, rust, syzkaller\"", |
| "literal": { |
| "kind": "string", |
| "value": "cpp, dart, go, hlcpp, libfuzzer, rust, syzkaller", |
| "expression": "\"cpp, dart, go, hlcpp, libfuzzer, rust, syzkaller\"" |
| } |
| }, |
| "location": { |
| "filename": "../../tools/fidl/fidlc/testdata/bindings_denylist/example.test.fidl", |
| "line": 29, |
| "column": 20, |
| "length": 50 |
| } |
| } |
| ], |
| "location": { |
| "filename": "../../tools/fidl/fidlc/testdata/bindings_denylist/example.test.fidl", |
| "line": 29, |
| "column": 1, |
| "length": 70 |
| } |
| } |
| ], |
| "members": [ |
| { |
| "ordinal": 1, |
| "reserved": false, |
| "name": "x", |
| "type": { |
| "kind": "primitive", |
| "subtype": "uint32", |
| "type_shape_v1": { |
| "inline_size": 4, |
| "alignment": 4, |
| "depth": 0, |
| "max_handles": 0, |
| "max_out_of_line": 0, |
| "has_padding": false, |
| "has_envelope": false, |
| "has_flexible_envelope": false |
| }, |
| "type_shape_v2": { |
| "inline_size": 4, |
| "alignment": 4, |
| "depth": 0, |
| "max_handles": 0, |
| "max_out_of_line": 0, |
| "has_padding": false, |
| "has_envelope": false, |
| "has_flexible_envelope": false |
| } |
| }, |
| "location": { |
| "filename": "../../tools/fidl/fidlc/testdata/bindings_denylist/example.test.fidl", |
| "line": 31, |
| "column": 8, |
| "length": 1 |
| } |
| } |
| ], |
| "strict": true, |
| "resource": false, |
| "type_shape_v1": { |
| "inline_size": 24, |
| "alignment": 8, |
| "depth": 1, |
| "max_handles": 0, |
| "max_out_of_line": 8, |
| "has_padding": true, |
| "has_envelope": true, |
| "has_flexible_envelope": false |
| }, |
| "type_shape_v2": { |
| "inline_size": 16, |
| "alignment": 8, |
| "depth": 1, |
| "max_handles": 0, |
| "max_out_of_line": 0, |
| "has_padding": true, |
| "has_envelope": true, |
| "has_flexible_envelope": false |
| } |
| }, |
| { |
| "name": "test.bindingsdenylist/ShouldNeverAppearInAnyBinding3", |
| "naming_context": [ |
| "Denied", |
| "ShouldNeverAppearInAnyBinding", |
| "Request", |
| "should_never_appear_in_any_binding_3" |
| ], |
| "location": { |
| "filename": "../../tools/fidl/fidlc/testdata/bindings_denylist/example.test.fidl", |
| "line": 104, |
| "column": 46, |
| "length": 49 |
| }, |
| "members": [ |
| { |
| "ordinal": 1, |
| "reserved": false, |
| "name": "a", |
| "type": { |
| "kind": "primitive", |
| "subtype": "bool", |
| "type_shape_v1": { |
| "inline_size": 1, |
| "alignment": 1, |
| "depth": 0, |
| "max_handles": 0, |
| "max_out_of_line": 0, |
| "has_padding": false, |
| "has_envelope": false, |
| "has_flexible_envelope": false |
| }, |
| "type_shape_v2": { |
| "inline_size": 1, |
| "alignment": 1, |
| "depth": 0, |
| "max_handles": 0, |
| "max_out_of_line": 0, |
| "has_padding": false, |
| "has_envelope": false, |
| "has_flexible_envelope": false |
| } |
| }, |
| "location": { |
| "filename": "../../tools/fidl/fidlc/testdata/bindings_denylist/example.test.fidl", |
| "line": 105, |
| "column": 16, |
| "length": 1 |
| } |
| } |
| ], |
| "strict": false, |
| "resource": false, |
| "type_shape_v1": { |
| "inline_size": 24, |
| "alignment": 8, |
| "depth": 1, |
| "max_handles": 0, |
| "max_out_of_line": 8, |
| "has_padding": true, |
| "has_envelope": true, |
| "has_flexible_envelope": true |
| }, |
| "type_shape_v2": { |
| "inline_size": 16, |
| "alignment": 8, |
| "depth": 1, |
| "max_handles": 0, |
| "max_out_of_line": 0, |
| "has_padding": true, |
| "has_envelope": true, |
| "has_flexible_envelope": true |
| } |
| }, |
| { |
| "name": "test.bindingsdenylist/ShouldNeverAppearInAnyBinding6", |
| "naming_context": [ |
| "Allowed", |
| "Denied", |
| "Response", |
| "result", |
| "response", |
| "should_never_appear_in_any_binding_6" |
| ], |
| "location": { |
| "filename": "../../tools/fidl/fidlc/testdata/bindings_denylist/example.test.fidl", |
| "line": 119, |
| "column": 46, |
| "length": 49 |
| }, |
| "members": [ |
| { |
| "ordinal": 1, |
| "reserved": false, |
| "name": "a", |
| "type": { |
| "kind": "primitive", |
| "subtype": "bool", |
| "type_shape_v1": { |
| "inline_size": 1, |
| "alignment": 1, |
| "depth": 0, |
| "max_handles": 0, |
| "max_out_of_line": 0, |
| "has_padding": false, |
| "has_envelope": false, |
| "has_flexible_envelope": false |
| }, |
| "type_shape_v2": { |
| "inline_size": 1, |
| "alignment": 1, |
| "depth": 0, |
| "max_handles": 0, |
| "max_out_of_line": 0, |
| "has_padding": false, |
| "has_envelope": false, |
| "has_flexible_envelope": false |
| } |
| }, |
| "location": { |
| "filename": "../../tools/fidl/fidlc/testdata/bindings_denylist/example.test.fidl", |
| "line": 120, |
| "column": 16, |
| "length": 1 |
| } |
| } |
| ], |
| "strict": false, |
| "resource": false, |
| "type_shape_v1": { |
| "inline_size": 24, |
| "alignment": 8, |
| "depth": 1, |
| "max_handles": 0, |
| "max_out_of_line": 8, |
| "has_padding": true, |
| "has_envelope": true, |
| "has_flexible_envelope": true |
| }, |
| "type_shape_v2": { |
| "inline_size": 16, |
| "alignment": 8, |
| "depth": 1, |
| "max_handles": 0, |
| "max_out_of_line": 0, |
| "has_padding": true, |
| "has_envelope": true, |
| "has_flexible_envelope": true |
| } |
| }, |
| { |
| "name": "test.bindingsdenylist/ShouldNeverAppearInAnyBinding9", |
| "naming_context": [ |
| "DeniedAnonymous", |
| "should_never_appear_in_any_binding_9" |
| ], |
| "location": { |
| "filename": "../../tools/fidl/fidlc/testdata/bindings_denylist/example.test.fidl", |
| "line": 133, |
| "column": 42, |
| "length": 41 |
| }, |
| "members": [ |
| { |
| "ordinal": 1, |
| "reserved": false, |
| "name": "a", |
| "type": { |
| "kind": "primitive", |
| "subtype": "bool", |
| "type_shape_v1": { |
| "inline_size": 1, |
| "alignment": 1, |
| "depth": 0, |
| "max_handles": 0, |
| "max_out_of_line": 0, |
| "has_padding": false, |
| "has_envelope": false, |
| "has_flexible_envelope": false |
| }, |
| "type_shape_v2": { |
| "inline_size": 1, |
| "alignment": 1, |
| "depth": 0, |
| "max_handles": 0, |
| "max_out_of_line": 0, |
| "has_padding": false, |
| "has_envelope": false, |
| "has_flexible_envelope": false |
| } |
| }, |
| "location": { |
| "filename": "../../tools/fidl/fidlc/testdata/bindings_denylist/example.test.fidl", |
| "line": 134, |
| "column": 12, |
| "length": 1 |
| } |
| } |
| ], |
| "strict": false, |
| "resource": false, |
| "type_shape_v1": { |
| "inline_size": 24, |
| "alignment": 8, |
| "depth": 1, |
| "max_handles": 0, |
| "max_out_of_line": 8, |
| "has_padding": true, |
| "has_envelope": true, |
| "has_flexible_envelope": true |
| }, |
| "type_shape_v2": { |
| "inline_size": 16, |
| "alignment": 8, |
| "depth": 1, |
| "max_handles": 0, |
| "max_out_of_line": 0, |
| "has_padding": true, |
| "has_envelope": true, |
| "has_flexible_envelope": true |
| } |
| } |
| ], |
| "type_alias_declarations": [], |
| "new_type_declarations": [], |
| "declaration_order": [ |
| "test.bindingsdenylist/ShouldNeverAppearInAnyBinding9", |
| "test.bindingsdenylist/ShouldNeverAppearInAnyBinding8", |
| "test.bindingsdenylist/ShouldNeverAppearInAnyBinding7", |
| "test.bindingsdenylist/DeniedAnonymous", |
| "test.bindingsdenylist/ShouldNeverAppearInAnyBinding6", |
| "test.bindingsdenylist/ShouldNeverAppearInAnyBinding5", |
| "test.bindingsdenylist/ShouldNeverAppearInAnyBinding4", |
| "test.bindingsdenylist/Allowed_Denied_Response", |
| "test.bindingsdenylist/Allowed_Denied_Result", |
| "test.bindingsdenylist/AllowedDeniedTopResponse", |
| "test.bindingsdenylist/Allowed", |
| "test.bindingsdenylist/ShouldNeverAppearInAnyBinding3", |
| "test.bindingsdenylist/ShouldNeverAppearInAnyBinding2", |
| "test.bindingsdenylist/ShouldNeverAppearInAnyBinding1", |
| "test.bindingsdenylist/DeniedShouldNeverAppearInAnyBindingRequest", |
| "test.bindingsdenylist/Denied", |
| "test.bindingsdenylist/OnlySyzkaller", |
| "test.bindingsdenylist/OnlyRust", |
| "test.bindingsdenylist/OnlyLlcpp", |
| "test.bindingsdenylist/OnlyLibfuzzerAndDeps", |
| "test.bindingsdenylist/OnlyHlcpp", |
| "test.bindingsdenylist/OnlyGo", |
| "test.bindingsdenylist/OnlyDart", |
| "test.bindingsdenylist/OnlyCppAndDeps", |
| "test.bindingsdenylist/MemberOnlyAppearsInImportingLibrary", |
| "test.bindingsdenylist/OnlyAppearsInImportingLibrary", |
| "test.bindingsdenylist/ImportsSameNameContext", |
| "test.bindingsdenylist/DenyEachBinding_OnlyDenySyzkaller_Response", |
| "test.bindingsdenylist/DenyEachBinding_OnlyDenySyzkaller_Result", |
| "test.bindingsdenylist/DenyEachBindingOnlyDenySyzkallerTopResponse", |
| "test.bindingsdenylist/DenyEachBinding_OnlyDenyRust_Response", |
| "test.bindingsdenylist/DenyEachBinding_OnlyDenyRust_Result", |
| "test.bindingsdenylist/DenyEachBindingOnlyDenyRustTopResponse", |
| "test.bindingsdenylist/DenyEachBinding_OnlyDenyLibfuzzer_Response", |
| "test.bindingsdenylist/DenyEachBinding_OnlyDenyLibfuzzer_Result", |
| "test.bindingsdenylist/DenyEachBindingOnlyDenyLibfuzzerTopResponse", |
| "test.bindingsdenylist/DenyEachBinding_OnlyDenyGo_Response", |
| "test.bindingsdenylist/DenyEachBinding_OnlyDenyGo_Result", |
| "test.bindingsdenylist/DenyEachBindingOnlyDenyGoTopResponse", |
| "test.bindingsdenylist/DenyEachBinding_OnlyDenyDart_Response", |
| "test.bindingsdenylist/DenyEachBinding_OnlyDenyDart_Result", |
| "test.bindingsdenylist/DenyEachBindingOnlyDenyDartTopResponse", |
| "test.bindingsdenylist/DenyEachBinding_OnlyDenyCpp_Response", |
| "test.bindingsdenylist/DenyEachBinding_OnlyDenyCpp_Result", |
| "test.bindingsdenylist/DenyEachBindingOnlyDenyCppTopResponse", |
| "test.bindingsdenylist/DenyEachBindingOnlyDenySyzkallerRequest", |
| "test.bindingsdenylist/DenyEachBindingOnlyDenyRustRequest", |
| "test.bindingsdenylist/DenyEachBindingOnlyDenyLibfuzzerRequest", |
| "test.bindingsdenylist/DenyEachBindingOnlyDenyGoRequest", |
| "test.bindingsdenylist/DenyEachBindingOnlyDenyDartRequest", |
| "test.bindingsdenylist/DenyEachBindingOnlyDenyCppRequest", |
| "test.bindingsdenylist/DenyEachBinding", |
| "test.bindingsdenylist/ContainsAllowed", |
| "test.bindingsdenylist/AllBindings" |
| ], |
| "declarations": { |
| "test.bindingsdenylist/OnlySyzkaller": "bits", |
| "test.bindingsdenylist/AllBindings": "const", |
| "test.bindingsdenylist/OnlyDart": "enum", |
| "test.bindingsdenylist/Allowed": "protocol", |
| "test.bindingsdenylist/ContainsAllowed": "protocol", |
| "test.bindingsdenylist/Denied": "protocol", |
| "test.bindingsdenylist/DenyEachBinding": "protocol", |
| "test.bindingsdenylist/ImportsSameNameContext": "protocol", |
| "test.bindingsdenylist/OnlyCppAndDeps": "protocol", |
| "test.bindingsdenylist/OnlyLibfuzzerAndDeps": "protocol", |
| "test.bindingsdenylist/OnlyHlcpp": "service", |
| "test.bindingsdenylist/AllowedDeniedTopResponse": "struct", |
| "test.bindingsdenylist/Allowed_Denied_Response": "struct", |
| "test.bindingsdenylist/DeniedAnonymous": "struct", |
| "test.bindingsdenylist/DeniedShouldNeverAppearInAnyBindingRequest": "struct", |
| "test.bindingsdenylist/DenyEachBindingOnlyDenyCppRequest": "struct", |
| "test.bindingsdenylist/DenyEachBindingOnlyDenyCppTopResponse": "struct", |
| "test.bindingsdenylist/DenyEachBindingOnlyDenyDartRequest": "struct", |
| "test.bindingsdenylist/DenyEachBindingOnlyDenyDartTopResponse": "struct", |
| "test.bindingsdenylist/DenyEachBindingOnlyDenyGoRequest": "struct", |
| "test.bindingsdenylist/DenyEachBindingOnlyDenyGoTopResponse": "struct", |
| "test.bindingsdenylist/DenyEachBindingOnlyDenyLibfuzzerRequest": "struct", |
| "test.bindingsdenylist/DenyEachBindingOnlyDenyLibfuzzerTopResponse": "struct", |
| "test.bindingsdenylist/DenyEachBindingOnlyDenyRustRequest": "struct", |
| "test.bindingsdenylist/DenyEachBindingOnlyDenyRustTopResponse": "struct", |
| "test.bindingsdenylist/DenyEachBindingOnlyDenySyzkallerRequest": "struct", |
| "test.bindingsdenylist/DenyEachBindingOnlyDenySyzkallerTopResponse": "struct", |
| "test.bindingsdenylist/DenyEachBinding_OnlyDenyCpp_Response": "struct", |
| "test.bindingsdenylist/DenyEachBinding_OnlyDenyDart_Response": "struct", |
| "test.bindingsdenylist/DenyEachBinding_OnlyDenyGo_Response": "struct", |
| "test.bindingsdenylist/DenyEachBinding_OnlyDenyLibfuzzer_Response": "struct", |
| "test.bindingsdenylist/DenyEachBinding_OnlyDenyRust_Response": "struct", |
| "test.bindingsdenylist/DenyEachBinding_OnlyDenySyzkaller_Response": "struct", |
| "test.bindingsdenylist/MemberOnlyAppearsInImportingLibrary": "struct", |
| "test.bindingsdenylist/OnlyAppearsInImportingLibrary": "struct", |
| "test.bindingsdenylist/OnlyGo": "struct", |
| "test.bindingsdenylist/ShouldNeverAppearInAnyBinding1": "struct", |
| "test.bindingsdenylist/ShouldNeverAppearInAnyBinding4": "struct", |
| "test.bindingsdenylist/ShouldNeverAppearInAnyBinding7": "struct", |
| "test.bindingsdenylist/OnlyRust": "table", |
| "test.bindingsdenylist/ShouldNeverAppearInAnyBinding2": "table", |
| "test.bindingsdenylist/ShouldNeverAppearInAnyBinding5": "table", |
| "test.bindingsdenylist/ShouldNeverAppearInAnyBinding8": "table", |
| "test.bindingsdenylist/Allowed_Denied_Result": "union", |
| "test.bindingsdenylist/DenyEachBinding_OnlyDenyCpp_Result": "union", |
| "test.bindingsdenylist/DenyEachBinding_OnlyDenyDart_Result": "union", |
| "test.bindingsdenylist/DenyEachBinding_OnlyDenyGo_Result": "union", |
| "test.bindingsdenylist/DenyEachBinding_OnlyDenyLibfuzzer_Result": "union", |
| "test.bindingsdenylist/DenyEachBinding_OnlyDenyRust_Result": "union", |
| "test.bindingsdenylist/DenyEachBinding_OnlyDenySyzkaller_Result": "union", |
| "test.bindingsdenylist/OnlyLlcpp": "union", |
| "test.bindingsdenylist/ShouldNeverAppearInAnyBinding3": "union", |
| "test.bindingsdenylist/ShouldNeverAppearInAnyBinding6": "union", |
| "test.bindingsdenylist/ShouldNeverAppearInAnyBinding9": "union" |
| } |
| } |