tud-zih-energy / lo2s

Linux OTF2 Sampling - A Lightweight Node-Level Performance Monitoring Tool
https://tu-dresden.de/zih/forschung/projekte/lo2s?set_language=en
GNU General Public License v3.0
46 stars 13 forks source link

radare2 complains about "ERROR: Missing read callback 3" #338

Closed cvonelm closed 1 month ago

cvonelm commented 3 months ago

Currently, if you use sampling with radare2, you will get "ERROR: Missing read callback 3" messages in your terminal.

These seem harmless but mildly annoying and seem to come from r_asm_mdisassemble().

cvonelm commented 1 month ago

Radare2 seems to expect a random access read_at() callback for the instruction buffer it should decode to be able to read more context from the given data. This seems to only present if it is given a full binary and not just a buffer full of instruction data as we do it.

So TL;DR: This is out of our control and the "Missing read callback" foo has already been relegated from an ERROR to a DEBUG warning in the current radare2 git.