SlideShare a Scribd company logo
Viva64: What Is It, and Who Is It for?
Author: Evgeniy Ryzhkov

Date: 30.07.2007

At present, Viva64 and VivaMP software products are included in PVS-Studio as parts of it and are no
longer distributed as separate applications. Please use PVS-Studio program to obtain the necessary
possibilities of code verification.


Abstract
Viva64 is a tool designed for software developers. With this tool, you can easily convert 32-bit
applications to 64-bit ones.


A problem of the nearest future: release of 64-bit applications
Personal computers with 64-bit processors appeared on the market only at the beginning of 2006. Right
after that, developers began to modify their applications to make them compatible with the new
architecture. However, it suddenly turned out that applications could work incorrectly when running on
new platforms. Standard means of diagnostics do not allow determining the new class of errors that
occur in applications, and it is not good to leave those errors unfixed either.

The necessity to convert applications to 64-bit ones placed developers in a difficult situation. The
behavior of applications that have worked for years without any problems has become unpredictable.
Of course, there is more random access memory for applications, however, when working with greater
amounts of data applications may hang, crash, or even they may generate useless files instead of the
needed results.


Viva64 is a solution to the problem
One of possible solutions that can be used to search for errors when converting code is the use of
special tools - static code analyzers. Viva64 is one of such tools. It is a code analyzer that finds potential
errors in applications written in C and C++.

Viva64 is integrated into Microsoft Visual Studio 2005 as its extension module. Below is the appearance
of Microsoft Visual Studio 2005 with Viva64 integrated into it.
Figure 1. The appearance of Microsoft Visual Studio 2005 with Viva64 integrated into it.

This allows developers to work with Viva64 in a familiar environment - there is no need to spend time on
familiarizing with a new interface. Viva64 just adds a few new elements (in Fig.1 they are marked with
                         interface.
red): the Viva64 menu item, a toolbar containing Viva64 commands and a window containing the list of
found problems. Any developer can easily figure out how to work with Viva64.

Figure 2 demonstrates an example of Viva64 documentation. This is a description of one of the errors
found by the code analyzer. The description is in the format that is compatible with the standard MSDN
help system, and it can be automatically integrated into it. So, developers will not have to familiarize
themselves with a new help system.
Figure 2 - A description of an error found by Viva64.

Viva64 allows you to:

   •   find incorrect constructions in code (from the point of view of 64 bit applications);
                                                                       64-bit
   •   make a precise and complete diagnostic of errors, right up to the line number and error
                   cise
       description;
   •   navigate to incorrect code snippets;
   •   analyze the aftermath an error may cause. This is done with the help of detailed documentation
       that is integrated into the MSDN help system;
•   find ways to fix problems by using examples the documentation contains;
    •   analyze the code of the entire project or solution (in Microsoft Visual Studio terminology), but
        not only single files.


Viva64 and competitors' products
I'd like to name the main competitors of Viva64, as well as similar means of analysis.

First of all, I'd like to note that Microsoft Visual Studio 2005 already includes a primitive tool that
searches for possible conversion problems. However, this tool is not a Viva64 competitor, since it
provides only preliminary code analysis. Viva64 provides a much higher level of code analysis and
diagnostics.

Below is a list of tools that are similar to Viva64:

    •   Parasoft C++test (www.parasoft.com);
    •   Gimpel Software PC-Lint (www.gimpel.com).

The above-mention products are code analyzers as well. Here is what makes Viva64 different:

    1. Viva64 searches only for those errors that occur during code conversion. The competitive tools
       are general-purpose code analyzers. Though it is announced that the competitive tools can
       search for conversion problems, it's actually hard to use them to analyze Windows applications.
       The point is that they are mainly intended for Unix applications.
    2. Viva64 is completely integrated into Microsoft Visual Studio, which makes it possible to navigate
       to files, projects and solutions, jump to problematic code snippets and use the integrated help
       system.
    3. Since Viva64 is used only for one purpose (it searches only for conversion errors) it's very easy to
       customize it. Viva64 is ready to function right after it is installed, which is a real advantage that
       the competitive products do not have.


Conclusions
In general, I can say that the use of Viva64 will allow you to greatly reduce the time needed to prepare
64-bit applications for the release. This happens because potentially dangerous code snippets are found
automatically - there is no need to spend a lot of time searching for them manually.

