[Oberon] Stack overflow in ORB.OutType

Joerg joerg.straube at iaeth.ch
Tue Jun 16 07:35:10 CEST 2020


Tomas

Have a look at the memory layout and try to answer your question yourself.
Chapter 8
https://people.inf.ethz.ch/wirth/ProjectOberon/PO.System.pdf

Hint: the stack does NOT grow into the heap.

br
Jörg

> Am 16.06.2020 um 06:50 schrieb Tomas Kral <thomas.kral at email.cz>:
> 
> 
>> 
>> Today I remembered that a few weeks ago I stumbled upon a stack
>> overflow in the RISC5 Oberon compiler
> 
> Hi, running FPGA, how can I tell, stack overflow happens. Except for
> obvious locking the system?
> 
> What happens to the stack, does it grow into the heap, smashing it,
> any LEDs we get?
> 
> -- 
> Tomas Kral <thomas.kral at email.cz>
> --
> Oberon at lists.inf.ethz.ch mailing list for ETH Oberon and related systems
> https://lists.inf.ethz.ch/mailman/listinfo/oberon
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.inf.ethz.ch/pipermail/oberon/attachments/20200616/d196d6da/attachment.html>


More information about the Oberon mailing list