Skip to content

In-depth lesson · Memory corruption

Reports behind this point

Use ref.cast_desc with a descriptor of a subtype to cast a struct to an unrelated supertype, then access a field to check for type confusion.

Seen in these reports

4