Skip to main content
Archived

This project has been archived by its maintainers, and is no longer receiving any updates.

Elf wrapper

Build Status Coverage Status

This tool use the pyelftools to parse the elf file, and provide a interface for user to get the global variable address informations.

Installation

Install use pip.

$ pip install python_elf_wrapper

How to use it

from elf_addr_dict import ElfAddrObj
elf = ElfAddrObj(r"example/test.elf")
var_addr = elf.get_var_addrs('TestStructVar1')
print(var_addr)
enum_info = self.get_enum_info('TestEnumAType')

Supported variable types

  • structure
  • structure array
  • structure array filed
  • array

Todos

  • to add support for bit filed members

License

MIT

Metadata

Release files for python-elf-wrapper 0.0.2

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for python-elf-wrapper 0.0.2
File Size Uploaded
python_elf_wrapper-0.0.2.tar.gz 1.8 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for python-elf-wrapper 0.0.2
File Interpreter ABI Platform
python_elf_wrapper-0.0.2-py3-none-any.whl Python 3 none any Details

Total release size: 3.5 kB

Release files / python_elf_wrapper-0.0.2.tar.gz

Download URL python_elf_wrapper-0.0.2.tar.gz
Size 1.8 kB
Tags Source
SHA-256 checksum
How to use checksums
a8132124a32f4d49b534a15fd85307045caf85ffdca266f9832d71ded8735db8
BLAKE2b-256 checksum
How to use checksums
d48f95a37834a2a558fc17672867ba02a4fd6264b9408fa4ab3ae17ea51a4743
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.1.1 pkginfo/1.5.0.1 requests/2.23.0 setuptools/40.8.0 requests-toolbelt/0.9.1 tqdm/4.43.0 CPython/3.8.2

Release files / python_elf_wrapper-0.0.2-py3-none-any.whl

Download URL python_elf_wrapper-0.0.2-py3-none-any.whl
Size 1.7 kB
Tags Python 3
SHA-256 checksum
How to use checksums
377657ce7c8d9ee753d2888c4d39332016a498ba257b2d0e4f827c711e94aa51
BLAKE2b-256 checksum
How to use checksums
9efb1705df61b7e54273763f53048eefc75bc9e5e923523b862e3ede4a8d1758
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.1.1 pkginfo/1.5.0.1 requests/2.23.0 setuptools/40.8.0 requests-toolbelt/0.9.1 tqdm/4.43.0 CPython/3.8.2

Release history Release notifications | RSS feed

This release

0.0.2 This release

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page