diff options
| author | Kimplul <kimi.h.kuparinen@gmail.com> | 2025-03-14 22:33:57 +0200 | 
|---|---|---|
| committer | Kimplul <kimi.h.kuparinen@gmail.com> | 2025-03-14 23:17:04 +0200 | 
| commit | 2a2d096b61262c2059ea022379869b9c4a70eafa (patch) | |
| tree | 42f0c6a53506f613f1441a9f206e756dbae3afa7 /include | |
| parent | f5c729ea59d227a507f83bd94d07f4366b46d72b (diff) | |
| download | ejit-2a2d096b61262c2059ea022379869b9c4a70eafa.tar.gz ejit-2a2d096b61262c2059ea022379869b9c4a70eafa.zip | |
protect jit pages
Diffstat (limited to 'include')
| -rw-r--r-- | include/ejit/ejit.h | 5 | 
1 files changed, 4 insertions, 1 deletions
| diff --git a/include/ejit/ejit.h b/include/ejit/ejit.h index 0c7f4c5..4ab2bbc 100644 --- a/include/ejit/ejit.h +++ b/include/ejit/ejit.h @@ -203,8 +203,11 @@ struct ejit_func *ejit_create_func(enum ejit_type rtype, size_t argc,                                     const struct ejit_operand args[argc]);  void ejit_compile_func(struct ejit_func *f); +void ejit_compile_func_unsafe(struct ejit_func *f); + +/* if you say you're scared, the jit pages will be sealed to be X+R */  void ejit_select_compile_func(struct ejit_func *f, size_t gpr, size_t fpr, -                              bool use_64, bool try_jit); +                              bool use_64, bool try_jit, bool im_scawed);  long ejit_run_func_i(struct ejit_func *f, size_t argc,                        struct ejit_arg args[argc]); | 
