syzkaller/pkg/serializer
Dmitry Vyukov b8bb8e5f8e pkg/serializer: support primitive user types in interfaces
Add handling of user types that has underlying primitive types.
Consider:

	type T int
	var obj interface{} = T(42)

T has kind reflect.Int. But if we serialize obj as just "42",
it will be turned into plain int.
Detect this case and serialize obj as "T(42)".
2020-04-25 11:01:02 +02:00
..
serializer_test.go pkg/serializer: support primitive user types in interfaces 2020-04-25 11:01:02 +02:00
serializer.go pkg/serializer: support primitive user types in interfaces 2020-04-25 11:01:02 +02:00