openvino
1f050353 - Allocate page aligned memory to avoid ASAN change memory attribute (#34908)

Commit
43 days ago
Allocate page aligned memory to avoid ASAN change memory attribute (#34908) ### Details: - Avoid static memory to keep the allocated memory and asan will change the static objects' memory. - Allocate the JIT code generator when using. #### Backup - The kernel and heap memory may share 1 page memory. - The asan will change the memory's attribute to `RW` and that operates 1 page memory. Then the kernel's execution attributes lost. It will cause the access violation when fetch the instruction. ### Tickets: - [CVS-182324](https://jira.devtools.intel.com/browse/CVS-182324) ### AI Assistance: - *AI assistance used: yes* - Give the callstack, asm code and input pointers. It gives a solution only for windows with MACRO. - After understand the problem, then create new chat to describe the problem and let it give the solution. The solution fixed in 3rd part `xbyak`. - Due to this is a memory issue then request to change in the `jit_generator.cpp`
Author
Parents
Loading