Ida pro gragh output batch mode

前端 未结 2 1188
别跟我提以往
别跟我提以往 2020-12-21 23:06

Can anyone let me know how we are going to output all the subroutine\'s graphs in batch mode suing IDC. i.e. I have 447 subroutine\'s and wanna be output them a

2条回答
  •  旧巷少年郎
    2020-12-22 00:09

    If you just want the address of all known functions in the IDB, you could use something like this using IDAPython (just an example):

    def main():
        for count, func_ea in enumerate(Functions()):
            if func_ea == BADADDR:
                break
            func_name = GetFunctionName(funcea)
            func_start = func_ea
    
            print("[{:4}] name: {}; start address: {:#x}".format(count, func_name, func_start))
    
    if __name__ == "__main__":
        main()
    

提交回复
热议问题