Home
last modified time | relevance | path

Searched refs:new_type (Results 1 – 1 of 1) sorted by relevance

/tools/security/fuzzing/orphans/libffi/
Dfuzz_ffi.cc38 ffi_type* new_type = reinterpret_cast<ffi_type*>(malloc(sizeof(ffi_type))); in generateCustomType() local
39 ffi_alloc_vector.push_back(new_type); in generateCustomType()
41 new_type->size = 0; in generateCustomType()
42 new_type->alignment = 0; in generateCustomType()
43 new_type->type = FFI_TYPE_STRUCT; in generateCustomType()
48 new_type->elements = reinterpret_cast<ffi_type**>( in generateCustomType()
56 new_type->elements[i] = getRandomType(dataProvider, false); in generateCustomType()
60 new_type->elements[num_elements] = NULL; in generateCustomType()
63 ffi_get_struct_offsets(abi, new_type, NULL); in generateCustomType()
65 return new_type; in generateCustomType()