From d115ffb7136df4a0601614bb032ec6109b570563 Mon Sep 17 00:00:00 2001 From: Zxilly Date: Sat, 8 Jun 2024 15:00:08 +0800 Subject: [PATCH] chore: remove todo --- internal/disasm/interface_test.go | 11 +++++------ 1 file changed, 5 insertions(+), 6 deletions(-) diff --git a/internal/disasm/interface_test.go b/internal/disasm/interface_test.go index eae5c38ecb..d0ef514b9c 100644 --- a/internal/disasm/interface_test.go +++ b/internal/disasm/interface_test.go @@ -19,8 +19,7 @@ type TestFileWrapper struct { } func (t TestFileWrapper) DWARF() (*dwarf.Data, error) { - //TODO implement me - panic("implement me") + panic("not reachable") } func (t TestFileWrapper) Text() (textStart uint64, text []byte, err error) { @@ -32,19 +31,19 @@ func (t TestFileWrapper) GoArch() string { } func (TestFileWrapper) ReadAddr(_, _ uint64) ([]byte, error) { - panic("implement me") + panic("not reachable") } func (TestFileWrapper) LoadSymbols(_ func(name string, addr uint64, size uint64, typ entity.AddrType) error) error { - panic("implement me") + panic("not reachable") } func (TestFileWrapper) LoadSections() map[string]*entity.Section { - panic("implement me") + panic("not reachable") } func (TestFileWrapper) PclntabSections() []string { - panic("implement me") + panic("not reachable") } func TestNewExtractorNoText(t *testing.T) {