Re: Load and parse RTL from textual dump files

2017-12-20 Thread HEBBAL Yacine
Hi Kyrill, Thank you for your response. I looked at GCC RTL tests and I saw that the RTL format in these files is embedded in C functions and slightly different from the one in dump files generated with -fdump-rtl-expand option. So for large scale analysis, do you think that writing a GCC plugin is

Re: Load and parse RTL from textual dump files

2017-12-18 Thread Kyrill Tkachov
Hi, On 18/12/17 10:30, HEBBAL Yacine wrote: Hello, In one of my projects, I need to determine automatically what are the names and types of data fields manipulated by functions in binary code of a given program (e.g. Linux kernel). I found that RTL dumps contains most of information I need in

Load and parse RTL from textual dump files

2017-12-18 Thread HEBBAL Yacine
Hello, In one of my projects, I need to determine automatically what are the names and types of data fields manipulated by functions in binary code of a given program (e.g. Linux kernel). I found that RTL dumps contains most of information I need in a form very close to the one of the binary code.