• Home
  • Raw
  • Download

Lines Matching refs:addr

99 inline void Addr2Bitpool(void* addr)  in Addr2Bitpool()  argument
101 …uint32_t val = AddrHash(static_cast<uint32_t>(reinterpret_cast<uint64_t>(addr))) % (MAX_BITPOOL_SI… in Addr2Bitpool()
105 inline bool IsAddrExist(void* addr) in IsAddrExist() argument
107 …uint32_t val = AddrHash(static_cast<uint32_t>(reinterpret_cast<uint64_t>(addr))) % (MAX_BITPOOL_SI… in IsAddrExist()
396 rawdata.addr = ret; in hook_malloc()
473 rawdata.addr = pRet; in hook_calloc()
552 rawdata.addr = pRet; in hook_realloc()
564 freeData.addr = ptr; in hook_realloc()
601 uint64_t addr = reinterpret_cast<uint64_t>(p); in hook_free() local
605 holder->SendStackWithPayload(&addr, sizeof(addr), nullptr, 0); in hook_free()
638 rawdata.addr = p; in hook_free()
656 curRawdata.addr = rawdata.addr; in SendMmapFileRawData()
676 void* addr, size_t length, int prot, int flags, int fd, off_t offset) in hook_mmap() argument
680 ret = fn(addr, length, prot, flags, fd, offset); in hook_mmap()
716 rawdata.addr = ret; in hook_mmap()
754 int hook_munmap(int(*fn)(void*, size_t), void* addr, size_t length) in hook_munmap() argument
758 ret = fn(addr, length); in hook_munmap()
792 rawdata.addr = addr; in hook_munmap()
824 rawdata.addr = reinterpret_cast<void*>(arg3); in hook_prctl()
839 void hook_memtrace(void* addr, size_t size, const char* tag, bool isUsing) in hook_memtrace() argument
872 rawdata.addr = addr; in hook_memtrace()
969 void* ohos_malloc_hook_mmap(void* addr, size_t length, int prot, int flags, int fd, off_t offset) in ohos_malloc_hook_mmap() argument
972 void* ret = hook_mmap(GetDispatch()->mmap, addr, length, prot, flags, fd, offset); in ohos_malloc_hook_mmap()
977 int ohos_malloc_hook_munmap(void* addr, size_t length) in ohos_malloc_hook_munmap() argument
980 int ret = hook_munmap(GetDispatch()->munmap, addr, length); in ohos_malloc_hook_munmap()
985 void ohos_malloc_hook_memtrace(void* addr, size_t size, const char* tag, bool isUsing) in ohos_malloc_hook_memtrace() argument
988 hook_memtrace(addr, size, tag, isUsing); in ohos_malloc_hook_memtrace()