Malloc declare for types
Type reading adaptation to kernel/user space