microsoft / ntosebpfext

eBPF-For-Windows extension to provide access to Windows kernel functionality
MIT License
15 stars 11 forks source link

The memory pool tag should be defined within the single extensions. #61

Open gtrevi opened 5 months ago

gtrevi commented 5 months ago

Currently, the memory pool tag is defined in libs\ebpf_ext\ebpf_ext.h, whereas it should be instead defined within each extension's code, for clear memory diagnosability.

The library could eventually declare an external variable, that must be independently defined by each extension, so that the library will inherit that value to be used within its own memory allocations.