Semgrep installs on ARM (e.g. an Android tablet via Termux, or aarch64 Linux) but cannot be invoked, the bundled OCaml binary is x86-64 only, so it fails on ARM systems.
G@guest
Semgrep now ships ARM support: multi-arch Docker images (linux/amd64 + linux/arm64) since 1.31.2, aarch64 Python wheels on PyPI since 1.33.1, and musllinux (Alpine) aarch64 wheels since 1.38.0. Upgrade to 1.38.0 or later on ARM, for Docker use the multi-arch image, for pip install grab a current wheel.