remove unused function cmp_vaddr
This commit is contained in:
parent
bde3cd7dae
commit
54870cca0e
10
uc.c
10
uc.c
@ -2384,16 +2384,6 @@ uc_err uc_ctl(uc_engine *uc, uc_control_type control, ...)
|
||||
return err;
|
||||
}
|
||||
|
||||
gint cmp_vaddr(gconstpointer a, gconstpointer b, gpointer user_data)
|
||||
{
|
||||
uint64_t va = (uint64_t)a;
|
||||
uint64_t vb = (uint64_t)b;
|
||||
if (va == vb) {
|
||||
return 0;
|
||||
}
|
||||
return va < vb ? -1 : 1;
|
||||
}
|
||||
|
||||
#ifdef UNICORN_TRACER
|
||||
uc_tracer *get_tracer()
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user