Forums
New posts
Search forums
Members
Current visitors
Log in
Register
What's new
Search
Search
Search titles only
By:
New posts
Search forums
Menu
Log in
Register
Install the app
Install
Forums
Archive
Archive
C Programming
size of a sizeof(pointer)
JavaScript is disabled. For a better experience, please enable JavaScript in your browser before proceeding.
Reply to thread
Message
[QUOTE="Malcolm, post: 1702735"] It depends why you are using a VM. If the reason is portability of the binary, then you might accept crashing. However if the reason is safety, then undefined behaviour introduces potential security risks. The problem is that the interpreter is the program that crashes. So if you look at the core dump, or whatever a crashed program produces on your system, you see where the interpreter failed to check for a out of bounds array access, for example, but not where that array was in the bytecode. Of course a decent interpreter would produce a better diagnostic than an unspecified "illegal memory access". [/QUOTE]
Verification
Post reply
Forums
Archive
Archive
C Programming
size of a sizeof(pointer)
Top