Uploaded image for project: 'Core ReactOS'
  1. Core ReactOS
  2. CORE-4011

log2lines: Enhanced raddr2line replacement

    XMLWordPrintable

Details

    • Improvement
    • Resolution: Fixed
    • Major
    • None
    • Tools
    • Operating System: ReactOS
      Platform: x86 Hardware

    Description

      Created an attachment (id=3800)
      log2lines: Enhanced raddr2line replacement

      Usage: log2lines [-cd:fFhl:mrv] [<exefile> <offset>]

      Description:
      When <exefile> <offset> are given, log2lines works just like raddr2line
      Otherwise it reads stdin and tries to translate lines of the form:
      <IMAGENAME:ADDRESS>

      The result is written to stdout.
      log2lines uses a cache in order to avoid a directory scan at each
      image lookup, greatly increasing performance. Only image path and its
      base address are cached

      Options:
      -c Console mode. Outputs text per character instead of per line.
      This is slightly slower but enables to see what you type.

      -d <directory>
      Directory to scan for images.
      Default: output-32

      -f Force creating new cache.

      -F As -f but exits immediately after creating cache.

      -h This text.

      -l <logFile>
      Append copy to specified logFile.
      Default: no logFile

      -m Prefix (mark) each translated line with '* '.

      -r Raw output without translation.

      -v Show detailed errors and tracing.
      Repeating this option adds more verbosity.
      Default: only (fatal) errors

      Examples:
      Setup is a VMware machine with its serial port set to: '\\.\pipe\kdbg'.

      Just recreate cache after a svn update or a new module has been added:
      log2lines -F

      Use kdbg debugger via console (interactive):
      log2lines -c < \\.\pipe\kdbg

      Use kdbg debugger via console, and append copy to logFile:
      log2lines -c -l dbg.log < \\.\pipe\kdbg

      Use kdbg debugger to send output to logfile:
      log2lines < \\.\pipe\kdbg > dbg.log

      Attachments

        1. log2lines.patch
          24 kB
        2. log2lines-2.patch
          28 kB
        3. log2lines-3.patch
          28 kB
        4. log2lines-4.patch
          28 kB
        5. log2lines-5.patch
          6 kB
        6. log2lines-6.patch
          3 kB
        7. log2lines-7.patch
          4 kB
        8. log2lines-7.patch
          0.4 kB
        9. log2lines-7.patch
          0.4 kB
        10. log2lines-1_0.patch
          15 kB
        11. log2lines-1_1.patch
          15 kB
        12. log2lines-1_2.patch
          10 kB
        13. log2lines-1_3.patch
          17 kB
        14. log2lines-1_4.patch
          17 kB
        15. log2lines-1_5.patch
          11 kB
        16. log2lines-1_6.patch
          37 kB
        17. log2lines-1_7.patch
          38 kB
        18. log2lines-1_8.patch
          1 kB
        19. log2lines-1_9.patch
          25 kB
        20. log2lines-1_9.patch
          25 kB
        21. log2lines-1_11.patch
          8 kB
        22. log2lines-1_12b.patch
          138 kB
        23. log2lines-2_1.patch
          37 kB
        24. log2lines-1_12c.patch
          0.7 kB
        25. log2lines-2_2.patch
          21 kB

        Issue Links

          Activity

            People

              jansssens Jan Roeloffzen
              jansssens Jan Roeloffzen
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: