1
0
Fork 0
mirror of https://github.com/ruby/ruby.git synced 2022-11-09 12:17:21 -05:00
ruby--ruby/tool
Jeremy Evans c5c05460ac Warn on access/modify of $SAFE, and remove effects of modifying $SAFE
This removes the security features added by $SAFE = 1, and warns for access
or modification of $SAFE from Ruby-level, as well as warning when calling
all public C functions related to $SAFE.

This modifies some internal functions that took a safe level argument
to no longer take the argument.

rb_require_safe now warns, rb_require_string has been added as a
version that takes a VALUE and does not warn.

One public C function that still takes a safe level argument and that
this doesn't warn for is rb_eval_cmd.  We may want to consider
adding an alternative method that does not take a safe level argument,
and warn for rb_eval_cmd.
2019-11-18 01:00:25 +02:00
..
lib Warn on access/modify of $SAFE, and remove effects of modifying $SAFE 2019-11-18 01:00:25 +02:00
m4 typedef rb_jmpbuf_t to void *[5] if __builtin_setjmp is used 2019-09-21 13:24:58 +09:00
ruby_vm Avoid top-level search for nested constant reference from nil in defined? 2019-11-13 15:36:58 +09:00
test use builtin for TracePoint. 2019-11-08 09:09:29 +09:00
actions-commit-info.sh Add commit number of today to notification of GitHub Actions 2019-11-13 14:25:30 +09:00
asm_parse.rb
bisect.sh
build-transcode
checksum.rb
colors
darwin-cc
downloader.rb
enc-emoji-citrus-gen.rb
enc-emoji4unicode.rb
enc-unicode.rb
eval.rb
expand-config.rb
extlibs.rb
fake.rb
fetch-bundled_gems.rb Use git pull instead of git fetch if master branch 2019-09-04 12:46:26 +09:00
file2lastrev.rb Exit gently if no VCS found but --suppress_not_found is given 2019-09-07 17:26:28 +09:00
format-release format-release uses the result of GitHub Actions 2019-11-12 01:22:59 +09:00
gem-unpack.rb Remove unneeded exec bits from some files 2019-11-09 21:36:30 +09:00
gen_dummy_probes.rb
gen_ruby_tapset.rb
generic_erb.rb
git-refresh
gperf.sed
id2token.rb
ifchange
insns2vm.rb
install-sh
leaked-globals st.c: Use rb_st_* prefix instead of st_* (#2479) 2019-09-22 22:12:18 +09:00
make-snapshot Fix typo [ci skip] 2019-10-08 00:00:24 +09:00
make_hgraph.rb
mdoc2man.rb
merger.rb Always use git.ruby-lang.org as origin 2019-11-12 01:22:59 +09:00
mjit_archflag.sh
mk_builtin_binary.rb Prettify builtin_binary format 2019-11-09 00:21:44 +09:00
mk_builtin_loader.rb Strip the last line which become trailing spaces 2019-11-12 16:16:46 +09:00
mk_call_iseq_optimized.rb more on struct rb_call_data 2019-10-25 12:24:22 +09:00
mkconfig.rb
mkrunnable.rb
node_name.rb
parse.rb
prereq.status
probes_to_wiki.rb
pure_parser.rb
rbinstall.rb Remove binary data at installation 2019-11-11 12:20:03 +09:00
rbuninstall.rb
redmine-backporter.rb
release.sh tool/release.sh uses ruby-actions' result 2019-10-22 22:15:52 +09:00
rmdirs
run-gcov.rb
run-lcov.rb
runruby.rb Fix some bundler specs (#2380) 2019-08-20 09:46:31 +09:00
strip-rdoc.rb
sync_default_gems.rb Removed sync library from sync tool 2019-11-13 15:37:21 +09:00
test-bundled-gems.rb Do not occupy ARGV by XRUBY command 2019-11-05 08:45:19 +09:00
test-coverage.rb
transcode-tblgen.rb
transform_mjit_header.rb
travis_retry.sh
update-deps
vtlh.rb
ytab.sed