Current File : //opt/RZruby/share/doc/ruby/html/da/d2d/safe_8c.html |
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
<meta name="generator" content="Doxygen 1.8.5"/>
<title>Ruby: safe.c File Reference</title>
<link href="../../tabs.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="../../jquery.js"></script>
<script type="text/javascript" src="../../dynsections.js"></script>
<link href="../../doxygen.css" rel="stylesheet" type="text/css" />
</head>
<body>
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
<div id="titlearea">
<table cellspacing="0" cellpadding="0">
<tbody>
<tr style="height: 56px;">
<td style="padding-left: 0.5em;">
<div id="projectname">Ruby
 <span id="projectnumber">1.9.3p551(2014-11-13revision48407)</span>
</div>
</td>
</tr>
</tbody>
</table>
</div>
<!-- end header part -->
<!-- Generated by Doxygen 1.8.5 -->
<div id="navrow1" class="tabs">
<ul class="tablist">
<li><a href="../../index.html"><span>Main Page</span></a></li>
<li><a href="../../modules.html"><span>Modules</span></a></li>
<li><a href="../../annotated.html"><span>Data Structures</span></a></li>
<li class="current"><a href="../../files.html"><span>Files</span></a></li>
</ul>
</div>
<div id="navrow2" class="tabs2">
<ul class="tablist">
<li><a href="../../files.html"><span>File List</span></a></li>
<li><a href="../../globals.html"><span>Globals</span></a></li>
</ul>
</div>
</div><!-- top -->
<div class="header">
<div class="summary">
<a href="#define-members">Macros</a> |
<a href="#func-members">Functions</a> </div>
<div class="headertitle">
<div class="title">safe.c File Reference</div> </div>
</div><!--header-->
<div class="contents">
<div class="textblock"><code>#include "<a class="el" href="../../de/de6/ruby_2ruby_8h_source.html">ruby/ruby.h</a>"</code><br/>
<code>#include "<a class="el" href="../../d8/d32/vm__core_8h_source.html">vm_core.h</a>"</code><br/>
</div><div class="textblock"><div class="dynheader">
Include dependency graph for safe.c:</div>
<div class="dyncontent">
<div class="center"><img src="../../d3/dc5/safe_8c__incl.png" border="0" usemap="#safe_8c" alt=""/></div>
<map name="safe_8c" id="safe_8c">
<area shape="rect" id="node2" href="../../de/de6/ruby_2ruby_8h.html" title="ruby/ruby.h" alt="" coords="347,229,441,256"/><area shape="rect" id="node14" href="../../d8/d32/vm__core_8h.html" title="vm_core.h" alt="" coords="861,80,951,107"/><area shape="rect" id="node7" href="../../d8/db0/defines_8h.html" title="defines.h" alt="" coords="424,453,505,480"/><area shape="rect" id="node9" href="../../d3/d90/missing_8h.html" title="ruby/missing.h" alt="" coords="281,453,399,480"/><area shape="rect" id="node10" href="../../db/d2e/intern_8h.html" title="ruby/intern.h" alt="" coords="432,304,537,331"/><area shape="rect" id="node13" href="../../d7/d72/subst_8h.html" title="ruby/subst.h" alt="" coords="561,304,663,331"/><area shape="rect" id="node12" href="../../dd/d24/st_8h.html" title="ruby/st.h" alt="" coords="503,379,581,405"/><area shape="rect" id="node15" href="../../d1/d77/node_8h.html" title="node.h" alt="" coords="727,229,794,256"/><area shape="rect" id="node16" href="../../db/d16/debug_8h.html" title="debug.h" alt="" coords="713,155,787,181"/><area shape="rect" id="node17" href="../../dc/d92/vm__opts_8h.html" title="vm_opts.h" alt="" coords="861,229,951,256"/><area shape="rect" id="node18" href="../../df/db9/id_8h.html" title="id.h" alt="" coords="913,155,959,181"/><area shape="rect" id="node19" href="../../db/d0a/method_8h.html" title="method.h" alt="" coords="984,155,1067,181"/><area shape="rect" id="node20" href="../../dc/df3/ruby__atomic_8h.html" title="ruby_atomic.h" alt="" coords="1093,155,1207,181"/></map>
</div>
</div>
<p><a href="../../da/d2d/safe_8c_source.html">Go to the source code of this file.</a></p>
<table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="define-members"></a>
Macros</h2></td></tr>
<tr class="memitem:a7cf1dc7af55b073c766e27872f25c1c3"><td class="memItemLeft" align="right" valign="top">#define </td><td class="memItemRight" valign="bottom"><a class="el" href="../../da/d2d/safe_8c.html#a7cf1dc7af55b073c766e27872f25c1c3">SAFE_LEVEL_MAX</a>   4</td></tr>
<tr class="separator:a7cf1dc7af55b073c766e27872f25c1c3"><td class="memSeparator" colspan="2"> </td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="func-members"></a>
Functions</h2></td></tr>
<tr class="memitem:ab0c493934f850e8e533656b3ae640154"><td class="memItemLeft" align="right" valign="top"><a class="el" href="../../db/d97/parse_8c.html#a61569f2965b7a369eb10b6d75d410d11">int</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="../../da/d2d/safe_8c.html#ab0c493934f850e8e533656b3ae640154">rb_safe_level</a> (<a class="el" href="../../de/d07/bigdecimal_8c.html#ac537498b5ed6e25bced70b90e5949201">void</a>)</td></tr>
<tr class="separator:ab0c493934f850e8e533656b3ae640154"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:abff7d7eef2e9bf380a72a0844af0c960"><td class="memItemLeft" align="right" valign="top"><a class="el" href="../../de/d07/bigdecimal_8c.html#ac537498b5ed6e25bced70b90e5949201">void</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="../../da/d2d/safe_8c.html#abff7d7eef2e9bf380a72a0844af0c960">rb_set_safe_level_force</a> (<a class="el" href="../../db/d97/parse_8c.html#a61569f2965b7a369eb10b6d75d410d11">int</a> <a class="el" href="../../d5/d9d/tcltklib_8c.html#a3165c7b86c85463f7d64defedf6b0d43">safe</a>)</td></tr>
<tr class="separator:abff7d7eef2e9bf380a72a0844af0c960"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a6a9d70420ad09052b04f8103796bb31d"><td class="memItemLeft" align="right" valign="top"><a class="el" href="../../de/d07/bigdecimal_8c.html#ac537498b5ed6e25bced70b90e5949201">void</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="../../da/d2d/safe_8c.html#a6a9d70420ad09052b04f8103796bb31d">rb_set_safe_level</a> (<a class="el" href="../../db/d97/parse_8c.html#a61569f2965b7a369eb10b6d75d410d11">int</a> <a class="el" href="../../db/d74/zlib_8c.html#a96fb68396dd219a7b489e051d4c8dfa5">level</a>)</td></tr>
<tr class="separator:a6a9d70420ad09052b04f8103796bb31d"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a769d8ca3b9b4c86cdb473ef7879bee92"><td class="memItemLeft" align="right" valign="top">static <a class="el" href="../../de/de6/ruby_2ruby_8h.html#aa6a1040cbacdc1c2a409fb3f002071bc">VALUE</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="../../da/d2d/safe_8c.html#a769d8ca3b9b4c86cdb473ef7879bee92">safe_getter</a> (<a class="el" href="../../de/d07/bigdecimal_8c.html#ac537498b5ed6e25bced70b90e5949201">void</a>)</td></tr>
<tr class="separator:a769d8ca3b9b4c86cdb473ef7879bee92"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a0416993d3eb81f15ec19cd65a41c1069"><td class="memItemLeft" align="right" valign="top">static <a class="el" href="../../de/d07/bigdecimal_8c.html#ac537498b5ed6e25bced70b90e5949201">void</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="../../da/d2d/safe_8c.html#a0416993d3eb81f15ec19cd65a41c1069">safe_setter</a> (<a class="el" href="../../de/de6/ruby_2ruby_8h.html#aa6a1040cbacdc1c2a409fb3f002071bc">VALUE</a> <a class="el" href="../../db/d97/parse_8c.html#a61615c1fe527006a7a73d0e5c1d96e70">val</a>)</td></tr>
<tr class="separator:a0416993d3eb81f15ec19cd65a41c1069"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:ac2e05133c9611b1515227e673dfa61a9"><td class="memItemLeft" align="right" valign="top"><a class="el" href="../../de/d07/bigdecimal_8c.html#ac537498b5ed6e25bced70b90e5949201">void</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="../../da/d2d/safe_8c.html#ac2e05133c9611b1515227e673dfa61a9">rb_secure</a> (<a class="el" href="../../db/d97/parse_8c.html#a61569f2965b7a369eb10b6d75d410d11">int</a> <a class="el" href="../../db/d74/zlib_8c.html#a96fb68396dd219a7b489e051d4c8dfa5">level</a>)</td></tr>
<tr class="separator:ac2e05133c9611b1515227e673dfa61a9"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a07e4978ae540041dee1f0731a54c095a"><td class="memItemLeft" align="right" valign="top"><a class="el" href="../../de/d07/bigdecimal_8c.html#ac537498b5ed6e25bced70b90e5949201">void</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="../../da/d2d/safe_8c.html#a07e4978ae540041dee1f0731a54c095a">rb_secure_update</a> (<a class="el" href="../../de/de6/ruby_2ruby_8h.html#aa6a1040cbacdc1c2a409fb3f002071bc">VALUE</a> <a class="el" href="../../db/d74/zlib_8c.html#a0ad057cb187293da21df1bad740c0729">obj</a>)</td></tr>
<tr class="separator:a07e4978ae540041dee1f0731a54c095a"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:aa044289e0f51478acb5dcd2a7dcddc74"><td class="memItemLeft" align="right" valign="top"><a class="el" href="../../de/d07/bigdecimal_8c.html#ac537498b5ed6e25bced70b90e5949201">void</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="../../da/d2d/safe_8c.html#aa044289e0f51478acb5dcd2a7dcddc74">rb_insecure_operation</a> (<a class="el" href="../../de/d07/bigdecimal_8c.html#ac537498b5ed6e25bced70b90e5949201">void</a>)</td></tr>
<tr class="separator:aa044289e0f51478acb5dcd2a7dcddc74"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a70e1d6fddfc0c801c1527aa1c3fc5cc3"><td class="memItemLeft" align="right" valign="top"><a class="el" href="../../de/d07/bigdecimal_8c.html#ac537498b5ed6e25bced70b90e5949201">void</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="../../da/d2d/safe_8c.html#a70e1d6fddfc0c801c1527aa1c3fc5cc3">rb_check_safe_obj</a> (<a class="el" href="../../de/de6/ruby_2ruby_8h.html#aa6a1040cbacdc1c2a409fb3f002071bc">VALUE</a> x)</td></tr>
<tr class="separator:a70e1d6fddfc0c801c1527aa1c3fc5cc3"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a294b31f9a6cb4e8fc1e9d4e0796234b0"><td class="memItemLeft" align="right" valign="top"><a class="el" href="../../de/d07/bigdecimal_8c.html#ac537498b5ed6e25bced70b90e5949201">void</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="../../da/d2d/safe_8c.html#a294b31f9a6cb4e8fc1e9d4e0796234b0">rb_check_safe_str</a> (<a class="el" href="../../de/de6/ruby_2ruby_8h.html#aa6a1040cbacdc1c2a409fb3f002071bc">VALUE</a> x)</td></tr>
<tr class="separator:a294b31f9a6cb4e8fc1e9d4e0796234b0"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:acbe1829460c81a046646ab4afd4b5228"><td class="memItemLeft" align="right" valign="top"><a class="el" href="../../de/d07/bigdecimal_8c.html#ac537498b5ed6e25bced70b90e5949201">void</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="../../da/d2d/safe_8c.html#acbe1829460c81a046646ab4afd4b5228">Init_safe</a> (<a class="el" href="../../de/d07/bigdecimal_8c.html#ac537498b5ed6e25bced70b90e5949201">void</a>)</td></tr>
<tr class="separator:acbe1829460c81a046646ab4afd4b5228"><td class="memSeparator" colspan="2"> </td></tr>
</table>
<h2 class="groupheader">Macro Definition Documentation</h2>
<a class="anchor" id="a7cf1dc7af55b073c766e27872f25c1c3"></a>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">#define SAFE_LEVEL_MAX   4</td>
</tr>
</table>
</div><div class="memdoc">
<p>Definition at line <a class="el" href="../../da/d2d/safe_8c_source.html#l00020">20</a> of file <a class="el" href="../../da/d2d/safe_8c_source.html">safe.c</a>.</p>
<p>Referenced by <a class="el" href="../../da/d2d/safe_8c_source.html#l00040">rb_set_safe_level()</a>, and <a class="el" href="../../da/d2d/safe_8c_source.html#l00059">safe_setter()</a>.</p>
</div>
</div>
<h2 class="groupheader">Function Documentation</h2>
<a class="anchor" id="acbe1829460c81a046646ab4afd4b5228"></a>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname"><a class="el" href="../../de/d07/bigdecimal_8c.html#ac537498b5ed6e25bced70b90e5949201">void</a> Init_safe </td>
<td>(</td>
<td class="paramtype"><a class="el" href="../../de/d07/bigdecimal_8c.html#ac537498b5ed6e25bced70b90e5949201">void</a> </td>
<td class="paramname"></td><td>)</td>
<td></td>
</tr>
</table>
</div><div class="memdoc">
<p>Definition at line <a class="el" href="../../da/d2d/safe_8c_source.html#l00132">132</a> of file <a class="el" href="../../da/d2d/safe_8c_source.html">safe.c</a>.</p>
<p>References <a class="el" href="../../d0/d2a/variable_8c_source.html#l00527">rb_define_virtual_variable()</a>, <a class="el" href="../../da/d2d/safe_8c_source.html#l00053">safe_getter()</a>, and <a class="el" href="../../da/d2d/safe_8c_source.html#l00059">safe_setter()</a>.</p>
</div>
</div>
<a class="anchor" id="a70e1d6fddfc0c801c1527aa1c3fc5cc3"></a>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname"><a class="el" href="../../de/d07/bigdecimal_8c.html#ac537498b5ed6e25bced70b90e5949201">void</a> rb_check_safe_obj </td>
<td>(</td>
<td class="paramtype"><a class="el" href="../../de/de6/ruby_2ruby_8h.html#aa6a1040cbacdc1c2a409fb3f002071bc">VALUE</a> </td>
<td class="paramname"><em>x</em></td><td>)</td>
<td></td>
</tr>
</table>
</div><div class="memdoc">
<p>Definition at line <a class="el" href="../../da/d2d/safe_8c_source.html#l00113">113</a> of file <a class="el" href="../../da/d2d/safe_8c_source.html">safe.c</a>.</p>
<p>References <a class="el" href="../../de/de6/ruby_2ruby_8h_source.html#l00963">OBJ_TAINTED</a>, <a class="el" href="../../da/d2d/safe_8c_source.html#l00101">rb_insecure_operation()</a>, <a class="el" href="../../d5/d9d/tcltklib_8c_source.html#l00090">rb_safe_level</a>, and <a class="el" href="../../d5/d9d/tcltklib_8c.html#a94573b23a7c5d9c129da54deebf38842">rb_secure()</a>.</p>
<p>Referenced by <a class="el" href="../../d4/df3/constants_8c_source.html#l00018">constant_arg()</a>, <a class="el" href="../../da/d2d/safe_8c_source.html#l00122">rb_check_safe_str()</a>, and <a class="el" href="../../d3/df8/cfunc_8c_source.html#l00339">rb_dlcfunc_call()</a>.</p>
</div>
</div>
<a class="anchor" id="a294b31f9a6cb4e8fc1e9d4e0796234b0"></a>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname"><a class="el" href="../../de/d07/bigdecimal_8c.html#ac537498b5ed6e25bced70b90e5949201">void</a> rb_check_safe_str </td>
<td>(</td>
<td class="paramtype"><a class="el" href="../../de/de6/ruby_2ruby_8h.html#aa6a1040cbacdc1c2a409fb3f002071bc">VALUE</a> </td>
<td class="paramname"><em>x</em></td><td>)</td>
<td></td>
</tr>
</table>
</div><div class="memdoc">
<p>Definition at line <a class="el" href="../../da/d2d/safe_8c_source.html#l00122">122</a> of file <a class="el" href="../../da/d2d/safe_8c_source.html">safe.c</a>.</p>
<p>References <a class="el" href="../../da/d2d/safe_8c_source.html#l00113">rb_check_safe_obj()</a>, <a class="el" href="../../db/dcc/error_8c_source.html#l00467">rb_eTypeError</a>, <a class="el" href="../../d0/d2a/variable_8c_source.html#l00318">rb_obj_classname()</a>, <a class="el" href="../../db/dcc/error_8c_source.html#l01574">rb_raise()</a>, <a class="el" href="../../de/de6/ruby_2ruby_8h_source.html#l00418">T_STRING</a>, and <a class="el" href="../../de/de6/ruby_2ruby_8h_source.html#l00441">TYPE</a>.</p>
</div>
</div>
<a class="anchor" id="aa044289e0f51478acb5dcd2a7dcddc74"></a>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname"><a class="el" href="../../de/d07/bigdecimal_8c.html#ac537498b5ed6e25bced70b90e5949201">void</a> rb_insecure_operation </td>
<td>(</td>
<td class="paramtype"><a class="el" href="../../de/d07/bigdecimal_8c.html#ac537498b5ed6e25bced70b90e5949201">void</a> </td>
<td class="paramname"></td><td>)</td>
<td></td>
</tr>
</table>
</div><div class="memdoc">
<p>Definition at line <a class="el" href="../../da/d2d/safe_8c_source.html#l00101">101</a> of file <a class="el" href="../../da/d2d/safe_8c_source.html">safe.c</a>.</p>
<p>References <a class="el" href="../../db/dcc/error_8c_source.html#l00476">rb_eSecurityError</a>, <a class="el" href="../../d3/d57/eval_8c_source.html#l00807">rb_frame_callee()</a>, <a class="el" href="../../d5/d11/ripper_8c_source.html#l16362">rb_id2name()</a>, and <a class="el" href="../../db/dcc/error_8c_source.html#l01574">rb_raise()</a>.</p>
<p>Referenced by <a class="el" href="../../df/d0a/io_8c_source.html#l10871">argf_inplace_mode_set()</a>, <a class="el" href="../../da/d2d/safe_8c_source.html#l00113">rb_check_safe_obj()</a>, and <a class="el" href="../../d6/d13/file_8c_source.html#l00157">rb_get_path_check()</a>.</p>
</div>
</div>
<a class="anchor" id="ab0c493934f850e8e533656b3ae640154"></a>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname"><a class="el" href="../../db/d97/parse_8c.html#a61569f2965b7a369eb10b6d75d410d11">int</a> rb_safe_level </td>
<td>(</td>
<td class="paramtype"><a class="el" href="../../de/d07/bigdecimal_8c.html#ac537498b5ed6e25bced70b90e5949201">void</a> </td>
<td class="paramname"></td><td>)</td>
<td></td>
</tr>
</table>
</div><div class="memdoc">
<p>Definition at line <a class="el" href="../../da/d2d/safe_8c_source.html#l00028">28</a> of file <a class="el" href="../../da/d2d/safe_8c_source.html">safe.c</a>.</p>
<p>References <a class="el" href="../../d8/d32/vm__core_8h_source.html#l00690">GET_THREAD</a>.</p>
</div>
</div>
<a class="anchor" id="ac2e05133c9611b1515227e673dfa61a9"></a>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname"><a class="el" href="../../de/d07/bigdecimal_8c.html#ac537498b5ed6e25bced70b90e5949201">void</a> rb_secure </td>
<td>(</td>
<td class="paramtype"><a class="el" href="../../db/d97/parse_8c.html#a61569f2965b7a369eb10b6d75d410d11">int</a> </td>
<td class="paramname"><em>level</em></td><td>)</td>
<td></td>
</tr>
</table>
</div><div class="memdoc">
<p>Definition at line <a class="el" href="../../da/d2d/safe_8c_source.html#l00079">79</a> of file <a class="el" href="../../da/d2d/safe_8c_source.html">safe.c</a>.</p>
<p>References <a class="el" href="../../db/dcc/error_8c_source.html#l00476">rb_eSecurityError</a>, <a class="el" href="../../d3/d57/eval_8c_source.html#l00807">rb_frame_callee()</a>, <a class="el" href="../../d5/d11/ripper_8c_source.html#l16362">rb_id2name()</a>, <a class="el" href="../../db/dcc/error_8c_source.html#l01574">rb_raise()</a>, and <a class="el" href="../../d5/d9d/tcltklib_8c_source.html#l00090">rb_safe_level</a>.</p>
</div>
</div>
<a class="anchor" id="a07e4978ae540041dee1f0731a54c095a"></a>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname"><a class="el" href="../../de/d07/bigdecimal_8c.html#ac537498b5ed6e25bced70b90e5949201">void</a> rb_secure_update </td>
<td>(</td>
<td class="paramtype"><a class="el" href="../../de/de6/ruby_2ruby_8h.html#aa6a1040cbacdc1c2a409fb3f002071bc">VALUE</a> </td>
<td class="paramname"><em>obj</em></td><td>)</td>
<td></td>
</tr>
</table>
</div><div class="memdoc">
<p>Definition at line <a class="el" href="../../da/d2d/safe_8c_source.html#l00094">94</a> of file <a class="el" href="../../da/d2d/safe_8c_source.html">safe.c</a>.</p>
<p>References <a class="el" href="../../de/de6/ruby_2ruby_8h_source.html#l00963">OBJ_TAINTED</a>, and <a class="el" href="../../d5/d9d/tcltklib_8c.html#a94573b23a7c5d9c129da54deebf38842">rb_secure()</a>.</p>
<p>Referenced by <a class="el" href="../../d3/df8/cfunc_8c_source.html#l00339">rb_dlcfunc_call()</a>.</p>
</div>
</div>
<a class="anchor" id="a6a9d70420ad09052b04f8103796bb31d"></a>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname"><a class="el" href="../../de/d07/bigdecimal_8c.html#ac537498b5ed6e25bced70b90e5949201">void</a> rb_set_safe_level </td>
<td>(</td>
<td class="paramtype"><a class="el" href="../../db/d97/parse_8c.html#a61569f2965b7a369eb10b6d75d410d11">int</a> </td>
<td class="paramname"><em>level</em></td><td>)</td>
<td></td>
</tr>
</table>
</div><div class="memdoc">
<p>Definition at line <a class="el" href="../../da/d2d/safe_8c_source.html#l00040">40</a> of file <a class="el" href="../../da/d2d/safe_8c_source.html">safe.c</a>.</p>
<p>References <a class="el" href="../../d8/d32/vm__core_8h_source.html#l00690">GET_THREAD</a>, <a class="el" href="../../db/d74/zlib_8c_source.html#l02025">level</a>, <a class="el" href="../../d8/d32/vm__core_8h_source.html#l00401">rb_thread_struct::safe_level</a>, <a class="el" href="../../da/d2d/safe_8c_source.html#l00020">SAFE_LEVEL_MAX</a>, and <a class="el" href="../../d5/d9d/tcltklib_8c_source.html#l02937">th</a>.</p>
</div>
</div>
<a class="anchor" id="abff7d7eef2e9bf380a72a0844af0c960"></a>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname"><a class="el" href="../../de/d07/bigdecimal_8c.html#ac537498b5ed6e25bced70b90e5949201">void</a> rb_set_safe_level_force </td>
<td>(</td>
<td class="paramtype"><a class="el" href="../../db/d97/parse_8c.html#a61569f2965b7a369eb10b6d75d410d11">int</a> </td>
<td class="paramname"><em>safe</em></td><td>)</td>
<td></td>
</tr>
</table>
</div><div class="memdoc">
<p>Definition at line <a class="el" href="../../da/d2d/safe_8c_source.html#l00034">34</a> of file <a class="el" href="../../da/d2d/safe_8c_source.html">safe.c</a>.</p>
<p>References <a class="el" href="../../d8/d32/vm__core_8h_source.html#l00690">GET_THREAD</a>, and <a class="el" href="../../d5/d9d/tcltklib_8c_source.html#l06393">safe</a>.</p>
<p>Referenced by <a class="el" href="../../d0/d2a/variable_8c_source.html#l01509">autoload_node()</a>, <a class="el" href="../../d3/d80/vm__eval_8c_source.html#l01199">rb_eval_cmd()</a>, <a class="el" href="../../d6/d9b/eval__jump_8c_source.html#l00097">rb_exec_end_proc()</a>, <a class="el" href="../../d3/dda/proc_8c_source.html#l01415">rb_method_call_with_block()</a>, <a class="el" href="../../d9/dd4/load_8c_source.html#l00591">rb_require_safe()</a>, and <a class="el" href="../../d0/d2a/variable_8c_source.html#l01502">reset_safe()</a>.</p>
</div>
</div>
<a class="anchor" id="a769d8ca3b9b4c86cdb473ef7879bee92"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname">static <a class="el" href="../../de/de6/ruby_2ruby_8h.html#aa6a1040cbacdc1c2a409fb3f002071bc">VALUE</a> safe_getter </td>
<td>(</td>
<td class="paramtype"><a class="el" href="../../de/d07/bigdecimal_8c.html#ac537498b5ed6e25bced70b90e5949201">void</a> </td>
<td class="paramname"></td><td>)</td>
<td></td>
</tr>
</table>
</td>
<td class="mlabels-right">
<span class="mlabels"><span class="mlabel">static</span></span> </td>
</tr>
</table>
</div><div class="memdoc">
<p>Definition at line <a class="el" href="../../da/d2d/safe_8c_source.html#l00053">53</a> of file <a class="el" href="../../da/d2d/safe_8c_source.html">safe.c</a>.</p>
<p>References <a class="el" href="../../de/de6/ruby_2ruby_8h_source.html#l00981">INT2NUM()</a>, and <a class="el" href="../../d5/d9d/tcltklib_8c_source.html#l00090">rb_safe_level</a>.</p>
<p>Referenced by <a class="el" href="../../da/d2d/safe_8c_source.html#l00132">Init_safe()</a>.</p>
</div>
</div>
<a class="anchor" id="a0416993d3eb81f15ec19cd65a41c1069"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname">static <a class="el" href="../../de/d07/bigdecimal_8c.html#ac537498b5ed6e25bced70b90e5949201">void</a> safe_setter </td>
<td>(</td>
<td class="paramtype"><a class="el" href="../../de/de6/ruby_2ruby_8h.html#aa6a1040cbacdc1c2a409fb3f002071bc">VALUE</a> </td>
<td class="paramname"><em>val</em></td><td>)</td>
<td></td>
</tr>
</table>
</td>
<td class="mlabels-right">
<span class="mlabels"><span class="mlabel">static</span></span> </td>
</tr>
</table>
</div><div class="memdoc">
<p>Definition at line <a class="el" href="../../da/d2d/safe_8c_source.html#l00059">59</a> of file <a class="el" href="../../da/d2d/safe_8c_source.html">safe.c</a>.</p>
<p>References <a class="el" href="../../d8/d32/vm__core_8h_source.html#l00690">GET_THREAD</a>, <a class="el" href="../../db/d74/zlib_8c_source.html#l02025">level</a>, <a class="el" href="../../de/de6/ruby_2ruby_8h_source.html#l00536">NUM2INT</a>, <a class="el" href="../../db/dcc/error_8c_source.html#l00476">rb_eSecurityError</a>, <a class="el" href="../../db/dcc/error_8c_source.html#l01574">rb_raise()</a>, <a class="el" href="../../db/dcc/error_8c_source.html#l00212">rb_warning()</a>, <a class="el" href="../../d8/d32/vm__core_8h_source.html#l00401">rb_thread_struct::safe_level</a>, <a class="el" href="../../d5/d9d/tcltklib_8c_source.html#l07185">safe_level</a>, <a class="el" href="../../da/d2d/safe_8c_source.html#l00020">SAFE_LEVEL_MAX</a>, and <a class="el" href="../../d5/d9d/tcltklib_8c_source.html#l02937">th</a>.</p>
<p>Referenced by <a class="el" href="../../da/d2d/safe_8c_source.html#l00132">Init_safe()</a>.</p>
</div>
</div>
</div><!-- contents -->
<!-- start footer part -->
<hr class="footer"/><address class="footer"><small>
Generated by  <a href="http://www.doxygen.org/index.html">
<img class="footer" src="../../doxygen.png" alt="doxygen"/>
</a> 1.8.5
</small></address>
</body>
</html>