Google's dump_syms
program requires an input file and an output file to write the symbolicated file such as:
$ dump_syms ./test.so > test.so.sym
I have the binary of the test.so
in the memory buffer. It doesn't play well with performance if I first write the binary to a temp file then feed it to the dump_syms
then delete this temp source.
Is it possible to somehow directly pipe the binary data into the dump_syms
in order to bypass the file system? I believe there must be a way maybe from Linux's native piping perspective to do this.
I know that the best way would be for the dump_syms
to support piping, but I suppose it doesn't have this feature. Considering this, if there are any tip to, perhaps, modify the dump_syms to accept the pipe, I would love to hear that as well.