Rizin
unix-like reverse engineering framework and cli tools
cheap.c
Go to the documentation of this file.
1 // SPDX-FileCopyrightText: 2021 Pulak Malhotra <pulakmalhotra2000@gmail.com>
2 // SPDX-License-Identifier: LGPL-3.0-only
3 
4 #include <rz_core.h>
5 #include "core_private.h"
6 
7 /* API calls of windows heap for Cutter */
8 #if __WINDOWS__
14 RZ_API RZ_OWN RzList /*<RzWindowsHeapBlock *>*/ *rz_heap_windows_blocks_list(RzCore *core) {
15  return rz_heap_blocks_list(core);
16 }
17 
23 RZ_API RZ_OWN RzList /*<RzWindowsHeapInfo *>*/ *rz_heap_windows_heap_list(RzCore *core) {
24  return rz_heap_list(core);
25 }
26 #else
27 
28 RZ_API RZ_OWN RzList /*<RzWindowsHeapBlock *>*/ *rz_heap_windows_blocks_list(RzCore *core) {
29  return NULL;
30 }
31 
32 RZ_API RZ_OWN RzList /*<RzWindowsHeapInfo *>*/ *rz_heap_windows_heap_list(RzCore *core) {
33  return NULL;
34 }
35 
36 #endif
RZ_API RZ_OWN RzList * rz_heap_windows_heap_list(RzCore *core)
Definition: cheap.c:32
RZ_API RZ_OWN RzList * rz_heap_windows_blocks_list(RzCore *core)
Definition: cheap.c:28
#define RZ_API
#define NULL
Definition: cris-opc.c:27
#define RZ_OWN
Definition: rz_types.h:62
RZ_IPI RzList * rz_heap_list(RzCore *core)
RZ_IPI RzList * rz_heap_blocks_list(RzCore *core)