The CFI build is failing with: ``` # success: prints expected string Illegal instruction (core dumped) ``` https://travis-ci.com/github/mapbox/node-cpp-skel/jobs/455213147#L449 I wonder if this started at https://github.com/mapbox/node-cpp-skel/commit/0f679d2a5eee050c7fe5d6f104016f501522554e? @artemp can you take a look?
Activity
artemp commentedon Dec 7, 2020
The issue is cfi sanitizer doesn't like CRTP pattern cast here: https://github.com/nodejs/node-addon-api/blob/master/napi-inl.h#L3545
I'll submit PR with the fix (disabling
cfi-derived-castcheck for any functions which has 'ObjectWrap` string in its name.artemp commentedon Dec 7, 2020
Fixed in #167