summaryrefslogtreecommitdiffstats
path: root/test/fuzz/fuzz-varlink-idl
diff options
context:
space:
mode:
authorDaniel Baumann <daniel.baumann@progress-linux.org>2024-04-10 20:49:52 +0000
committerDaniel Baumann <daniel.baumann@progress-linux.org>2024-04-10 20:49:52 +0000
commit55944e5e40b1be2afc4855d8d2baf4b73d1876b5 (patch)
tree33f869f55a1b149e9b7c2b7e201867ca5dd52992 /test/fuzz/fuzz-varlink-idl
parentInitial commit. (diff)
downloadsystemd-55944e5e40b1be2afc4855d8d2baf4b73d1876b5.tar.xz
systemd-55944e5e40b1be2afc4855d8d2baf4b73d1876b5.zip
Adding upstream version 255.4.upstream/255.4
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'test/fuzz/fuzz-varlink-idl')
-rw-r--r--test/fuzz/fuzz-varlink-idl/crash-d1860f2bbin0 -> 168 bytes
-rw-r--r--test/fuzz/fuzz-varlink-idl/interface1100
2 files changed, 100 insertions, 0 deletions
diff --git a/test/fuzz/fuzz-varlink-idl/crash-d1860f2b b/test/fuzz/fuzz-varlink-idl/crash-d1860f2b
new file mode 100644
index 0000000..db72088
--- /dev/null
+++ b/test/fuzz/fuzz-varlink-idl/crash-d1860f2b
Binary files differ
diff --git a/test/fuzz/fuzz-varlink-idl/interface1 b/test/fuzz/fuzz-varlink-idl/interface1
new file mode 100644
index 0000000..eea873d
--- /dev/null
+++ b/test/fuzz/fuzz-varlink-idl/interface1
@@ -0,0 +1,100 @@
+# https://varlink.org/Interface-Definition
+interface org.foo.bar
+
+type MyOtherType(
+ x: T
+)
+
+type T ( x: TT )
+type TT ( x: TTT )
+type TTT ( x: TTTT )
+type TTTT ( x: TTTTT )
+type TTTTT ( x: TTTTTT )
+type TTTTTT ( x: TTTTTTT )
+type TTTTTTT ( x: TTTTTTTT )
+type TTTTTTTT ( x: TTTTTTTTT )
+type TTTTTTTTT ( x: TTTTTTTTTT )
+type TTTTTTTTTT ( x: TTTTTTTTTTT )
+type TTTTTTTTTTT ( x: TTTTTTTTTTTT )
+type TTTTTTTTTTTT ( x: TTTTTTTTTTTTT )
+type TTTTTTTTTTTTT ( x: TTTTTTTTTTTTTT )
+type TTTTTTTTTTTTTT ( x: TTTTTTTTTTTTTTT )
+type TTTTTTTTTTTTTTT ( x: TTTTTTTTTTTTTTTT )
+type TTTTTTTTTTTTTTTT ( x: TTTTTTTTTTTTTTTTT )
+type TTTTTTTTTTTTTTTTT ( x: TTTTTTTTTTTTTTTTTT )
+type TTTTTTTTTTTTTTTTTT ( x: TTTTTTTTTTTTTTTTTTT )
+type TTTTTTTTTTTTTTTTTTT ( x: TTTTTTTTTTTTTTTTTTTT )
+type TTTTTTTTTTTTTTTTTTTT ( x: TTTTTTTTTTTTTTTTTTTTT )
+type TTTTTTTTTTTTTTTTTTTTT ( x: TTTTTTTTTTTTTTTTTTTTTT )
+type TTTTTTTTTTTTTTTTTTTTTT ( x: TTTTTTTTTTTTTTTTTTTTTTT )
+type TTTTTTTTTTTTTTTTTTTTTTT ( x: TTTTTTTTTTTTTTTTTTTTTTTT )
+type TTTTTTTTTTTTTTTTTTTTTTTT ( x: TTTTTTTTTTTTTTTTTTTTTTTTT )
+type TTTTTTTTTTTTTTTTTTTTTTTTT ( x: TTTTTTTTTTTTTTTTTTTTTTTTTT )
+type TTTTTTTTTTTTTTTTTTTTTTTTTT ( x: TTTTTTTTTTTTTTTTTTTTTTTTTTT )
+type TTTTTTTTTTTTTTTTTTTTTTTTTTT ( x: TTTTTTTTTTTTTTTTTTTTTTTTTTTT )
+type TTTTTTTTTTTTTTTTTTTTTTTTTTTT ( x: TTTTTTTTTTTTTTTTTTTTTTTTTTTTT )
+type TTTTTTTTTTTTTTTTTTTTTTTTTTTTT ( x: TTTTTTTTTTTTTTTTTTTTTTTTTTTTTT )
+type TTTTTTTTTTTTTTTTTTTTTTTTTTTTTT ( x: TTTTTTTTTTTTTTTTTTTTTTTTTTTTTTT )
+type TTTTTTTTTTTTTTTTTTTTTTTTTTTTTT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TTTTTTTTTTTTTTTTTTTTTTTTT )
+type TTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTT ( x: TTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTT )
+type TTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTT ( x: TTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTT )
+type TTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTT ( x: TTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTT )
+type TTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTT ( x: TTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTT )
+type TTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTT ( x: bool )
+
+type MyType (
+ example_bool: bool,
+ example_int: int,
+ example_float: float,
+ example_string: string,
+ example_object: object,
+ example_enum_single: (one),
+ example_enum: (one, two, three),
+ example_struct_single: (first: int),
+ example_struct: (first: int, second: string),
+ example_array: []string,
+ example_dictionary: [string]string,
+ example_stringset: [string](a, b, c),
+ example_stringset2: [string](a: int, b: bool, c: object),
+ example_nullable: ?string,
+ example_nullable_array_struct: ?[](first: int, second: string),
+ example_other_type: MyOtherType
+)
+
+method Foo(a: int, b: MyType) -> (bar: []string, baz: float, more: (i: int, f: float, s: string))
+method VoidArgs() -> (a: int)
+method VoidRet(a: int) -> ()
+method Void() -> ()
+
+error UnknownAction(action: string, more_data: ?string)
+error VoidError()