mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-05-13 17:38:39 +00:00
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
10 lines
220 B
Python
10 lines
220 B
Python
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)
|