diff options
author | Christian Menard <christian.menard@tu-dresden.de> | 2017-05-23 18:34:12 +0200 |
---|---|---|
committer | Christian Menard <christian.menard@tu-dresden.de> | 2017-05-30 10:47:54 +0000 |
commit | 9c29b5a433ea4fc2a7d2d06ce052b33ce7c4a8c2 (patch) | |
tree | 7f3d5f34992e94be55b4fc62e153d037ab8cdaa9 /src/python/m5 | |
parent | 01921763a47d1ed2238ee5d4435edbf752783a95 (diff) | |
download | gem5-9c29b5a433ea4fc2a7d2d06ce052b33ce7c4a8c2.tar.xz |
misc: check address range in the SystemC example
Using a wrong offset or memory size may lead to segmentation faults.
This patch adds an address range check and produces an error message.
Change-Id: I79a72c05879266daf61a83367fe4ae386d1958a4
Reviewed-on: https://gem5-review.googlesource.com/3482
Maintainer: Jason Lowe-Power <jason@lowepower.com>
Reviewed-by: Jason Lowe-Power <jason@lowepower.com>
Reviewed-by: Matthias Jung <jungma@eit.uni-kl.de>
Diffstat (limited to 'src/python/m5')
0 files changed, 0 insertions, 0 deletions