The invention discloses a method for determining a dynamic function call relation based on
register transfer languages, mainly aiming to solve the problems in design that a call relation of a
function pointer and a loadable module function cannot be analyzed through a static function call relation. The method includes: detecting function call executing events during
system operation, if call instructions are detected, analyzing function names corresponding to function entry addresses called through the instructions, performing statistics on number of the instructions and outputting the function names, call
occurrence time, subordinate process numbers, subordinate threading numbers, subordinate stack top pointers and module numbers prior to storing to a trace
data file; if the detected instructions are return instructions, outputting time, the subordinate process numbers, the subordinate threading numbers and the subordinate stack top pointers to the track
data file;
processing the track
data file to acquire the
data format with predetermined standard, transmitting the track data file to a static function call relation generating device so as to generate a dynamic function
call graph describing the function call relation.