Guest User

Untitled

a guest
Jan 5th, 2021
25
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. joern> cpg.call.id(1000119L).ddgIn.l
  2. res85: List[nodes.TrackingPoint] = List(
  3. Identifier(
  4. id -> 1000120L,
  5. code -> "y",
  6. name -> "y",
  7. order -> 1,
  8. argumentIndex -> 1,
  9. typeFullName -> "int",
  10. dynamicTypeHintFullName -> List(),
  11. lineNumber -> Some(7),
  12. columnNumber -> Some(8),
  13. depthFirstOrder -> None,
  14. internalFlags -> None
  15. )
  16. )
  17.  
  18. joern> cpg.identifier.id(1000120L).ddgIn.l
  19. res86: List[nodes.TrackingPoint] = List(
  20. Identifier(
  21. id -> 1000115L,
  22. code -> "y",
  23. name -> "y",
  24. order -> 1,
  25. argumentIndex -> 1,
  26. typeFullName -> "int",
  27. dynamicTypeHintFullName -> List(),
  28. lineNumber -> Some(6),
  29. columnNumber -> Some(7),
  30. depthFirstOrder -> None,
  31. internalFlags -> None
  32. )
  33. )
  34.  
  35. joern> cpg.identifier.id(1000115L).ddgIn.l
  36. res87: List[nodes.TrackingPoint] = List(
  37. Call(
  38. id -> 1000116L,
  39. code -> "2 * x",
  40. name -> "<operator>.multiplication",
  41. order -> 2,
  42. methodInstFullName -> None,
  43. methodFullName -> "<operator>.multiplication",
  44. argumentIndex -> 2,
  45. dispatchType -> "STATIC_DISPATCH",
  46. signature -> "TODO assignment signature",
  47. typeFullName -> "ANY",
  48. dynamicTypeHintFullName -> List(),
  49. lineNumber -> Some(6),
  50. columnNumber -> Some(11),
  51. resolved -> None,
  52. depthFirstOrder -> None,
  53. internalFlags -> None
  54. )
  55. )
  56.  
  57. joern> cpg.call.id(1000116L).ddgIn.l
  58. res88: List[nodes.TrackingPoint] = List(
  59. Literal(
  60. id -> 1000117L,
  61. code -> "2",
  62. order -> 1,
  63. argumentIndex -> 1,
  64. typeFullName -> "int",
  65. dynamicTypeHintFullName -> List(),
  66. lineNumber -> Some(6),
  67. columnNumber -> Some(11),
  68. depthFirstOrder -> None,
  69. internalFlags -> None
  70. ),
  71. Identifier(
  72. id -> 1000118L,
  73. code -> "x",
  74. name -> "x",
  75. order -> 2,
  76. argumentIndex -> 2,
  77. typeFullName -> "int",
  78. dynamicTypeHintFullName -> List(),
  79. lineNumber -> Some(6),
  80. columnNumber -> Some(15),
  81. depthFirstOrder -> None,
  82. internalFlags -> None
  83. )
  84. )
  85.  
  86. joern> cpg.identifier.id(1000118L).ddgIn.l
  87. res89: List[nodes.TrackingPoint] = List(
  88. Identifier(
  89. id -> 1000110L,
  90. code -> "x",
  91. name -> "x",
  92. order -> 1,
  93. argumentIndex -> 1,
  94. typeFullName -> "int",
  95. dynamicTypeHintFullName -> List(),
  96. lineNumber -> Some(4),
  97. columnNumber -> Some(6),
  98. depthFirstOrder -> None,
  99. internalFlags -> None
  100. ),
  101. Literal(
  102. id -> 1000117L,
  103. code -> "2",
  104. order -> 1,
  105. argumentIndex -> 1,
  106. typeFullName -> "int",
  107. dynamicTypeHintFullName -> List(),
  108. lineNumber -> Some(6),
  109. columnNumber -> Some(11),
  110. depthFirstOrder -> None,
  111. internalFlags -> None
  112. )
  113. )
  114.  
  115. joern> cpg.identifier.id(1000110L).ddgIn.l
  116. res90: List[nodes.TrackingPoint] = List(
  117. Identifier(
  118. id -> 1000106L,
  119. code -> "x",
  120. name -> "x",
  121. order -> 1,
  122. argumentIndex -> 1,
  123. typeFullName -> "int",
  124. dynamicTypeHintFullName -> List(),
  125. lineNumber -> Some(3),
  126. columnNumber -> Some(6),
  127. depthFirstOrder -> None,
  128. internalFlags -> None
  129. ),
  130. Identifier(
  131. id -> 1000111L,
  132. code -> "MAX",
  133. name -> "MAX",
  134. order -> 2,
  135. argumentIndex -> 2,
  136. typeFullName -> "ANY",
  137. dynamicTypeHintFullName -> List(),
  138. lineNumber -> Some(4),
  139. columnNumber -> Some(10),
  140. depthFirstOrder -> None,
  141. internalFlags -> None
  142. )
  143. )
  144.  
  145. joern> cpg.identifier.id(1000106L).ddgIn.l
  146. res91: List[nodes.TrackingPoint] = List(
  147. Call(
  148. id -> 1000107L,
  149. code -> "source()",
  150. name -> "source",
  151. order -> 2,
  152. methodInstFullName -> None,
  153. methodFullName -> "source",
  154. argumentIndex -> 2,
  155. dispatchType -> "STATIC_DISPATCH",
  156. signature -> "TODO assignment signature",
  157. typeFullName -> "ANY",
  158. dynamicTypeHintFullName -> List(),
  159. lineNumber -> Some(3),
  160. columnNumber -> Some(10),
  161. resolved -> None,
  162. depthFirstOrder -> None,
  163. internalFlags -> None
  164. )
  165. )
  166.  
  167. joern> cpg.identifier.id(1000107L).ddgIn.l
  168. res92: List[nodes.TrackingPoint] = List()
RAW Paste Data