Created by: semihalf-kardach-stanislaw
Add codec.c to the build system and implement basic decode and disassemble functions to enable drdisasm to produce proper output:
$ objdump -d /usr/bin/ls 2>/dev/null | grep -v '...'
| cut -s -f 2 | ./clients/bin64/drdisas | head
00017397 auipc $0x17 -> %t2
41c30333 sub %t1 %t3 -> %t1
8e83be03 ld -0x0718(%t2)[8byte] -> %t3
fd430313 addi %t1 $-0x2c -> %t1
8e838293 addi %t2 $-0x718 -> %t0
00135313 srli %t1 $0x1 -> %t1
0082b283 ld +0x08(%t0)[8byte] -> %t0
000e0067 jalr %t3 $0x0 -> %zero
00017e17 auipc $0x17 -> %t3
8d8e3e03 ld -0x0728(%t3)[8byte] -> %t3
Issue #3544
Signed-off-by: Stanislaw Kardach kda@semihalf.com