Revert "Add uc_ctl_get/set_tcg_buffer_size"

This reverts commit 3145e3c426 because not
properly co-authoer-ed.
This commit is contained in:
mio
2023-06-10 23:29:56 +02:00
parent 3145e3c426
commit f8c7969d65
5 changed files with 3 additions and 28 deletions

14
uc.c
View File

@@ -2374,20 +2374,6 @@ uc_err uc_ctl(uc_engine *uc, uc_control_type control, ...)
break;
}
case UC_CTL_TCG_BUFFER_SIZE: {
if (rw == UC_CTL_IO_WRITE) {
uint64_t size = va_arg(args, uint64_t);
uc->tcg_buffer_size = size;
} else {
UC_INIT(uc);
uint64_t *size = va_arg(args, uint64_t *);
*size = uc->tcg_buffer_size;
}
break;
}
default:
err = UC_ERR_ARG;
break;