<html>
    <head>
      <base href="http://llvm.org/bugs/" />
    </head>
    <body><table border="1" cellspacing="0" cellpadding="8">
        <tr>
          <th>Bug ID</th>
          <td><a class="bz_bug_link 
          bz_status_NEW "
   title="NEW --- - Uninitialized read in ARMDisassembler"
   href="http://llvm.org/bugs/show_bug.cgi?id=16132">16132</a>
          </td>
        </tr>

        <tr>
          <th>Summary</th>
          <td>Uninitialized read in ARMDisassembler
          </td>
        </tr>

        <tr>
          <th>Product</th>
          <td>libraries
          </td>
        </tr>

        <tr>
          <th>Version</th>
          <td>trunk
          </td>
        </tr>

        <tr>
          <th>Hardware</th>
          <td>PC
          </td>
        </tr>

        <tr>
          <th>OS</th>
          <td>Linux
          </td>
        </tr>

        <tr>
          <th>Status</th>
          <td>NEW
          </td>
        </tr>

        <tr>
          <th>Severity</th>
          <td>normal
          </td>
        </tr>

        <tr>
          <th>Priority</th>
          <td>P
          </td>
        </tr>

        <tr>
          <th>Component</th>
          <td>MC
          </td>
        </tr>

        <tr>
          <th>Assignee</th>
          <td>unassignedbugs@nondot.org
          </td>
        </tr>

        <tr>
          <th>Reporter</th>
          <td>eugeni.stepanov@gmail.com
          </td>
        </tr>

        <tr>
          <th>CC</th>
          <td>llvmbugs@cs.uiuc.edu
          </td>
        </tr>

        <tr>
          <th>Classification</th>
          <td>Unclassified
          </td>
        </tr></table>
      <p>
        <div>
        <pre>Running test/MC/ARM/AlignedBundling/group-bundle-arm.s test with
MemorySanitizer:

WARNING: Use of uninitialized value
    #0 0x7fa2d67b109c in llvm::MCDisassembler::DecodeStatus
llvm::decodeInstruction<unsigned int>(unsigned char const*, llvm::MCInst&,
unsigned int, unsigned long, void const*, llvm::MCSubtargetInfo const&)
build_msan/lib/Target/ARM/ARMGenDisassemblerTables.inc:12545
    #1 0x7fa2d6a3619d in (anonymous
namespace)::ARMDisassembler::getInstruction(llvm::MCInst&, unsigned long&,
llvm::MemoryObject const&, unsigned long, llvm::raw_ostream&,
llvm::raw_ostream&) const lib/Target/ARM/Disassembler/ARMDisassembler.cpp:428
    #2 0x7fa2d6233be7 in DisassembleObject(llvm::object::ObjectFile const*,
bool) tools/llvm-objdump/llvm-objdump.cpp:469
    #3 0x7fa2d6225de5 in DumpObject(llvm::object::ObjectFile const*)
tools/llvm-objdump/llvm-objdump.cpp:758
    #4 0x7fa2d622369f in DumpInput(llvm::StringRef)
tools/llvm-objdump/llvm-objdump.cpp:816
    #5 0x7fa2d62579fa in void
(*std::for_each<__gnu_cxx::__normal_iterator<std::string*,
std::vector<std::string, std::allocator<std::string> > >, void
(*)(llvm::StringRef)>(__gnu_cxx::__normal_iterator<std::string*,
std::vector<std::string, std::allocator<std::string> > >,
__gnu_cxx::__normal_iterator<std::string*, std::vector<std::string,
std::allocator<std::string> > >, void (*)(llvm::StringRef)))(llvm::StringRef)
/usr/lib/gcc/x86_64-linux-gnu/4.6/../../../../include/c++/4.6/bits/stl_algo.h:4379
    #6 0x7fa2d6221a3f in main tools/llvm-objdump/llvm-objdump.cpp:856
  Uninitialized value was created by a heap allocation
    #0 0x7fa2d62163b3 in operator new(unsigned long, std::nothrow_t const&)
build/../projects/compiler-rt/lib/msan/msan_new_delete.cc:42
    #1 0x7fa2d83a90c8 in llvm::MemoryBuffer::getNewUninitMemBuffer(unsigned
long, llvm::StringRef) lib/Support/MemoryBuffer.cpp:140
    #2 0x7fa2d83af1c5 in llvm::MemoryBuffer::getOpenFile(int, char const*,
llvm::OwningPtr<llvm::MemoryBuffer>&, unsigned long, unsigned long, long, bool)
lib/Support/MemoryBuffer.cpp:372
    #3 0x7fa2d83acf01 in llvm::MemoryBuffer::getFile(char const*,
llvm::OwningPtr<llvm::MemoryBuffer>&, long, bool)
lib/Support/MemoryBuffer.cpp:284
    #4 0x7fa2d83abbe6 in llvm::MemoryBuffer::getFile(llvm::StringRef,
llvm::OwningPtr<llvm::MemoryBuffer>&, long, bool)
lib/Support/MemoryBuffer.cpp:257
    #5 0x7fa2d83aacab in llvm::MemoryBuffer::getFileOrSTDIN(llvm::StringRef,
llvm::OwningPtr<llvm::MemoryBuffer>&, long) lib/Support/MemoryBuffer.cpp:174
    #6 0x7fa2d7e80c52 in llvm::object::createBinary(llvm::StringRef,
llvm::OwningPtr<llvm::object::Binary>&) lib/Object/Binary.cpp:100
    #7 0x7fa2d6222ca8 in DumpInput(llvm::StringRef)
tools/llvm-objdump/llvm-objdump.cpp:808
    #8 0x7fa2d62579fa in void
(*std::for_each<__gnu_cxx::__normal_iterator<std::string*,
std::vector<std::string, std::allocator<std::string> > >, void
(*)(llvm::StringRef)>(__gnu_cxx::__normal_iterator<std::string*,
std::vector<std::string, std::allocator<std::string> > >,
__gnu_cxx::__normal_iterator<std::string*, std::vector<std::string,
std::allocator<std::string> > >, void (*)(llvm::StringRef)))(llvm::StringRef)
/usr/lib/gcc/x86_64-linux-gnu/4.6/../../../../include/c++/4.6/bits/stl_algo.h:4379
    #9 0x7fa2d6221a3f in main tools/llvm-objdump/llvm-objdump.cpp:856

This started happening in the [182625, 182628] revision range.</pre>
        </div>
      </p>
      <hr>
      <span>You are receiving this mail because:</span>
      
      <ul>
          <li>You are on the CC list for the bug.</li>
      </ul>
    </body>
</html>