Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Have
scripts/tools/memory
use pyelftools by default. (#6974)
#### Problem Scripts under scripts/tools/memory can collect information from images in different ways. The default has been to use `readelf` because it's fastest. However, `readelf` is not availably by default on Mac OS. #### Summary of Changes Use `elftools` as the default collection method. (The previous default method, `readelf`, can be used by giving a `--collect-method readelf` option.) #### Testing Ran each scripts in `scripts/tools/memory/*.py` in an environment with no working `readelf`.
- Loading branch information