Also, Viva64 brings your applications to a higher quality level. It's quite possible that developers can miss
some errors when analyzing code manually. Viva64 allows you to avoid this.

More Related Content

Viewers also liked

DIGITAL READERS1 intervento Luisa finocchi
DIGITAL READERS1 intervento Luisa finocchiDIGITAL READERS1 intervento Luisa finocchi
DIGITAL READERS1 intervento Luisa finocchibibliotecadeiragazzi
 
Fevas elkartekintzan ii
Fevas elkartekintzan iiFevas elkartekintzan ii
Fevas elkartekintzan ii
Asier Gallastegi Fullaondo
 
Feedback questionnaire
Feedback questionnaireFeedback questionnaire
Feedback questionnaire
Beccca
 
Cesar Arias - Manizales
Cesar Arias - ManizalesCesar Arias - Manizales
Cesar Arias - Manizales
Cesar Augusto
 
Presentazione dott laconi e satta
Presentazione dott laconi e sattaPresentazione dott laconi e satta
Presentazione dott laconi e sattaGrazia Salis
 
Desafio caramelo vlz blog jpg
Desafio caramelo vlz blog jpgDesafio caramelo vlz blog jpg
Desafio caramelo vlz blog jpg
CiG organización empresas
 
Take Down
Take DownTake Down

Viewers also liked (7)

DIGITAL READERS1 intervento Luisa finocchi
DIGITAL READERS1 intervento Luisa finocchiDIGITAL READERS1 intervento Luisa finocchi
DIGITAL READERS1 intervento Luisa finocchi
 
Fevas elkartekintzan ii
Fevas elkartekintzan iiFevas elkartekintzan ii
Fevas elkartekintzan ii
 
Feedback questionnaire
Feedback questionnaireFeedback questionnaire
Feedback questionnaire
 
Cesar Arias - Manizales
Cesar Arias - ManizalesCesar Arias - Manizales
Cesar Arias - Manizales
 
Presentazione dott laconi e satta
Presentazione dott laconi e sattaPresentazione dott laconi e satta
Presentazione dott laconi e satta
 
Desafio caramelo vlz blog jpg
Desafio caramelo vlz blog jpgDesafio caramelo vlz blog jpg
Desafio caramelo vlz blog jpg
 
Take Down
Take DownTake Down
Take Down
 

Similar to Viva64: What Is It, and Who Is It for?

How VivaCore library appeared
How VivaCore library appearedHow VivaCore library appeared
How VivaCore library appeared
PVS-Studio
 
PVS-Studio advertisement - static analysis of C/C++ code
PVS-Studio advertisement - static analysis of C/C++ codePVS-Studio advertisement - static analysis of C/C++ code
PVS-Studio advertisement - static analysis of C/C++ code
Andrey Karpov
 
Seven Steps of Migrating a Program to a 64-bit System
Seven Steps of Migrating a Program to a 64-bit SystemSeven Steps of Migrating a Program to a 64-bit System
Seven Steps of Migrating a Program to a 64-bit System
PVS-Studio
 
Seven Steps of Migrating a Program to a 64-bit System
Seven Steps of Migrating a Program to a 64-bit SystemSeven Steps of Migrating a Program to a 64-bit System
Seven Steps of Migrating a Program to a 64-bit System
Andrey Karpov
 
Lesson 6. Errors in 64-bit code
Lesson 6. Errors in 64-bit codeLesson 6. Errors in 64-bit code
Lesson 6. Errors in 64-bit code
PVS-Studio
 
Driver Development for Windows 64-bit
Driver Development for Windows 64-bitDriver Development for Windows 64-bit
Driver Development for Windows 64-bit
PVS-Studio
 
How we test the code analyzer
How we test the code analyzerHow we test the code analyzer
How we test the code analyzer
PVS-Studio
 
How to Port a 9 Million Code Line Project to 64 bits?
How to Port a 9 Million Code Line Project to 64 bits? How to Port a 9 Million Code Line Project to 64 bits?
How to Port a 9 Million Code Line Project to 64 bits?
PVS-Studio
 
How we test the code analyzer
How we test the code analyzerHow we test the code analyzer
How we test the code analyzer
PVS-Studio
 
Presentation on Visual Studio
Presentation on Visual StudioPresentation on Visual Studio
Presentation on Visual Studio
Muhammad Aqeel
 
