public class Addr2line extends Object
Constructor and Description |
---|
Addr2line(String file) |
Addr2line(String command,
String file) |
Addr2line(String command,
String[] params,
String file) |
Modifier and Type | Method and Description |
---|---|
void |
dispose() |
String |
getFileName(IAddress address)
The format of the output:
addr2line -C -f -e hello
08048442
main
hello.c:39
|
String |
getFunction(IAddress address) |
String |
getLine(IAddress address) |
int |
getLineNumber(IAddress address)
The format of the output:
addr2line -C -f -e hello
08048442
main
hello.c:39
|
protected void |
getOutput(String address) |
protected void |
init(String command,
String[] params,
String file) |
public Addr2line(String command, String[] params, String file) throws IOException
IOException
public Addr2line(String command, String file) throws IOException
IOException
public Addr2line(String file) throws IOException
IOException
protected void init(String command, String[] params, String file) throws IOException
IOException
protected void getOutput(String address) throws IOException
IOException
public String getLine(IAddress address) throws IOException
IOException
public String getFunction(IAddress address) throws IOException
IOException
public String getFileName(IAddress address) throws IOException
IOException
public int getLineNumber(IAddress address) throws IOException
IOException
public void dispose()
Copyright (c) IBM Corp. and others 2004, 2020. All Rights Reserved.