cadets / freebsd-old

FreeBSD src tree http://www.FreeBSD.org/
Other
12 stars 7 forks source link

Array returns give memory traces instead of data #119

Closed dstolfa closed 2 years ago

dstolfa commented 2 years ago

When returning an array type from a DIFO, such as curthread->td_proc->p_comm, it seems to dump a memory trace instead of meaningful data:

  9  66842                   _umtx_op:entry 
             0  1  2  3  4  5  6  7  8  9  a  b  c  d  e  f  0123456789abcdef
         0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 34 12  ..............4.
        10: 00 00 00 00                                      ....