mirror of
https://git.eden-emu.dev/eden-emu/eden
synced 2026-10-20 18:59:26 +02:00
fx
This commit is contained in:
parent
cb490de31b
commit
ec275e6e26
1 changed files with 0 additions and 3 deletions
|
|
@ -49,14 +49,11 @@ struct CodeBlockInfo {
|
|||
};
|
||||
|
||||
class SigHandler {
|
||||
static constexpr std::size_t signal_stack_size = std::max<std::size_t>(SIGSTKSZ, 2 * 1024 * 1024);
|
||||
|
||||
auto FindCodeBlockInfo(u64 offset) noexcept {
|
||||
return std::find_if(code_block_infos.begin(), code_block_infos.end(), [&](auto const& e) {
|
||||
return e.first <= offset && e.first + e.second.size > offset;
|
||||
});
|
||||
}
|
||||
|
||||
ankerl::unordered_dense::map<u64, CodeBlockInfo> code_block_infos;
|
||||
std::shared_mutex code_block_infos_mutex;
|
||||
struct sigaction old_sa_segv;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue