mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-06-28 22:24:28 +00:00
[llvm.py] Implement interface to object files
It is now possible to load object files and scan over sections, symbols, and relocations! Includes test code with partial coverage. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@152482 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
9
bindings/python/llvm/tests/test_core.py
Normal file
9
bindings/python/llvm/tests/test_core.py
Normal file
@ -0,0 +1,9 @@
|
||||
from llvm.core import MemoryBuffer
|
||||
|
||||
from .base import TestBase
|
||||
|
||||
class TestCore(TestBase):
|
||||
def test_memory_buffer_create_from_file(self):
|
||||
source = self.get_test_binary()
|
||||
|
||||
MemoryBuffer(filename=source)
|
Reference in New Issue
Block a user