cvs commit: src/usr.sbin/ndiscvt ndiscvt.c
Bill Paul
wpaul at FreeBSD.org
Mon Aug 2 11:54:01 PDT 2004
wpaul 2004-08-02 18:54:01 UTC
FreeBSD src repository
Modified files:
usr.sbin/ndiscvt ndiscvt.c
Log:
Today, RealTek sent me a driver to test which had been compiled with
some debug support turned on. It turns out the sections in this driver
binary had relative virtual addresses (RVAs) that were different
from the raw addresses, and it had a .data section where the virtual size
was much larger than the raw size. (Most production binaries produced
with the Microsoft DDK have RVA == PA.)
There's code in the ndiscvt(8) utility that's supposed to handle
the vsize != rsize case, but it turns out it was slightly broken,
and it failed to handle the RVA != RA case at all. Hopefully, this
commit will fix all that.
Revision Changes Path
1.9 +43 -45 src/usr.sbin/ndiscvt/ndiscvt.c
More information about the cvs-src
mailing list