Script to check static data size in a libapplication.so
This commit is contained in:
4
checkStaticDataSize.sh
Executable file
4
checkStaticDataSize.sh
Executable file
@@ -0,0 +1,4 @@
|
||||
#!/bin/sh
|
||||
# Output static/global symbols in a application lib to check if someone allocated 200 Mb static temp array.
|
||||
# Used to resolve linker errors such as: Cannot load library: alloc_mem_region[815]: OOPS: 54 cannot map library 'libapplication.so'. no vspace available.
|
||||
objdump -x project/obj/local/armeabi/libapplication.so | grep ' ' | sed 's/.* /0x/' | sort -n
|
||||
Reference in New Issue
Block a user