virtualx-engine/modules/gdscript
George Marques 34f0a2ca46
GDScript: Add limit to call depth
The hard limit is set at 2048 depth which seems sensible between
legitimate recursive calls while still avoiding a crash because of a
stack overflow in most of the cases.

Note that it is still possible to reach the stack limit and get an
overflow before reaching a call depth. This is intended as a half-way
measure to stop crashing in most cases, since there's no reliable nor
portable way to check the amount of stack memory left.
2023-02-07 17:09:40 -03:00
..
doc_classes GDScript: Improve validation and documentation of @export_flags 2023-02-07 19:32:08 +03:00
editor Allow unicode identifier in GDScript syntax highlighter 2023-01-29 13:17:05 +08:00
icons
language_server call update_exports from LSP didSave function 2023-01-20 19:16:53 -08:00
tests Merge pull request from vonagam/fix-typed-array-can-reference 2023-02-06 23:32:47 +03:00
config.py [Scons] Implement module dependency sorting. 2022-08-04 20:00:19 +02:00
gdscript.cpp GDScript: Add limit to call depth 2023-02-07 17:09:40 -03:00
gdscript.h Merge pull request from reduz/support-script-class-name-in-efs 2023-01-21 16:54:23 +01:00
gdscript_analyzer.cpp Some code simplifications 2023-02-07 14:30:16 +01:00
gdscript_analyzer.h Merge pull request from vnen/gdscript-warning-default-error 2023-02-05 16:00:26 +03:00
gdscript_byte_codegen.cpp GDScript: Fix issues with typed arrays 2023-01-31 11:54:41 +02:00
gdscript_byte_codegen.h Merge pull request from vnen/gdscript-ptr-method-name-in-debug 2023-01-23 12:24:15 -03:00
gdscript_cache.cpp One Copyright Update to rule them all 2023-01-05 13:25:55 +01:00
gdscript_cache.h One Copyright Update to rule them all 2023-01-05 13:25:55 +01:00
gdscript_codegen.h Merge pull request from vnen/gdscript-ptr-method-name-in-debug 2023-01-23 12:24:15 -03:00
gdscript_compiler.cpp GDScript: Allow void functions to return calls to other void functions 2023-01-31 11:37:30 -03:00
gdscript_compiler.h One Copyright Update to rule them all 2023-01-05 13:25:55 +01:00
gdscript_disassembler.cpp GDScript: Fix disassembly of typed array assignment and construction 2023-02-01 11:18:54 +02:00
gdscript_editor.cpp Merge pull request from Vilcrow/fix-jump-to-definition 2023-02-07 19:37:50 +01:00
gdscript_function.cpp Merge pull request from KoBeWi/gdsus 2023-02-03 16:13:06 +01:00
gdscript_function.h GDScript: Add limit to call depth 2023-02-07 17:09:40 -03:00
gdscript_lambda_callable.cpp One Copyright Update to rule them all 2023-01-05 13:25:55 +01:00
gdscript_lambda_callable.h One Copyright Update to rule them all 2023-01-05 13:25:55 +01:00
gdscript_parser.cpp GDScript: Improve validation and documentation of @export_flags 2023-02-07 19:32:08 +03:00
gdscript_parser.h Merge pull request from vnen/gdscript-warning-default-error 2023-02-05 16:00:26 +03:00
gdscript_rpc_callable.cpp One Copyright Update to rule them all 2023-01-05 13:25:55 +01:00
gdscript_rpc_callable.h One Copyright Update to rule them all 2023-01-05 13:25:55 +01:00
gdscript_tokenizer.cpp Add support for Unicode identifiers in GDScript 2023-01-21 13:39:40 -03:00
gdscript_tokenizer.h Add support for Unicode identifiers in GDScript 2023-01-21 13:39:40 -03:00
gdscript_utility_functions.cpp Remove @GDScript.str (duplicate of @GlobalScope.str) 2023-01-30 14:29:07 +03:00
gdscript_utility_functions.h One Copyright Update to rule them all 2023-01-05 13:25:55 +01:00
gdscript_vm.cpp GDScript: Add limit to call depth 2023-02-07 17:09:40 -03:00
gdscript_warning.cpp GDScript: Add warnings that are set to error by default 2023-02-02 12:07:25 -03:00
gdscript_warning.h GDScript: Add warnings that are set to error by default 2023-02-02 12:07:25 -03:00
register_types.cpp Remove references to compiled GDScript in export 2023-01-20 15:09:07 -03:00
register_types.h One Copyright Update to rule them all 2023-01-05 13:25:55 +01:00
SCsub SCons: Unify tools/target build type configuration 2022-09-26 16:31:46 +02:00