Static code analysis for verification of the 64-bit applications
Static code analysis for verification of the 64-bit applicationsStatic code analysis for verification of the 64-bit applications
Static code analysis for verification of the 64-bit applications
PVS-Studio
 
The forgotten problems of 64-bit programs development
The forgotten problems of 64-bit programs developmentThe forgotten problems of 64-bit programs development
The forgotten problems of 64-bit programs development
PVS-Studio
 
Diving into VS 2015 Day2
Diving into VS 2015 Day2Diving into VS 2015 Day2
Diving into VS 2015 Day2
Akhil Mittal
 
Comparing PVS-Studio with other code analyzers
Comparing PVS-Studio with other code analyzersComparing PVS-Studio with other code analyzers
Comparing PVS-Studio with other code analyzers
PVS-Studio
 
Introduction into 64 bits for the beginners or where's again the 64-bit world?
Introduction into 64 bits for the beginners or where's again the 64-bit world?Introduction into 64 bits for the beginners or where's again the 64-bit world?
Introduction into 64 bits for the beginners or where's again the 64-bit world?
PVS-Studio
 
Brief description of the VivaCore code analysis library
Brief description of the VivaCore code analysis libraryBrief description of the VivaCore code analysis library
Brief description of the VivaCore code analysis library
PVS-Studio
 
postdev.pptx
postdev.pptxpostdev.pptx
postdev.pptx
ssuserf111e7
 
Traps detection during migration of C and C++ code to 64-bit Windows
Traps detection during migration of C and C++ code to 64-bit WindowsTraps detection during migration of C and C++ code to 64-bit Windows
Traps detection during migration of C and C++ code to 64-bit Windows
PVS-Studio
 
How Virtual Compilation Transforms Static Code Analysis
How Virtual Compilation Transforms Static Code AnalysisHow Virtual Compilation Transforms Static Code Analysis
How Virtual Compilation Transforms Static Code Analysis
Checkmarx
 
PVS-Studio, a solution for developers of modern resource-intensive applications
PVS-Studio, a solution for developers of modern resource-intensive applicationsPVS-Studio, a solution for developers of modern resource-intensive applications
PVS-Studio, a solution for developers of modern resource-intensive applications
PVS-Studio
 

Similar to Viva64: What Is It, and Who Is It for? (20)

How VivaCore library appeared
How VivaCore library appearedHow VivaCore library appeared
How VivaCore library appeared
 
PVS-Studio advertisement - static analysis of C/C++ code
PVS-Studio advertisement - static analysis of C/C++ codePVS-Studio advertisement - static analysis of C/C++ code
PVS-Studio advertisement - static analysis of C/C++ code
 
Seven Steps of Migrating a Program to a 64-bit System
Seven Steps of Migrating a Program to a 64-bit SystemSeven Steps of Migrating a Program to a 64-bit System
Seven Steps of Migrating a Program to a 64-bit System
 
Seven Steps of Migrating a Program to a 64-bit System
Seven Steps of Migrating a Program to a 64-bit SystemSeven Steps of Migrating a Program to a 64-bit System
Seven Steps of Migrating a Program to a 64-bit System
 
Lesson 6. Errors in 64-bit code
Lesson 6. Errors in 64-bit codeLesson 6. Errors in 64-bit code
Lesson 6. Errors in 64-bit code
 
Driver Development for Windows 64-bit
Driver Development for Windows 64-bitDriver Development for Windows 64-bit
Driver Development for Windows 64-bit
 
How we test the code analyzer
How we test the code analyzerHow we test the code analyzer
How we test the code analyzer
 
How to Port a 9 Million Code Line Project to 64 bits?
How to Port a 9 Million Code Line Project to 64 bits? How to Port a 9 Million Code Line Project to 64 bits?
How to Port a 9 Million Code Line Project to 64 bits?
 
How we test the code analyzer
How we test the code analyzerHow we test the code analyzer
How we test the code analyzer
 
Presentation on Visual Studio
Presentation on Visual StudioPresentation on Visual Studio
Presentation on Visual Studio
 
Static code analysis for verification of the 64-bit applications
Static code analysis for verification of the 64-bit applicationsStatic code analysis for verification of the 64-bit applications
Static code analysis for verification of the 64-bit applications
 
The forgotten problems of 64-bit programs development
The forgotten problems of 64-bit programs developmentThe forgotten problems of 64-bit programs development
The forgotten problems of 64-bit programs development
 
