Class Addr2line


  • public class Addr2line
    extends java.lang.Object
    • Constructor Summary

      Constructors 
      Constructor Description
      Addr2line​(java.lang.String file)  
      Addr2line​(java.lang.String command, java.lang.String file)  
      Addr2line​(java.lang.String command, java.lang.String[] params, java.lang.String file)  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      void dispose()  
      java.lang.String getFileName​(IAddress address)
      The format of the output: addr2line -C -f -e hello 08048442 main hello.c:39
      java.lang.String getFunction​(IAddress address)  
      java.lang.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​(java.lang.String address)  
      protected void init​(java.lang.String command, java.lang.String[] params, java.lang.String file)  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • Addr2line

        public Addr2line​(java.lang.String command,
                         java.lang.String[] params,
                         java.lang.String file)
                  throws java.io.IOException
        Throws:
        java.io.IOException
      • Addr2line

        public Addr2line​(java.lang.String command,
                         java.lang.String file)
                  throws java.io.IOException
        Throws:
        java.io.IOException
      • Addr2line

        public Addr2line​(java.lang.String file)
                  throws java.io.IOException
        Throws:
        java.io.IOException
    • Method Detail

      • init

        protected void init​(java.lang.String command,
                            java.lang.String[] params,
                            java.lang.String file)
                     throws java.io.IOException
        Throws:
        java.io.IOException
      • getOutput

        protected void getOutput​(java.lang.String address)
                          throws java.io.IOException
        Throws:
        java.io.IOException
      • getLine

        public java.lang.String getLine​(IAddress address)
                                 throws java.io.IOException
        Throws:
        java.io.IOException
      • getFunction

        public java.lang.String getFunction​(IAddress address)
                                     throws java.io.IOException
        Throws:
        java.io.IOException
      • getFileName

        public java.lang.String getFileName​(IAddress address)
                                     throws java.io.IOException
        The format of the output: addr2line -C -f -e hello 08048442 main hello.c:39
        Throws:
        java.io.IOException
      • getLineNumber

        public int getLineNumber​(IAddress address)
                          throws java.io.IOException
        The format of the output: addr2line -C -f -e hello 08048442 main hello.c:39
        Throws:
        java.io.IOException
      • dispose

        public void dispose()