radare2-agfg.gml 2.7 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677
  1. # r_core_anal_graph_GML()
  2. graph [
  3. node [id 19696 label " ; CALL XREF from fcn.000047d0 @ 0x47e5
  4. ; CALL XREFS from fcn.000048b0 @ 0x4bc6, 0x4cbd
  5. 120: fcn.00004cf0 (int64_t arg1);
  6. ; arg int64_t arg1 @ rdi
  7. 0x00004cf0 push r12
  8. 0x00004cf2 push rbp
  9. 0x00004cf3 push rbx
  10. 0x00004cf4 mov rbx, rdi ; arg1
  11. 0x00004cf7 call sym.imp.fileno ; int fileno(FILE *stream)
  12. 0x00004cfc test eax, eax
  13. 0x00004cfe mov rdi, rbx
  14. 0x00004d01 js 0x4d57
  15. "]
  16. node [id 19715 label "0x00004d03 call sym.imp.__freading
  17. 0x00004d08 test eax, eax
  18. 0x00004d0a jne 0x4d38
  19. "]
  20. node [id 19724 label "; CODE XREF from fcn.00004cf0 @ 0x4d52
  21. 0x00004d0c mov rdi, rbx ; int64_t arg1
  22. 0x00004d0f call fcn.00004d70
  23. 0x00004d14 test eax, eax
  24. 0x00004d16 je 0x4d54
  25. "]
  26. node [id 19736 label "0x00004d18 call sym.imp.__errno_location
  27. 0x00004d1d mov r12d, dword [rax]
  28. 0x00004d20 mov rdi, rbx ; FILE *stream
  29. 0x00004d23 mov rbp, rax
  30. 0x00004d26 call sym.imp.fclose ; int fclose(FILE *stream)
  31. 0x00004d2b test r12d, r12d
  32. 0x00004d2e jne 0x4d60
  33. "]
  34. node [id 19760 label "; CODE XREF from fcn.00004cf0 @ 0x4d69
  35. 0x00004d30 pop rbx
  36. 0x00004d31 pop rbp
  37. 0x00004d32 pop r12
  38. 0x00004d34 ret
  39. "]
  40. node [id 19768 label "; CODE XREF from fcn.00004cf0 @ 0x4d0a
  41. 0x00004d38 mov rdi, rbx ; FILE *stream
  42. 0x00004d3b call sym.imp.fileno ; int fileno(FILE *stream)
  43. 0x00004d40 xor esi, esi
  44. 0x00004d42 mov edx, 1
  45. 0x00004d47 mov edi, eax
  46. 0x00004d49 call sym.imp.lseek
  47. 0x00004d4e cmp rax, 0xffffffffffffffff
  48. 0x00004d52 jne 0x4d0c
  49. "]
  50. node [id 19796 label "; CODE XREF from fcn.00004cf0 @ 0x4d16
  51. 0x00004d54 mov rdi, rbx
  52. "]
  53. node [id 19799 label "; CODE XREF from fcn.00004cf0 @ 0x4d01
  54. 0x00004d57 pop rbx
  55. 0x00004d58 pop rbp
  56. 0x00004d59 pop r12
  57. 0x00004d5b jmp sym.imp.fclose
  58. "]
  59. node [id 19808 label "; CODE XREF from fcn.00004cf0 @ 0x4d2e
  60. 0x00004d60 mov dword [rbp], r12d
  61. 0x00004d64 mov eax, 0xffffffff ; -1
  62. 0x00004d69 jmp 0x4d30
  63. "]
  64. edge [ source 19696 target 19799]
  65. edge [ source 19696 target 19715]
  66. edge [ source 19715 target 19768]
  67. edge [ source 19715 target 19724]
  68. edge [ source 19724 target 19796]
  69. edge [ source 19724 target 19736]
  70. edge [ source 19736 target 19808]
  71. edge [ source 19736 target 19760]
  72. edge [ source 19768 target 19724]
  73. edge [ source 19768 target 19796]
  74. edge [ source 19796 target 19799]
  75. edge [ source 19808 target 19760]
  76. ]