Diving into VS 2015 Day2
Diving into VS 2015 Day2Diving into VS 2015 Day2
Diving into VS 2015 Day2
 
Comparing PVS-Studio with other code analyzers
Comparing PVS-Studio with other code analyzersComparing PVS-Studio with other code analyzers
Comparing PVS-Studio with other code analyzers
 
Introduction into 64 bits for the beginners or where's again the 64-bit world?
Introduction into 64 bits for the beginners or where's again the 64-bit world?Introduction into 64 bits for the beginners or where's again the 64-bit world?
Introduction into 64 bits for the beginners or where's again the 64-bit world?
 
Brief description of the VivaCore code analysis library
Brief description of the VivaCore code analysis libraryBrief description of the VivaCore code analysis library
Brief description of the VivaCore code analysis library
 
postdev.pptx
postdev.pptxpostdev.pptx
postdev.pptx
 
Traps detection during migration of C and C++ code to 64-bit Windows
Traps detection during migration of C and C++ code to 64-bit WindowsTraps detection during migration of C and C++ code to 64-bit Windows
Traps detection during migration of C and C++ code to 64-bit Windows
 
How Virtual Compilation Transforms Static Code Analysis
How Virtual Compilation Transforms Static Code AnalysisHow Virtual Compilation Transforms Static Code Analysis
How Virtual Compilation Transforms Static Code Analysis
 
PVS-Studio, a solution for developers of modern resource-intensive applications
PVS-Studio, a solution for developers of modern resource-intensive applicationsPVS-Studio, a solution for developers of modern resource-intensive applications
PVS-Studio, a solution for developers of modern resource-intensive applications
 

Recently uploaded

SAP S/4 HANA sourcing and procurement to Public cloud
SAP S/4 HANA sourcing and procurement to Public cloudSAP S/4 HANA sourcing and procurement to Public cloud
SAP S/4 HANA sourcing and procurement to Public cloud
maazsz111
 
Introduction of Cybersecurity with OSS at Code Europe 2024
Introduction of Cybersecurity with OSS  at Code Europe 2024Introduction of Cybersecurity with OSS  at Code Europe 2024
Introduction of Cybersecurity with OSS at Code Europe 2024
Hiroshi SHIBATA
 
WeTestAthens: Postman's AI & Automation Techniques
WeTestAthens: Postman's AI & Automation TechniquesWeTestAthens: Postman's AI & Automation Techniques
WeTestAthens: Postman's AI & Automation Techniques
Postman
 
Generating privacy-protected synthetic data using Secludy and Milvus
Generating privacy-protected synthetic data using Secludy and MilvusGenerating privacy-protected synthetic data using Secludy and Milvus
Generating privacy-protected synthetic data using Secludy and Milvus
Zilliz
 
Dandelion Hashtable: beyond billion requests per second on a commodity server
Dandelion Hashtable: beyond billion requests per second on a commodity serverDandelion Hashtable: beyond billion requests per second on a commodity server
Dandelion Hashtable: beyond billion requests per second on a commodity server
Antonios Katsarakis
 
zkStudyClub - LatticeFold: A Lattice-based Folding Scheme and its Application...
zkStudyClub - LatticeFold: A Lattice-based Folding Scheme and its Application...zkStudyClub - LatticeFold: A Lattice-based Folding Scheme and its Application...
zkStudyClub - LatticeFold: A Lattice-based Folding Scheme and its Application...
Alex Pruden
 
Astute Business Solutions | Oracle Cloud Partner |
Astute Business Solutions | Oracle Cloud Partner |Astute Business Solutions | Oracle Cloud Partner |
Astute Business Solutions | Oracle Cloud Partner |
AstuteBusiness
 
HCL Notes and Domino License Cost Reduction in the World of DLAU
HCL Notes and Domino License Cost Reduction in the World of DLAUHCL Notes and Domino License Cost Reduction in the World of DLAU
HCL Notes and Domino License Cost Reduction in the World of DLAU
panagenda
 
Your One-Stop Shop for Python Success: Top 10 US Python Development Providers
Your One-Stop Shop for Python Success: Top 10 US Python Development ProvidersYour One-Stop Shop for Python Success: Top 10 US Python Development Providers
Your One-Stop Shop for Python Success: Top 10 US Python Development Providers
akankshawande
 
Skybuffer SAM4U tool for SAP license adoption
Skybuffer SAM4U tool for SAP license adoptionSkybuffer SAM4U tool for SAP license adoption
Skybuffer SAM4U tool for SAP license adoption
Tatiana Kojar
 
