#include <cstdint>
#include <iostream>
#define ALIAS(fn) __attribute__ ((alias (#fn), used))
static char buf[256];
extern "C"
{
void* my_malloc
[开发杂项][编译][C/C++]function hook
最新推荐文章于 2023-06-14 16:03:30 发布
#include <cstdint>
#include <iostream>
#define ALIAS(fn) __attribute__ ((alias (#fn), used))
static char buf[256];
extern "C"
{
void* my_malloc