diff --git a/pkg/proc/target.go b/pkg/proc/target.go index 91d18584ac..a79769536f 100644 --- a/pkg/proc/target.go +++ b/pkg/proc/target.go @@ -451,6 +451,11 @@ func (t *Target) GetBufferedTracepoints() []*UProbeTraceResult { v.Addr = ip.Addr v.Kind = ip.Kind + if v.RealType == nil { + v.Unreadable = errors.New("type not supported by ebpf") + return v + } + cachedMem := CreateLoadedCachedMemory(ip.Data) compMem, _ := CreateCompositeMemory(cachedMem, t.BinInfo().Arch, op.DwarfRegisters{}, ip.Pieces, ip.RealType.Common().ByteSize) v.mem = compMem