-
Notifications
You must be signed in to change notification settings - Fork 278
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[ruby_ast_gen] Control Structures (#5008)
* Ruby AST Gen downloaded and unpacked * Put AST Gen in front of ANTLR * More entries * Implemented JRuby for standalone capabilities. Edited SBT to help with DownloadHelper's assumptions on ensuring files are available. * Migrated to creating RubyNodeCreator-style nodes directly * Added all AstType entries * Create match entries for all enums * Added empty visit methods for each AST type * More work on basic cases * Completed exhaustive list * Completed visitors for all types * Executing JRuby from Joern's JVM process as dependency * Inserted more missing cases * Applied some control structures * [ruby] Added json visitors for ifStmt, while, begin..end until * Handle initial class/module body creation & summary creation (#5002) * Handle initial class/module body creation & summary creation * Separated tests between versions * [ruby_ast_gen] Handling for Singleton & Anon Classes (#5006) * Improved runner stability and handling class fields * [ruby_ast_gen] Handling for Singleton & Anon Classes Additionally, added handling for range operators and lowered hash arguments in calls to named arguments to be consistent with current ANTLR interpretation of these args. * Roll back AstGenRunner changes * Remove line for diff * Progress push * Finished control structures --------- Co-authored-by: David Baker Effendi <[email protected]>
- Loading branch information
1 parent
452b1e3
commit afa1556
Showing
24 changed files
with
3,339 additions
and
229 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
1 change: 1 addition & 0 deletions
1
joern-cli/frontends/rubysrc2cpg/src/main/resources/application.conf
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,4 @@ | ||
rubysrc2cpg { | ||
ruby_ast_gen_version: "0.16.0" | ||
joern_type_stubs_version: "0.6.0" | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.