File: test-pb.data

package info (click to toggle)
yara 4.5.4-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 13,820 kB
  • sloc: ansic: 52,244; yacc: 2,873; lex: 2,019; cpp: 863; makefile: 479; javascript: 85; sh: 47; python: 35
file content (26 lines) | stat: -rw-r--r-- 589 bytes parent folder | download | duplicates (5)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
#
# Data used by test-pb.c.
#
# The structure for this data is defined in:
#   libyara/modules/pb_tests/pb_tests.proto
#
# Use the command below for encoding the data in binary form:
#   protoc -I./libyara/pb -I./libyara/modules/pb_tests --encode=test.RootMessage \
#     libyara/modules/pb_tests/pb_tests.proto < tests/data/test-pb.data > tests/data/test-pb.data.bin
#

f_int32: 1111
f_int64: 2222
f_string: "foo"
f_struct_array: [
    {
        f_string: "bar"
        f_enum: 1
    },
    {
        f_string: "baz"
        f_nested_struct: {
            f_int32: 3333
        }
    }
]