How to gather IncludePaths of all modules in unreal

I am working on embedding Cling into Unreal by plugin. Cling is a c++ interpreter with jit. It can find the symbol of any function by only declaring it if it is exported to dll. It allows us to call functions directly even if they are not decorated by UFUNCION.
However, IncludePaths must be specified before we include a header file in Cling interpreter. Each module can add custom IncludePaths in Build.cs and we must let Cling know all IncludePaths. Then Cling can resolve all includes in the file we include to the interpreter.
So here is the question, is there any way to define some ubt plugin that can get all include paths?