CGEN, the Cpu tools GENerator
CGEN (pronounced seejen) is a framework for developing generators of CPU-related tools such as assemblers, disassemblers and simulators. It specifies a description language for describing the architecture and organization of a CPU without reference to any particular
... [More] application. Additional applications can be written within the framework. CGEN is written in Scheme and can be run under the GNU Guile interpreter. It is placed under a free software license. [Less]
The libmeminfo extracts the memory configuration from ELF files. This memory configuration must be saved first inside the binary at link-time with the linker-script command CREATE_MEMINFO_TABLE. This new command and its documentation are available once the patch is applied against the GNU Binutils.
... [More]
The file meminfo.h comments the API, and the file mind.c is a very good example on how to use this library. You can test the program mind against the file test.elf.
If you don't want to use the local libELF to build the libmeminfo, set the parameter --disable-local-libelf during the configuration [Less]
This site uses cookies to give you the best possible experience.
By using the site, you consent to our use of cookies.
For more information, please see our
Privacy Policy