It would be nice if we had a heatmap implementation in RzUtil.
Something which can be updated dynamically to show some progress.
For example, if an analysis loop starts covering more and more of all sections, it could show the progress of each memory block.
Here is an AI generated mock up image.
It is important that the implementation does not assume or know anything about the underlying data it represents.
The only thing it should do is printing the blocks in a proper layout for the current terminal width and height.
Managing color and legend.
It probably needs to get callbacks passed which:
RzIterator to_update_cell_coord(user_data) to let the callback decide which cell nedds to be updated.
float cell_progress(cell, user_data) to return the value of the cell (0.0-1.0) to choose the correct color for it.
It would be nice if we had a heatmap implementation in RzUtil.
Something which can be updated dynamically to show some progress.
For example, if an analysis loop starts covering more and more of all sections, it could show the progress of each memory block.
Here is an AI generated mock up image.
It is important that the implementation does not assume or know anything about the underlying data it represents.
The only thing it should do is printing the blocks in a proper layout for the current terminal width and height.
Managing color and legend.
It probably needs to get callbacks passed which:
RzIterator to_update_cell_coord(user_data)to let the callback decide which cell nedds to be updated.float cell_progress(cell, user_data)to return the value of the cell (0.0-1.0) to choose the correct color for it.