SVNews r329247

NOTE: This service is experimental and subject to change! Use at your own risk!

2018-02-13 22:40:33 - r329247 by emaste (Ed Maste)

Complete list of files affected by revision r329247:

(Note: At the moment, these links point to ViewVC on svn.freebsd.org. They are probably slow. Do not overuse.)

   Contents     MODIFY   /stable/11  
  History   Contents   Diff   MODIFY   /stable/11/usr.sbin/kldxref/ef.c  
  History   Contents   Diff   MODIFY   /stable/11/usr.sbin/kldxref/ef.h  
  History   Contents   Diff   MODIFY   /stable/11/usr.sbin/kldxref/ef_obj.c  
  History   Contents   Diff   MODIFY   /stable/11/usr.sbin/kldxref/kldxref.c  

Commit message:

MFC r328052: kldxref: handle modules with md_cval at end of allocated secs

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>
Sponsored by: The FreeBSD Foundation

 


Powered by Python FreeBSD support by secnetix GmbH & Co. KG

Page generated in 14 ms, 5 files printed. Current time is 2018-02-26 03:11:15. All times are in UTC/GMT.