Open qingbol opened 4 years ago
Yes. I would also be interested in the python code used to create the pickle files.
I'm sorry, what do you mean the argument counts and types? You can just obtain the tensor from the model and evaluate it.
I don't know for sure if this is what the original commenter wanted, but I and some colleagues were hoping to get the code that was used to parse binaries and create the pickles for them. We would like to be able to compile our own binaries with other compilers (but still include the DWARF information) and then create pickles for them that can be used to train/evaluate the neural network.
Same as tforhan, I'm curious about the code that can get argument counts and types from binary using pyelftools. I guess there are so many complex and corner cases even only for C program.
I was also stuck on this for a project that I did for school a few years ago. I ended up writing this program after reverse engineering the pickle file structure used for this neural network. I have not used it since so I can not speak for the function of it but maybe it will help you.
Can you share the python code to extract the argument counts and types? I appreciate it if you can.