diff --git a/query-engine/query-engine-wasm/analyse/src/crates.ts b/query-engine/query-engine-wasm/analyse/src/crates.ts index 2365fc6c5634..4960a75f8e7f 100644 --- a/query-engine/query-engine-wasm/analyse/src/crates.ts +++ b/query-engine/query-engine-wasm/analyse/src/crates.ts @@ -55,10 +55,19 @@ function parseEntry({ name, ...rest }: TwiggyEntry): ParsedTwiggyEntry | undefin 'custom section', 'wasm magic' ] + + const stringsToAvoid = [ + // memory utilities + 'memmove', + 'memset', + 'memcpy', + 'memcmp', + ] if ( prefixesToAvoid.some(prefix => name.startsWith(prefix)) || substringsToAvoid.some(substring => name.includes(substring)) + || stringsToAvoid.includes(name) ) { return undefined }