Skip to content

Commit

Permalink
fix POINTER_T parsing and printing
Browse files Browse the repository at this point in the history
  • Loading branch information
itaysk committed Mar 26, 2020
1 parent c0b87ea commit 67a3ac1
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tracee/tracee.go
Original file line number Diff line number Diff line change
Expand Up @@ -595,11 +595,11 @@ func readArgFromBuff(dataBuff io.Reader) (interface{}, error) {
}
res = PrintMemProt(prot)
case POINTER_T:
ptr, err := readInt64FromBuff(dataBuff)
ptr, err := readUInt64FromBuff(dataBuff)
if err != nil {
return nil, err
}
res = fmt.Sprintf("%X", ptr)
res = fmt.Sprintf("0x%X", ptr)
case SOCKADDR_T:
sockaddr, err := readSockaddrFromBuff(dataBuff)
if err != nil {
Expand Down

0 comments on commit 67a3ac1

Please sign in to comment.