proc: remove unused functions (#3479)

This commit is contained in:
Alessandro Arzilli 2023-08-23 18:49:54 +02:00 committed by GitHub
parent 5f01e72bb8
commit 789f8b4054
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -613,17 +613,6 @@ func (scope *EvalScope) image() *Image {
return scope.BinInfo.funcToImage(scope.Fn)
}
// DwarfReader returns the DwarfReader containing the
// Dwarf information for the target process.
func (scope *EvalScope) DwarfReader() *reader.Reader {
return scope.image().DwarfReader()
}
// PtrSize returns the size of a pointer.
func (scope *EvalScope) PtrSize() int {
return scope.BinInfo.Arch.PtrSize()
}
func (scope *EvalScope) evalAST(t ast.Expr) (*Variable, error) {
switch node := t.(type) {
case *ast.CallExpr: