#!/bin/bash . $(dirname $0)/common.inc cat < extern char _etext[]; int main() { printf("%p\n", _etext); } EOF $CXX -B. -o $t/exe $t/a.o -no-pie readelf --unwind $t/exe | grep "$($QEMU $t/exe) .*cantunwind"