title: Getting magic number error?
body: <p>The error I am getting is here:</p>
  
  <pre><code>Traceback (most recent call last):
    File "test.py", line 391, in &lt;module&gt;
      main()
    File "test.py", line 385, in main
      find_rop_gadgets('libc.so')
    File "test.py", line 78, in find_rop_gadgets
      e = elf.ELF(path)
    File "/usr/local/lib/python2.7/dist-packages/pwnlib/elf/__init__.py", line 54, in __init__
      super(ELF,self).__init__(self.mmap)
    File "/usr/local/lib/python2.7/dist-packages/elftools/elf/elffile.py", line 50, in __init__
      self._identify_file()
    File "/usr/local/lib/python2.7/dist-packages/elftools/elf/elffile.py", line 201, in _identify_file
      elf_assert(magic == b'\x7fELF', 'Magic number does not match')
    File "/usr/local/lib/python2.7/dist-packages/elftools/common/utils.py", line 69, in elf_assert
      _assert_with_exception(cond, msg, ELFError)
    File "/usr/local/lib/python2.7/dist-packages/elftools/common/utils.py", line 101, in _assert_with_exception
      raise exception_type(msg)
  elftools.common.exceptions.ELFError: Magic number does not match
  </code></pre>
  
  <p>What is the magic number in python?What does the error in the above code means?</p>