1 / 28

Explore XINFO-C Scanner: Program Analysis Tool

Discover how to use the XINFO-C scanner to analyze programs, functions, variables, files, DB2 access, and more. Get insights into program structure and dependencies for efficient development.

rholland
Download Presentation

Explore XINFO-C Scanner: Program Analysis Tool

An Image/Link below is provided (as is) to download presentation Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author. Content is provided to you AS IS for your information and personal use only. Download presentation by click this link. While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server. During download, if you can't get a presentation, the file might be deleted by the publisher.

E N D

Presentation Transcript


  1. XINFO – Programming Language zOS - C

  2. About this Presentation This PowerPoint gives you a short overview about how to work with XINFO - C scanner. This button can be used to jump to specific slides in this presentation. General Information Click on this symbol to jump to the overview slide

  3. Table of Contents

  4. XINFO and C The XINFO C scanner delivers following information: • Which proprams are using which includes ? • Which programs are using which functions ? • Which programs are using a certain type ? • Which programs are calling external programs ? • Which programs are using which variables ? • Which programs are deleting rows from a DB2 table ? • ….

  5. C - Displays The displays for C

  6. C – General Info Selection panel “General Info” ..scroll up/down for more selection fields…

  7. C – General Info Resulting “General Info”

  8. C - Includes Search for Includes, e.g. all programs that include “errno.h”

  9. C - Includes These programs are using “assert.h” Direct read access to several sources

  10. C - System Search for all programs that are using system calls

  11. C - System These programs are using “getKundename”

  12. C - Functions Function “getKundename” causes problems. Where is it defined?

  13. C - Functions The function is defined in member “MINXI01”

  14. C – Function Call And now you want to know which programs are using this function: “Called Function” gives you the answer:

  15. C – Function Call Ok, no problem: The function is only used in two members

  16. C – Files And now you want to know which programs are using this function: “Called Function” gives you the answer:

  17. C - Files These programs are writing to the console

  18. C - Files Use the “group” function to get the members (and not all lines)

  19. C - Files All members where “stdout” is used, column Count shows you how often

  20. C – DB2 Access Which programs are updating table “VCONA”?

  21. C – DB2 Access Program DSN8CC1 is the only program that updates table “*Konto”

  22. C - Variables Which variables are declared, but not used?

  23. C - Variables The result shows all members (lines) where unused variables are declared

  24. C - Types Which programs are using streams?

  25. C - Types Here are all lines where bool are used…

  26. C - Types …use the group functions to get a list of all members…

  27. C - Types …here is a list of all members where streams are used

  28. Many thanks for your attention!

More Related