summaryrefslogtreecommitdiff
path: root/main/misc/dump_syms.sh
blob: 1173555cf7ae50e55ca2e0e64756dc9dab792d84 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
#!/bin/bash


function dumplib()
{
	LIB=$1
	for arch in armeabi-v7a armeabi arm64-v8a x86 x86_64; do
		VER=$(dump_syms obj/local/$arch/$LIB |grep MODULE | cut -d " " -f 4)
		mkdir -p symbols/$LIB/$VER
		dump_syms obj/local/$arch/$LIB > symbols/$LIB/$VER/$LIB.sym
	done
}

dumplib libopenvpn.so
dumplib pie_openvpn