From 237e6ffb3e1e0b15639078efefb0f2b85ae04ee6 Mon Sep 17 00:00:00 2001 From: Ionel-Cristinel ANICHITEI Date: Tue, 30 Mar 2021 22:04:02 +0300 Subject: [PATCH] pybddisasm: Don't implement nd_vsnprintf_s and nd_memset --- pybddisasm/_pybddisasm/pybddisasm.c | 15 --------------- 1 file changed, 15 deletions(-) diff --git a/pybddisasm/_pybddisasm/pybddisasm.c b/pybddisasm/_pybddisasm/pybddisasm.c index e76efef..1daea82 100644 --- a/pybddisasm/_pybddisasm/pybddisasm.c +++ b/pybddisasm/_pybddisasm/pybddisasm.c @@ -22,18 +22,3 @@ int nd_to_text(INSTRUX *instrux, size_t rip, size_t bufsize, char *buf) { return NdToText(instrux, rip, bufsize, buf); } - -#include -#include - -int -nd_vsnprintf_s(char *str, size_t sizeOfBuffer, size_t count, const char *format, va_list args) -{ - (void)(sizeOfBuffer); - return vsnprintf(str, count, format, args); -} - -void *nd_memset(void *s, int c, size_t n) -{ - return memset(s, c, n); -}