Note that there are some explanatory texts on larger screens.

plurals
  1. USDan Haynes
    primarykey
    data
    text
    plurals
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. COWord of caution: if you don't read the stdout and stderr streams while doing Runtime.exec() and the application writes too much data to one of those streams, it will block. Your app and Godot will then have something in common. I don't know what the buffer sizes are, I assume they're OS dependent. So "ping -n 1" might work fine, but "ping -n 5" could hang indefinitely.
      singulars
    2. COThere isn't any association between stack space and variable names. The example relies on the fact that conceptually the stack frame in the second function call will simply overlay the stack frame of the second function call. It doesn't matter what the names are, as long as both method signatures are the same, the same thing might happen. As others have pointed out, if it were in an embedded system and a hardware interrupt was serviced between the calls to A() and B(), the stack would contain random values. Old tools like Code Guard for Borland allowed writing zeros to stack before each call.
      singulars
    3. COTwo cases where I've been bit by this: One is using Java versions of YACC or LEX. They can generate very large state machines implemented in a single method. It also occurs when trying to measure code coverage. The coverage tools instrument the .class files with the additional bytecode required to collect the runtime data. The instrumentation bytecode can push methods over the 64K limit even if the original code is quite a bit smaller than that.
      singulars
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload