base: Expose the ObjectFile class to python.
authorGabe Black <gabeblack@google.com>
Tue, 1 Sep 2020 04:13:06 +0000 (21:13 -0700)
committerGabe Black <gabeblack@google.com>
Tue, 29 Sep 2020 21:56:50 +0000 (21:56 +0000)
commit7e8bc773534ae2db3e9b97a14983d7356223ea05
tree8a7edbc3650a3362da0810b36c2417946a7766bd
parenta21573cef0ead79035f682c776c41d460611c689
base: Expose the ObjectFile class to python.

This will make it possible to inspect a binary and determine, for
example, what architecture or operating system it was compiled for.

Change-Id: Ib40f1e1c02448dc5bf084bb0dd98d3767f463fef
Reviewed-on: https://gem5-review.googlesource.com/c/public/gem5/+/33899
Reviewed-by: Andreas Sandberg <andreas.sandberg@arm.com>
Maintainer: Andreas Sandberg <andreas.sandberg@arm.com>
Tested-by: kokoro <noreply+kokoro@google.com>
src/base/loader/object_file.cc
src/base/loader/object_file.hh
src/python/SConscript
src/python/pybind11/object_file.cc [new file with mode: 0644]