Skip to content
This repository was archived by the owner on Jul 5, 2023. It is now read-only.
This repository was archived by the owner on Jul 5, 2023. It is now read-only.

CRT function replacement failures should be able to fail build #56

@sigurasg

Description

@sigurasg

As-is, str* function replacement failure just logs, and then we get false-positive overruns from the field. For Chrome, it would be much preferable to fail the build, as that way we can at least fix it before annoying kN devs. Perhaps this could be then disabled under a flag (--dont-barf-on-crt-function-replacement-failure)?

...
[0615/231658:WARNING:asan_interceptor_filter.cc(65)] Not intercepting wcschr with hash 574d84de4f9718ae0d1e149aea4bef43
...
[0615/231658:WARNING:asan_interceptor_filter.cc(65)] Not intercepting strnlen with hash 96bece78e0fcd82e400ad92889100e0e
[0615/231658:WARNING:asan_interceptor_filter.cc(65)] Not intercepting wcsnlen with hash d39e85f57e04069cff34624893a84e4a
....

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions