Hi,
Thanks for your excellent work. It is quite inspiring.
However, I got two questions when playing with XDA.
-
The first question is that, how to use XDA or the given pretrained model to generate the results of instruction boundaries? It seems the model only predicts the function boundaries.
-
Another question is that, how can we evaluate the results of function boundaries? As mentioned in README, XDA will output labels F for function start, R for function end, or neither. However, it is not guaranteed that the memory of a given function is consecutive. It is very common that a function can be splitted into multiple regions (e.g., all cold blocks would be moved to the beginning of .text section to reduce cache missing rate). It sounds kind of confusing for me to just mark a start and an end for a function.