diff options
author | Ed Maste <emaste@FreeBSD.org> | 2018-01-16 18:20:12 +0000 |
---|---|---|
committer | Ed Maste <emaste@FreeBSD.org> | 2018-01-16 18:20:12 +0000 |
commit | da67e6e62c942bd1ddee0de6d570405be4552f78 (patch) | |
tree | 376149c6c99e777a7641bd655245f5121bc87bd8 /contrib/tzdata/southamerica | |
parent | 167b8a609df9e746e67cf34a54bdef9f1627d49c (diff) |
kldxref: handle modules with md_cval at the end of allocated sections
Attempting to retrieve an md_cval string from a kernel module with
kldxref would throw a offset error for modules created using lld, since
this value would be placed at the end of all allocated sections.
Add an ef_read_seg_string method to the ef interface, to allow reading
strings of varying size without attempting to read beyond the segment's
bounds.
PR: 224875
Submitted by: Mitchell Horne <mhorne063@gmail.com>
Reviewed by: cem, kib
Sponsored by: The FreeBSD Foundation
Differential Revision: https://reviews.freebsd.org/D13923
Notes
Notes:
svn path=/head/; revision=328052
Diffstat (limited to 'contrib/tzdata/southamerica')
0 files changed, 0 insertions, 0 deletions