Build a human-readable name for a state block
#include <qvm/utils.h>
int qvm_block_string(char *buf, size_t count, const struct qvm_state_block *blk)
This function is useful for showing block information (e.g., for debugging). It behaves the same way even if count is zero, in which case buf can be NULL.
The number of characters that would have been written into the array, not counting the terminating null character, if count had been large enough.