17 #define SAFE_LEVEL_MAX RUBY_SAFE_LEVEL_MAX 25 #undef rb_set_safe_level 26 #undef ruby_safe_level_2_warning 71 if (level < th->ec.safe_level) {
73 "tried to downgrade safe level from %d to %d",
void rb_check_safe_obj(VALUE x)
void rb_define_virtual_variable(const char *, VALUE(*)(ANYARGS), void(*)(ANYARGS))
void rb_raise(VALUE exc, const char *fmt,...)
void rb_secure_update(VALUE obj)
void rb_set_safe_level_force(int safe)
void rb_insecure_operation(void)
ID rb_frame_callee(void)
The name of the current method.
int ruby_safe_level_2_warning(void)
void rb_set_safe_level(int level)
rb_execution_context_t ec
void rb_secure(int level)