HomePhabricator

Check args passed to __builtin_frame_address and __builtin_return_address.

Authored by zoecarver on Feb 25 2020, 12:42 PM.

Description

Check args passed to builtin_frame_address and builtin_return_address.

Verifies that an argument passed to builtin_frame_address or builtin_return_address is within the range [0, 0xFFFF]

Differential revision: https://reviews.llvm.org/D66839

Re-committed after fixed: c93112dc4f745b0455addb54bfe1c2f79b827c6d

Details

Committed
zoecarverFeb 25 2020, 12:47 PM
Differential Revision
D66839: Fix stack address builtin for negative numbers
Parents
rG6d0d1a63f2a6: Use "nop" to avoid size warnings.
Branches
Unknown
Tags
Unknown