[llvm-bugs] [Bug 41679] New: --dynamic-table reports garbage when not PT_DYNAMIC is present

via llvm-bugs llvm-bugs at lists.llvm.org
Tue Apr 30 18:07:11 PDT 2019


https://bugs.llvm.org/show_bug.cgi?id=41679

            Bug ID: 41679
           Summary: --dynamic-table reports garbage when not PT_DYNAMIC is
                    present
           Product: tools
           Version: trunk
          Hardware: PC
                OS: Linux
            Status: NEW
          Severity: enhancement
          Priority: P
         Component: llvm-readobj
          Assignee: unassignedbugs at nondot.org
          Reporter: jakehehrlich at google.com
                CC: jh7370.2008 at my.bristol.ac.uk, llvm-bugs at lists.llvm.org

In working on something where I wasn't outputting a PT_DYNAMIC segment yet but
was outputting a .dynamic section I went to check the contents. I got some
garbage and after some debugging decided that my output must be right. After
checking llvm-readobj I discovered that it does not error out when it doesn't
find the dynamic table and the user asks for it.

It should report that no PT_DYNAMIC is present if the user trys to do this.

-- 
You are receiving this mail because:
You are on the CC list for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-bugs/attachments/20190501/5bbca547/attachment.html>


More information about the llvm-bugs mailing list