Crest Infosolutions Git Repository

  1. 16 Jul, 2020 3 commits
  2. 15 Jul, 2020 5 commits
  3. 14 Jul, 2020 9 commits
  4. 13 Jul, 2020 9 commits
  5. 11 Jul, 2020 2 commits
  6. 10 Jul, 2020 5 commits
    • Yoann Padioleau's avatar
      Ruby and semgrep, v0 (#1233) · cb96e20e
      Yoann Padioleau authored
      * * pfff: use latest, and CEs on AST generic changes
      
      * Add token info from tree-sitter and add few test cases for semgrep/ruby
      
      Test plan:
      make test now should also run the tests under semgrep-core/tests/ruby/
      cb96e20e
    • Bence Nagy's avatar
      7a0bcd7f
    • mschwager's avatar
      a03ef03d
    • Emma Jin's avatar
      Adding cases and functionality (#1206) · f4daa270
      Emma Jin authored
      
      * Also get deep metavars for IdSpecial (namely, ==)
      
      Tested with make test
      
      * Added note to install pkg-config in development instructions (#1202)
      
      * added a line to install pkg-config due to opam install --deps-only -y failure
      
      * two small updates to the Run instructions
      
      * Fix #1191, #438, use '/src' as Docker code volume (#1192)
      
      * Support Assign
      
      Options: in addition to exact match, dots, and metavar replacement, we also recursively generalize the right hand side
      
      Tested with _build/default/bin/Main.exe -synthesize_patterns 8:3-8:56 tests/SYNTHESIZING/set_cookie.py
      
      However, doesn't currently have a working test case
      
      * pfff: bring in python2 parse fixes (#1205)
      
      * pfff: bring in python2 parse fixes
      
      - Parse python files with trailing whitespace
      - Parse python2 tuple as parameter in function/lambda definition
      - Parse python3.8 positional only parameters (PEP 570)
      - Parse python2 implicit array in comprehension
      
      * Revert pfff to c554bc0cb3adb67556bf8bf1eb19e60a033ec9d1
      
      e419abdf7aad79f0b04f5d5ff349081fb1cab7fa had equivalence regressions
      that make semgrep-core fail tests
      
      * Release 0.14.0b1
      
      * Release 0.14.0
      
      * Added test for new equal feature
      
      Currently this test does not pass. See behavior with "make test". Note that the error message is somewhat misleading, since pattern_to_string is used to output the code it should match. In reality, the code it should match is as specified by range and file. In this case, it is
      
       resp = r.set_cookie("sessionid", resp, "RANDOM-UUID")
      
      (though of course import resolution must be taken into account)
      
      * Handle file-not-found errors more gracefully (#1207)
      
      * Handle file-not-found errors more gracefully
      
      Re-factored target manager init method to use attr.s for clarity and passed output_handler to target_manager.
      
      * Fix test failures from reordered arguments to TargetManager
      
      * update CHANGELOG
      
      * docs: Fix pre-commit instructions (#1220)
      
      * WIP: Ruby tree-sitter integration (#1127)
      
      * Require a more recent version of dune, used to compile C and C++ files
      from tree-sitter.
      
      * Add submodule ocaml-tree-sitter-lang
      
      * Use latest Ruby boilerplate
      
      * Use latest ocaml-tree-sitter-lang
      
      * Bento-ignore new submodule ocaml-tree-sitter-lang
      
      * Add trailing slash to bento-ignored directory
      
      * Add setup for ocaml-tree-sitter
      
      * Use latest ocaml-tree-sitter
      
      * Fixes for ocaml-tree-sitter setup
      
      * Add missing step to workflow
      
      * Connecting to add_lang branch in pfff adding Ruby and Typescript in Lang.ml
      
      Test plan:
      make
      make test
      
      * * semgrep-core/bin/Main.ml: new -parse_ruby action testing tree-sitter parsers
      
      * * semgrep-core/bin/Main.ml: run parser in its own process, to avoid
      segfaults
      
      test plan:
      Main.exe -parse_ruby ~/work/lang-ruby
      which is a big corpus of ruby projects (rails, gitlab) does not
      segfault anymore and return pretty good parsing stats
      (97% on rails). Far better than the Ruby parser in pfff which
      can deal with only 15% of modern rails code.
      
      * Factorize code in Parse_code.ml
      
      This will help the gradual transition to tree-sitter parsers.
      We can now in Parse_code.ml call not only pfff parser but also tree-sitter
      parsers
      
      Test plan:
      make test
      
      * * semgrep-core/parsing/Parse_ruby_tree_sitter.ml: Skeleton code
      
      * * semgrep-core/parsing/Parse_ruby_tree_sitter.ml: just copy boilerplate
      
      Now needs to fill it ...
      
      Test plan:
      pad@yrax:~/semgrep$ yy -dump_ast tests/ruby/foo.rb
      + /home/pad/github/semgrep/semgrep-core/_build/default/bin/Main.exe -dump_ast tests/ruby/foo.rb
      (((Stmts_rep1_choice_stmt_term_opt_stmt
         (((Stmt_term
            ((Stmt_exp
              (Exp_cmd_call
               (Cmd_call_choice_var_cmd_arg_list
                ((Var (Id puts))
                 (Cmd_arg_list_arg_rep_COMMA_arg
                  ((Arg_arg
                    (Arg_prim
                     (Prim_str ("\"" (((Str_content "Hello World"))) "\""))))
                   ()))))))
             (Term_line_brk ""))))
          ())))
       ())
      Fatal error: exception (Failure "not implemented")
      Raised at file "stdlib.ml", line 29, characters 22-33
      Called from file "parsing/Parse_ruby_tree_sitter.ml", line 1142, characters 20-30
      Called from file "parsing/Parse_ruby_tree_sitter.ml", line 216, characters 23-35
      Called from file "list.ml", line 92, characters 20-23
      Called from file "parsing/Parse_ruby_tree_sitter.ml", line 213, characters 8-258
      Called from file "parsing/Parse_ruby_tree_sitter.ml", line 1660, characters 16-28
      Called from file "parsing/Parse_code.ml", line 29, characters 16-49
      Called from file "parsing/Parse_code.ml", line 38, characters 12-42
      Called from file "bin/Main.ml", line 773, characters 12-48
      Called from file "Common.ml", line 1294, characters 12-16
      Re-raised at file "Common.ml", line 1292, characters 8-302
      Called from file "Common.ml", line 1262, characters 45-49
      Called from file "Common.ml", line 82, characters 14-18
      Re-raised at file "Common.ml", line 87, characters 10-11
      Called from file "Common.ml", line 1259, characters 6-10
      Called from file "bin/Main.ml", line 1134, characters 2-55
      
      * * semgrep-core/parsing/Parse_ruby_tree_sitter.ml: progress
      
      * * semgrep-core/parsing/Parse_ruby_tree_sitter.ml: handling basic
      puts "Hello World"
      
      * * semgrep-core/tests/ruby/foo.rb: more
      
      * * semgrep-core/parsing/Parse_ruby_tree_sitter.ml: progress
      
      * * pfff: using latest from add_lang with ast_ruby modifications
      
      * * semgrep-core/parsing/Parse_ruby_tree_sitter.ml: progress
      
      * * semgrep-core/parsing/Parse_ruby_tree_sitter.ml: more
      
      * * semgrep-core/parsing/Parse_ruby_tree_sitter.ml: more
      
      * * semgrep-core/parsing/Parse_ruby_tree_sitter.ml: more
      
      * * semgrep-core/parsing/Parse_ruby_tree_sitter.ml: more
      
      * * semgrep-core/parsing/Parse_ruby_tree_sitter.ml: progress before I stop
      for today
      
      * * semgrep-core/parsing/Parse_ruby_tree_sitter.ml: misc
      
      * * semgrep-core/parsing/Parse_ruby_tree_sitter.ml: progress
      
      * * semgrep-core/parsing/Parse_ruby_tree_sitter.ml: progress
      
      * * semgrep-core/parsing/Parse_ruby_tree_sitter.ml: progress
      
      * * semgrep-core/parsing/Parse_ruby_tree_sitter.ml: more
      
      * * semgrep-core/parsing/Parse_ruby_tree_sitter.ml: more
      
      * * semgrep-core/parsing/Parse_ruby_tree_sitter.ml: progress
      
      * * semgrep-core/parsing/Parse_ruby_tree_sitter.ml: progress
      
      * * pfff: use latest add_lang
      
      * * semgrep-core/parsing/Parse_ruby_tree_sitter.ml: more
      
      * * semgrep-core/parsing/Parse_ruby_tree_sitter.ml: progress
      
      * * semgrep-core/parsing/Parse_ruby_tree_sitter.ml: no more Todo! v0!
      
      * * semgrep-core/parsing/Parse_ruby_tree_sitter.ml: use latest pfff
      
      * * semgrep-core/parsing/Parse_ruby_tree_sitter.ml: CEs new ast_ruby.ml
      
      * * semgrep-core/parsing/Parse_ruby_tree_sitter.ml: use Char|Complex|Rational
      
      * * semgrep-core/parsing/Parse_ruby_tree_sitter.ml: use new variable type
      
      * * semgrep-core/parsing/Parse_ruby_tree_sitter.ml: more
      
      * * semgrep-core/parsing/Parse_ruby_tree_sitter.ml: indent
      
      * * semgrep-core/parsing/Parse_ruby_tree_sitter.ml: CEs using latest ast_ruby.ml
      
      * * semgrep-core/parsing/Parse_ruby_tree_sitter.ml: CEs using latest, DotAccess
      
      * * semgrep-core/parsing/Parse_ruby_tree_sitter.ml: CEs
      
      * * semgrep-core/parsing/Parse_ruby_tree_sitter.ml: CEs
      
      * * semgrep-core/parsing/Parse_ruby_tree_sitter.ml: CEs
      
      * * semgrep-core/parsing/Parse_ruby_tree_sitter.ml: CEs
      
      * * semgrep-core/parsing/Parse_ruby_tree_sitter.ml: CEs
      
      * * semgrep-core/parsing/Parse_ruby_tree_sitter.ml: CEs
      
      * * semgrep-core/parsing/Parse_ruby_tree_sitter.ml: CEs
      
      * Update ocaml-tree-sitter
      
      * * semgrep-core/parsing/Parse_ruby_tree_sitter.ml: CEs recscue_clause, and no
      more 'fk'!
      
      * * semgrep-core/parsing/Parse_ruby_tree_sitter.ml: CEs
      
      * * semgrep-core/parsing/Parse_ruby_tree_sitter.ml: CEs Block and bracket
      
      * * semgrep-core/parsing/Parse_ruby_tree_sitter.ml: CEs option2 removal
      
      * * pfff: use latest!
      
      * Fix incorrect build commands for ocaml-tree-sitter's runtime.
      
      * Fix dependency setup
      
      * Use latest ocaml-tree-sitter
      
      * Run new configure step in ocaml-tree-sitter install
      
      * Use alpine instead of debian+musl
      
      * Update ocaml-tree-sitter
      
      * Show commit info
      
      * Fix non-exhaustive pattern match
      
      * Update submodule pfff
      
      * Switch to alpine for all ocaml builds in github actions.
      
      * Try to set up python for alpine
      
      * Force static linking on alpine
      
      * Try using python 3.8
      
      * Split benchmark.yml into two alpine/ocaml and debian/python
      
      * Fix config
      
      * Add missing copy to export semgrep-core
      
      * Factor out the semgrep-core build
      
      * Add optional 'git clone' for convenience
      
      * Update pfff
      
      * Update pfff
      
      * Split python-dependent tests from semgrep-core build
      
      * Restore the bizarre 'opam env --root /home/opam/.opam --set-root'
      
      * Update ocaml-tree-sitter
      
      * Make ubuntu release reuse the semgrep-core binary.
      
      * Add missing checkout step
      
      * Fix this and that
      
      * * pfff: use latest add_lang, merged
      
      * use latest pfff add_lang branch and CEs
      
      * Fix dockerfile
      
      * Add a root makefile that supports 'make clean'
      
      * Add cleanup step before starting the build.
      
      * * pfff: use latest
      
      * * semgrep-core/bin/Main.ml: Fix possible regression introducing when merging
      develop in tree-sitter.
      
      Probably during some past merge, we used Parse_generic.parse_with_lang
      which does not resolve name instead of the correct (but easy
      to mispell) Parse_code.parse_with_lang.
      This meant many tests were failing because we were not resolving names
      anymore.
      
      Test plan:
      make test in semgrep now work
      
      * * semgrep-core/tests/python/misc_faketok3.py: fix regression
      
      * * Dockerfile: shutup the warning about sudo
      
      There is probably a better way to fix this ... but right now
      I really want to merge the tree-sitter branch in develop so
      this will have to wait.
      @brendon or @matt for help fixing that.
      Co-authored-by: default avatarpad <yoann.padioleau@gmail.com>
      Co-authored-by: Martin Jambon <Martin Jambon>
      
      * output: Fix SARIF format (#1219)
      
      Changes were tested by running the new SARIF snapshot file through the
      validator at https://sarifweb.azurewebsites.net/Validation
      
      Closes https://github.com/returntocorp/semgrep/issues/1209
      
      
      
      * Use latest version of different submodules (#1222)
      
      Test plan:
      make; make test
      
      * Also get deep metavars for IdSpecial (namely, ==)
      
      Tested with make test
      
      * Support Assign
      
      Options: in addition to exact match, dots, and metavar replacement, we also recursively generalize the right hand side
      
      Tested with _build/default/bin/Main.exe -synthesize_patterns 8:3-8:56 tests/SYNTHESIZING/set_cookie.py
      
      However, doesn't currently have a working test case
      
      * Added test for new equal feature
      
      Currently this test does not pass. See behavior with "make test". Note that the error message is somewhat misleading, since pattern_to_string is used to output the code it should match. In reality, the code it should match is as specified by range and file. In this case, it is
      
       resp = r.set_cookie("sessionid", resp, "RANDOM-UUID")
      
      (though of course import resolution must be taken into account)
      
      * Commented out the failing test
      
      Added print statement to show the AST of the patterns.
      Co-authored-by: default avatarClara McCreery <clara@returntocorp.com>
      Co-authored-by: default avatarmschwager <mschwager@users.noreply.github.com>
      Co-authored-by: default avatarBrendon Go <brendon.go@gmail.com>
      Co-authored-by: default avatarClara McCreery <chmccreery@gmail.com>
      Co-authored-by: default avatarBence Nagy <bence@underyx.me>
      Co-authored-by: default avatarMartin Jambon <martin@mjambon.com>
      Co-authored-by: default avatarpad <yoann.padioleau@gmail.com>
      Co-authored-by: default avatarYoann Padioleau <pad@returntocorp.com>
      f4daa270
    • Martin Jambon's avatar
      Add 'make rebuild' to root makefile (#1224) · 3e4fa348
      Martin Jambon authored
      * Populate the root makefile with useful targets, most notably 'make rebuild'.
      
      * Fix the python build step
      
      Co-authored-by: Martin Jambon <Martin Jambon>
      3e4fa348
  7. 09 Jul, 2020 4 commits
    • Yoann Padioleau's avatar
      Use latest version of different submodules (#1222) · 2537811d
      Yoann Padioleau authored
      Test plan:
      make; make test
      2537811d
    • Bence Nagy's avatar
      output: Fix SARIF format (#1219) · 61fe4087
      Bence Nagy authored
      Changes were tested by running the new SARIF snapshot file through the
      validator at https://sarifweb.azurewebsites.net/Validation
      
      Closes https://github.com/returntocorp/semgrep/issues/1209
      61fe4087
    • Martin Jambon's avatar
      WIP: Ruby tree-sitter integration (#1127) · d64142d9
      Martin Jambon authored
      
      * Require a more recent version of dune, used to compile C and C++ files
      from tree-sitter.
      
      * Add submodule ocaml-tree-sitter-lang
      
      * Use latest Ruby boilerplate
      
      * Use latest ocaml-tree-sitter-lang
      
      * Bento-ignore new submodule ocaml-tree-sitter-lang
      
      * Add trailing slash to bento-ignored directory
      
      * Add setup for ocaml-tree-sitter
      
      * Use latest ocaml-tree-sitter
      
      * Fixes for ocaml-tree-sitter setup
      
      * Add missing step to workflow
      
      * Connecting to add_lang branch in pfff adding Ruby and Typescript in Lang.ml
      
      Test plan:
      make
      make test
      
      * * semgrep-core/bin/Main.ml: new -parse_ruby action testing tree-sitter parsers
      
      * * semgrep-core/bin/Main.ml: run parser in its own process, to avoid
      segfaults
      
      test plan:
      Main.exe -parse_ruby ~/work/lang-ruby
      which is a big corpus of ruby projects (rails, gitlab) does not
      segfault anymore and return pretty good parsing stats
      (97% on rails). Far better than the Ruby parser in pfff which
      can deal with only 15% of modern rails code.
      
      * Factorize code in Parse_code.ml
      
      This will help the gradual transition to tree-sitter parsers.
      We can now in Parse_code.ml call not only pfff parser but also tree-sitter
      parsers
      
      Test plan:
      make test
      
      * * semgrep-core/parsing/Parse_ruby_tree_sitter.ml: Skeleton code
      
      * * semgrep-core/parsing/Parse_ruby_tree_sitter.ml: just copy boilerplate
      
      Now needs to fill it ...
      
      Test plan:
      pad@yrax:~/semgrep$ yy -dump_ast tests/ruby/foo.rb
      + /home/pad/github/semgrep/semgrep-core/_build/default/bin/Main.exe -dump_ast tests/ruby/foo.rb
      (((Stmts_rep1_choice_stmt_term_opt_stmt
         (((Stmt_term
            ((Stmt_exp
              (Exp_cmd_call
               (Cmd_call_choice_var_cmd_arg_list
                ((Var (Id puts))
                 (Cmd_arg_list_arg_rep_COMMA_arg
                  ((Arg_arg
                    (Arg_prim
                     (Prim_str ("\"" (((Str_content "Hello World"))) "\""))))
                   ()))))))
             (Term_line_brk ""))))
          ())))
       ())
      Fatal error: exception (Failure "not implemented")
      Raised at file "stdlib.ml", line 29, characters 22-33
      Called from file "parsing/Parse_ruby_tree_sitter.ml", line 1142, characters 20-30
      Called from file "parsing/Parse_ruby_tree_sitter.ml", line 216, characters 23-35
      Called from file "list.ml", line 92, characters 20-23
      Called from file "parsing/Parse_ruby_tree_sitter.ml", line 213, characters 8-258
      Called from file "parsing/Parse_ruby_tree_sitter.ml", line 1660, characters 16-28
      Called from file "parsing/Parse_code.ml", line 29, characters 16-49
      Called from file "parsing/Parse_code.ml", line 38, characters 12-42
      Called from file "bin/Main.ml", line 773, characters 12-48
      Called from file "Common.ml", line 1294, characters 12-16
      Re-raised at file "Common.ml", line 1292, characters 8-302
      Called from file "Common.ml", line 1262, characters 45-49
      Called from file "Common.ml", line 82, characters 14-18
      Re-raised at file "Common.ml", line 87, characters 10-11
      Called from file "Common.ml", line 1259, characters 6-10
      Called from file "bin/Main.ml", line 1134, characters 2-55
      
      * * semgrep-core/parsing/Parse_ruby_tree_sitter.ml: progress
      
      * * semgrep-core/parsing/Parse_ruby_tree_sitter.ml: handling basic
      puts "Hello World"
      
      * * semgrep-core/tests/ruby/foo.rb: more
      
      * * semgrep-core/parsing/Parse_ruby_tree_sitter.ml: progress
      
      * * pfff: using latest from add_lang with ast_ruby modifications
      
      * * semgrep-core/parsing/Parse_ruby_tree_sitter.ml: progress
      
      * * semgrep-core/parsing/Parse_ruby_tree_sitter.ml: more
      
      * * semgrep-core/parsing/Parse_ruby_tree_sitter.ml: more
      
      * * semgrep-core/parsing/Parse_ruby_tree_sitter.ml: more
      
      * * semgrep-core/parsing/Parse_ruby_tree_sitter.ml: more
      
      * * semgrep-core/parsing/Parse_ruby_tree_sitter.ml: progress before I stop
      for today
      
      * * semgrep-core/parsing/Parse_ruby_tree_sitter.ml: misc
      
      * * semgrep-core/parsing/Parse_ruby_tree_sitter.ml: progress
      
      * * semgrep-core/parsing/Parse_ruby_tree_sitter.ml: progress
      
      * * semgrep-core/parsing/Parse_ruby_tree_sitter.ml: progress
      
      * * semgrep-core/parsing/Parse_ruby_tree_sitter.ml: more
      
      * * semgrep-core/parsing/Parse_ruby_tree_sitter.ml: more
      
      * * semgrep-core/parsing/Parse_ruby_tree_sitter.ml: progress
      
      * * semgrep-core/parsing/Parse_ruby_tree_sitter.ml: progress
      
      * * pfff: use latest add_lang
      
      * * semgrep-core/parsing/Parse_ruby_tree_sitter.ml: more
      
      * * semgrep-core/parsing/Parse_ruby_tree_sitter.ml: progress
      
      * * semgrep-core/parsing/Parse_ruby_tree_sitter.ml: no more Todo! v0!
      
      * * semgrep-core/parsing/Parse_ruby_tree_sitter.ml: use latest pfff
      
      * * semgrep-core/parsing/Parse_ruby_tree_sitter.ml: CEs new ast_ruby.ml
      
      * * semgrep-core/parsing/Parse_ruby_tree_sitter.ml: use Char|Complex|Rational
      
      * * semgrep-core/parsing/Parse_ruby_tree_sitter.ml: use new variable type
      
      * * semgrep-core/parsing/Parse_ruby_tree_sitter.ml: more
      
      * * semgrep-core/parsing/Parse_ruby_tree_sitter.ml: indent
      
      * * semgrep-core/parsing/Parse_ruby_tree_sitter.ml: CEs using latest ast_ruby.ml
      
      * * semgrep-core/parsing/Parse_ruby_tree_sitter.ml: CEs using latest, DotAccess
      
      * * semgrep-core/parsing/Parse_ruby_tree_sitter.ml: CEs
      
      * * semgrep-core/parsing/Parse_ruby_tree_sitter.ml: CEs
      
      * * semgrep-core/parsing/Parse_ruby_tree_sitter.ml: CEs
      
      * * semgrep-core/parsing/Parse_ruby_tree_sitter.ml: CEs
      
      * * semgrep-core/parsing/Parse_ruby_tree_sitter.ml: CEs
      
      * * semgrep-core/parsing/Parse_ruby_tree_sitter.ml: CEs
      
      * * semgrep-core/parsing/Parse_ruby_tree_sitter.ml: CEs
      
      * Update ocaml-tree-sitter
      
      * * semgrep-core/parsing/Parse_ruby_tree_sitter.ml: CEs recscue_clause, and no
      more 'fk'!
      
      * * semgrep-core/parsing/Parse_ruby_tree_sitter.ml: CEs
      
      * * semgrep-core/parsing/Parse_ruby_tree_sitter.ml: CEs Block and bracket
      
      * * semgrep-core/parsing/Parse_ruby_tree_sitter.ml: CEs option2 removal
      
      * * pfff: use latest!
      
      * Fix incorrect build commands for ocaml-tree-sitter's runtime.
      
      * Fix dependency setup
      
      * Use latest ocaml-tree-sitter
      
      * Run new configure step in ocaml-tree-sitter install
      
      * Use alpine instead of debian+musl
      
      * Update ocaml-tree-sitter
      
      * Show commit info
      
      * Fix non-exhaustive pattern match
      
      * Update submodule pfff
      
      * Switch to alpine for all ocaml builds in github actions.
      
      * Try to set up python for alpine
      
      * Force static linking on alpine
      
      * Try using python 3.8
      
      * Split benchmark.yml into two alpine/ocaml and debian/python
      
      * Fix config
      
      * Add missing copy to export semgrep-core
      
      * Factor out the semgrep-core build
      
      * Add optional 'git clone' for convenience
      
      * Update pfff
      
      * Update pfff
      
      * Split python-dependent tests from semgrep-core build
      
      * Restore the bizarre 'opam env --root /home/opam/.opam --set-root'
      
      * Update ocaml-tree-sitter
      
      * Make ubuntu release reuse the semgrep-core binary.
      
      * Add missing checkout step
      
      * Fix this and that
      
      * * pfff: use latest add_lang, merged
      
      * use latest pfff add_lang branch and CEs
      
      * Fix dockerfile
      
      * Add a root makefile that supports 'make clean'
      
      * Add cleanup step before starting the build.
      
      * * pfff: use latest
      
      * * semgrep-core/bin/Main.ml: Fix possible regression introducing when merging
      develop in tree-sitter.
      
      Probably during some past merge, we used Parse_generic.parse_with_lang
      which does not resolve name instead of the correct (but easy
      to mispell) Parse_code.parse_with_lang.
      This meant many tests were failing because we were not resolving names
      anymore.
      
      Test plan:
      make test in semgrep now work
      
      * * semgrep-core/tests/python/misc_faketok3.py: fix regression
      
      * * Dockerfile: shutup the warning about sudo
      
      There is probably a better way to fix this ... but right now
      I really want to merge the tree-sitter branch in develop so
      this will have to wait.
      @brendon or @matt for help fixing that.
      Co-authored-by: default avatarpad <yoann.padioleau@gmail.com>
      Co-authored-by: Martin Jambon <Martin Jambon>
      d64142d9
    • Bence Nagy's avatar
      docs: Fix pre-commit instructions (#1220) · ee2860a3
      Bence Nagy authored
      ee2860a3
  8. 08 Jul, 2020 3 commits