leewayhertz.com-AI in predictive maintenance Use cases technologies benefits ...
leewayhertz.com-AI in predictive maintenance Use cases technologies benefits ...leewayhertz.com-AI in predictive maintenance Use cases technologies benefits ...
leewayhertz.com-AI in predictive maintenance Use cases technologies benefits ...
alexjohnson7307
 
GraphRAG for Life Science to increase LLM accuracy
GraphRAG for Life Science to increase LLM accuracyGraphRAG for Life Science to increase LLM accuracy
GraphRAG for Life Science to increase LLM accuracy
Tomaz Bratanic
 
Salesforce Integration for Bonterra Impact Management (fka Social Solutions A...
Salesforce Integration for Bonterra Impact Management (fka Social Solutions A...Salesforce Integration for Bonterra Impact Management (fka Social Solutions A...
Salesforce Integration for Bonterra Impact Management (fka Social Solutions A...
Jeffrey Haguewood
 
Fueling AI with Great Data with Airbyte Webinar
Fueling AI with Great Data with Airbyte WebinarFueling AI with Great Data with Airbyte Webinar
Fueling AI with Great Data with Airbyte Webinar
Zilliz
 
How to Interpret Trends in the Kalyan Rajdhani Mix Chart.pdf
How to Interpret Trends in the Kalyan Rajdhani Mix Chart.pdfHow to Interpret Trends in the Kalyan Rajdhani Mix Chart.pdf
How to Interpret Trends in the Kalyan Rajdhani Mix Chart.pdf
Chart Kalyan
 
5th LF Energy Power Grid Model Meet-up Slides
5th LF Energy Power Grid Model Meet-up Slides5th LF Energy Power Grid Model Meet-up Slides
5th LF Energy Power Grid Model Meet-up Slides
DanBrown980551
 
Deep Dive: AI-Powered Marketing to Get More Leads and Customers with HyperGro...
Deep Dive: AI-Powered Marketing to Get More Leads and Customers with HyperGro...Deep Dive: AI-Powered Marketing to Get More Leads and Customers with HyperGro...
Deep Dive: AI-Powered Marketing to Get More Leads and Customers with HyperGro...
saastr
 
Nordic Marketo Engage User Group_June 13_ 2024.pptx
Nordic Marketo Engage User Group_June 13_ 2024.pptxNordic Marketo Engage User Group_June 13_ 2024.pptx
Nordic Marketo Engage User Group_June 13_ 2024.pptx
MichaelKnudsen27
 
Freshworks Rethinks NoSQL for Rapid Scaling & Cost-Efficiency
Freshworks Rethinks NoSQL for Rapid Scaling & Cost-EfficiencyFreshworks Rethinks NoSQL for Rapid Scaling & Cost-Efficiency
Freshworks Rethinks NoSQL for Rapid Scaling & Cost-Efficiency
ScyllaDB
 
dbms calicut university B. sc Cs 4th sem.pdf
dbms  calicut university B. sc Cs 4th sem.pdfdbms  calicut university B. sc Cs 4th sem.pdf
dbms calicut university B. sc Cs 4th sem.pdf
Shinana2
 

Recently uploaded (20)

SAP S/4 HANA sourcing and procurement to Public cloud
SAP S/4 HANA sourcing and procurement to Public cloudSAP S/4 HANA sourcing and procurement to Public cloud
SAP S/4 HANA sourcing and procurement to Public cloud
 
Introduction of Cybersecurity with OSS at Code Europe 2024
Introduction of Cybersecurity with OSS  at Code Europe 2024Introduction of Cybersecurity with OSS  at Code Europe 2024
Introduction of Cybersecurity with OSS at Code Europe 2024
 
WeTestAthens: Postman's AI & Automation Techniques
WeTestAthens: Postman's AI & Automation TechniquesWeTestAthens: Postman's AI & Automation Techniques
WeTestAthens: Postman's AI & Automation Techniques
 
Generating privacy-protected synthetic data using Secludy and Milvus
Generating privacy-protected synthetic data using Secludy and MilvusGenerating privacy-protected synthetic data using Secludy and Milvus
Generating privacy-protected synthetic data using Secludy and Milvus
 
Dandelion Hashtable: beyond billion requests per second on a commodity server
Dandelion Hashtable: beyond billion requests per second on a commodity serverDandelion Hashtable: beyond billion requests per second on a commodity server
Dandelion Hashtable: beyond billion requests per second on a commodity server
 
zkStudyClub - LatticeFold: A Lattice-based Folding Scheme and its Application...
zkStudyClub - LatticeFold: A Lattice-based Folding Scheme and its Application...zkStudyClub - LatticeFold: A Lattice-based Folding Scheme and its Application...
zkStudyClub - LatticeFold: A Lattice-based Folding Scheme and its Application...
 
Astute Business Solutions | Oracle Cloud Partner |
Astute Business Solutions | Oracle Cloud Partner |Astute Business Solutions | Oracle Cloud Partner |
Astute Business Solutions | Oracle Cloud Partner |
 
HCL Notes and Domino License Cost Reduction in the World of DLAU
HCL Notes and Domino License Cost Reduction in the World of DLAUHCL Notes and Domino License Cost Reduction in the World of DLAU
HCL Notes and Domino License Cost Reduction in the World of DLAU
 
Your One-Stop Shop for Python Success: Top 10 US Python Development Providers
Your One-Stop Shop for Python Success: Top 10 US Python Development ProvidersYour One-Stop Shop for Python Success: Top 10 US Python Development Providers
Your One-Stop Shop for Python Success: Top 10 US Python Development Providers
 
Skybuffer SAM4U tool for SAP license adoption
Skybuffer SAM4U tool for SAP license adoptionSkybuffer SAM4U tool for SAP license adoption
Skybuffer SAM4U tool for SAP license adoption
 
leewayhertz.com-AI in predictive maintenance Use cases technologies benefits ...
leewayhertz.com-AI in predictive maintenance Use cases technologies benefits ...leewayhertz.com-AI in predictive maintenance Use cases technologies benefits ...
leewayhertz.com-AI in predictive maintenance Use cases technologies benefits ...
 
GraphRAG for Life Science to increase LLM accuracy
GraphRAG for Life Science to increase LLM accuracyGraphRAG for Life Science to increase LLM accuracy
GraphRAG for Life Science to increase LLM accuracy
 
Salesforce Integration for Bonterra Impact Management (fka Social Solutions A...
Salesforce Integration for Bonterra Impact Management (fka Social Solutions A...Salesforce Integration for Bonterra Impact Management (fka Social Solutions A...
Salesforce Integration for Bonterra Impact Management (fka Social Solutions A...
 
Fueling AI with Great Data with Airbyte Webinar
Fueling AI with Great Data with Airbyte WebinarFueling AI with Great Data with Airbyte Webinar
Fueling AI with Great Data with Airbyte Webinar
 
How to Interpret Trends in the Kalyan Rajdhani Mix Chart.pdf
How to Interpret Trends in the Kalyan Rajdhani Mix Chart.pdfHow to Interpret Trends in the Kalyan Rajdhani Mix Chart.pdf
How to Interpret Trends in the Kalyan Rajdhani Mix Chart.pdf
 
5th LF Energy Power Grid Model Meet-up Slides
5th LF Energy Power Grid Model Meet-up Slides5th LF Energy Power Grid Model Meet-up Slides
5th LF Energy Power Grid Model Meet-up Slides
 
Deep Dive: AI-Powered Marketing to Get More Leads and Customers with HyperGro...
Deep Dive: AI-Powered Marketing to Get More Leads and Customers with HyperGro...Deep Dive: AI-Powered Marketing to Get More Leads and Customers with HyperGro...
Deep Dive: AI-Powered Marketing to Get More Leads and Customers with HyperGro...
 
Nordic Marketo Engage User Group_June 13_ 2024.pptx
Nordic Marketo Engage User Group_June 13_ 2024.pptxNordic Marketo Engage User Group_June 13_ 2024.pptx
Nordic Marketo Engage User Group_June 13_ 2024.pptx
 
Freshworks Rethinks NoSQL for Rapid Scaling & Cost-Efficiency
Freshworks Rethinks NoSQL for Rapid Scaling & Cost-EfficiencyFreshworks Rethinks NoSQL for Rapid Scaling & Cost-Efficiency
Freshworks Rethinks NoSQL for Rapid Scaling & Cost-Efficiency
 
dbms calicut university B. sc Cs 4th sem.pdf
dbms  calicut university B. sc Cs 4th sem.pdfdbms  calicut university B. sc Cs 4th sem.pdf
dbms calicut university B. sc Cs 4th sem.pdf
 

Viva64: What Is It, and Who Is It for?

  • 1. Viva64: What Is It, and Who Is It for? Author: Evgeniy Ryzhkov Date: 30.07.2007 At present, Viva64 and VivaMP software products are included in PVS-Studio as parts of it and are no longer distributed as separate applications. Please use PVS-Studio program to obtain the necessary possibilities of code verification. Abstract Viva64 is a tool designed for software developers. With this tool, you can easily convert 32-bit applications to 64-bit ones. A problem of the nearest future: release of 64-bit applications Personal computers with 64-bit processors appeared on the market only at the beginning of 2006. Right after that, developers began to modify their applications to make them compatible with the new architecture. However, it suddenly turned out that applications could work incorrectly when running on new platforms. Standard means of diagnostics do not allow determining the new class of errors that occur in applications, and it is not good to leave those errors unfixed either. The necessity to convert applications to 64-bit ones placed developers in a difficult situation. The behavior of applications that have worked for years without any problems has become unpredictable. Of course, there is more random access memory for applications, however, when working with greater amounts of data applications may hang, crash, or even they may generate useless files instead of the needed results. Viva64 is a solution to the problem One of possible solutions that can be used to search for errors when converting code is the use of special tools - static code analyzers. Viva64 is one of such tools. It is a code analyzer that finds potential errors in applications written in C and C++. Viva64 is integrated into Microsoft Visual Studio 2005 as its extension module. Below is the appearance of Microsoft Visual Studio 2005 with Viva64 integrated into it.
  • 2.
  • 3. Figure 1. The appearance of Microsoft Visual Studio 2005 with Viva64 integrated into it. This allows developers to work with Viva64 in a familiar environment - there is no need to spend time on familiarizing with a new interface. Viva64 just adds a few new elements (in Fig.1 they are marked with interface.
  • 4. red): the Viva64 menu item, a toolbar containing Viva64 commands and a window containing the list of found problems. Any developer can easily figure out how to work with Viva64. Figure 2 demonstrates an example of Viva64 documentation. This is a description of one of the errors found by the code analyzer. The description is in the format that is compatible with the standard MSDN help system, and it can be automatically integrated into it. So, developers will not have to familiarize themselves with a new help system.
  • 5. Figure 2 - A description of an error found by Viva64. Viva64 allows you to: • find incorrect constructions in code (from the point of view of 64 bit applications); 64-bit • make a precise and complete diagnostic of errors, right up to the line number and error cise description; • navigate to incorrect code snippets; • analyze the aftermath an error may cause. This is done with the help of detailed documentation that is integrated into the MSDN help system;
  • 6. find ways to fix problems by using examples the documentation contains; • analyze the code of the entire project or solution (in Microsoft Visual Studio terminology), but not only single files. Viva64 and competitors' products I'd like to name the main competitors of Viva64, as well as similar means of analysis. First of all, I'd like to note that Microsoft Visual Studio 2005 already includes a primitive tool that searches for possible conversion problems. However, this tool is not a Viva64 competitor, since it provides only preliminary code analysis. Viva64 provides a much higher level of code analysis and diagnostics. Below is a list of tools that are similar to Viva64: • Parasoft C++test (www.parasoft.com); • Gimpel Software PC-Lint (www.gimpel.com). The above-mention products are code analyzers as well. Here is what makes Viva64 different: 1. Viva64 searches only for those errors that occur during code conversion. The competitive tools are general-purpose code analyzers. Though it is announced that the competitive tools can search for conversion problems, it's actually hard to use them to analyze Windows applications. The point is that they are mainly intended for Unix applications. 2. Viva64 is completely integrated into Microsoft Visual Studio, which makes it possible to navigate to files, projects and solutions, jump to problematic code snippets and use the integrated help system. 3. Since Viva64 is used only for one purpose (it searches only for conversion errors) it's very easy to customize it. Viva64 is ready to function right after it is installed, which is a real advantage that the competitive products do not have. Conclusions In general, I can say that the use of Viva64 will allow you to greatly reduce the time needed to prepare 64-bit applications for the release. This happens because potentially dangerous code snippets are found automatically - there is no need to spend a lot of time searching for them manually. Also, Viva64 brings your applications to a higher quality level. It's quite possible that developers can miss some errors when analyzing code manually. Viva64 allows you to avoid this.