Updated the filter/ipcalls to make the shared stack divided accross nested calls.
This way, when an ipcall the thread switches to the top of the shared stack, and when inside the ipcall it makes another ipcall, Pharos removes the permissions to the previous shared stack position and gives permissions to below. Always in multiple of PHAROS_SHARED_STACK_SIZE_MINIMUM_SIZE
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Updated all filters to include a "minimum stack". If set with a 0 (default) it will be set automatically (by Pharos) to PHAROS_SHARED_STACK_SIZE_MINIMUM_SIZE. And it must be a multiple of PHAROS_SHARED_STACK_SIZE_MINIMUM_SIZE, otherwise Pharos will round it up.
Test955 is now passing
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Updated the filter/ipcalls to make the shared stack divided accross nested calls.
This way, when an ipcall the thread switches to the top of the shared stack, and when inside the ipcall it makes another ipcall, Pharos removes the permissions to the previous shared stack position and gives permissions to below. Always in multiple of PHAROS_SHARED_STACK_SIZE_MINIMUM_SIZE
Updated all filters to include a "minimum stack". If set with a 0 (default) it will be set automatically (by Pharos) to PHAROS_SHARED_STACK_SIZE_MINIMUM_SIZE. And it must be a multiple of PHAROS_SHARED_STACK_SIZE_MINIMUM_SIZE, otherwise Pharos will round it up.
Test955 is now passing