How to install and have two Fortify Static Code Analyzer in the same machine - fortify

I have a Fortify SCA version 21.x in a linux machine, planning to upgrade the version to 22.x. But I would like to have both the versions in the same machine since I would take time to validate the working of 22.x version before uninstalling the 21.x version.
To install I have the command from the document : ./Fortify_SCA_and_Apps__linux_x64.run --mode
unattended
And it is to be noted that the below was mentioned in the document.
If you have multiple versions installed on the same system, the most recently installed version is
invoked when you run the command from the command line. Scanning source code from the Secure
Code Plugins also uses the most recently installed version of Fortify Static Code Analyzer.
So will it work if I intend to keep both the SCA installed in different locations of the same machine, then executing and validating the scans using 22.x.
&
I have scenario to be aware if SCA 21.x will work when SCA 22.x is uninstalled.

Related

How to build a Windows driver development kit 7 on 10

I am trying to build a Windows driver for a piece of hardware I am using. The build notes seem dated as they specify using DDK for Win7. I have Windows kit version 10. Are these the same thing just later version? The instructions then state to open a DDK command window environment then use "build -ceZ" in the dir where the files are located. Does v10 have this console and if so where can I find it? Thanks
https://learn.microsoft.com/en-us/windows-hardware/drivers/devtest/wdk-and-visual-studio-build-environment
"The Windows Driver Kit (WDK) 8.1 and WDK 8 introduced a major change
to the environment that you use to build a driver. The WDK no longer
uses Build.exe. The WDK build environment for drivers uses MSBuild.exe
and is fully integrated with the Visual Studio development
environment. This means that source files, makefile.inc, makefile.new
and other related build files present in the previous version of the
WDK are no longer used. The WDK now enables you to create, edit,
build, test, and deploy a driver through Visual Studio. The purpose of
this document is to provide information to help users familiar with
previous WDKs in getting started with the WDK 8.1 and WDK 8."
If you want to build the driver as is then you will need to install the Windows 7.1 DDK and build it using its tools.
https://en.wikipedia.org/wiki/Windows_Driver_Kit
https://www.microsoft.com/en-gb/download/details.aspx?id=11800
You are allowed to install different versions of the DDK on the same machine.
You might find it tricky to install DDK 7.1 on Windows 10 though, try and use this to get around any problem install.
https://stackoverflow.com/questions/32091593/cannot-install-windows-sdk-7-1-on-windows-10#:~:text=If%20you%20continue%20with%20Setup,187668%20and%20then%20rerun%20Setup.
Then it's just a case of "choosing the 7.1 ddk environment (32bit or 64bit)" so that it's tools are accessible/used when "building" your driver.
Look in your startmenu at "StartMenu -> Windows Driver Kits -> WDK XXXX -> Build Environments" to find a command prompt to open.
If you can't/don't want to install the DDK 7.1 and a WDK8+ version of your driver project isn't available then it may be possible to convert the driver from using the older "makefile" into new msbuild way of building, but might be fiddly.
https://community.osr.com/discussion/289475/build-exe-to-msbuild-exe-migration-advice
"If you go into VS you should be able to create a WDK driver project.
It will give you a solution with (I think) one C file filled with
everything necessary to make a driver which does nothing. But, most
importantly, it will generate an XML file that MSBuild will accept.
The XML format is not documented. After you have this XML file you
should be able to figure out how to add your files to it by hand, but
you could move the existing driver files to the project using the GUI.
That may be easiest."

Is there a precompiled version of libimobiledevice that I can distribute with my application?

I'm making an application that uses libimobiledevice and is cross-platform(Mac, Windows, and Linux). I don't have access to all the platforms so I can't compile it myself, and it's a pain to do so.
Are there pre-compiled versions of libimobiledevice for each platform that I can distribute with my application so the user doesn't have to install it manually?
It's relatively easy to provide a binary distribution of libimobiledevice for Windows and macOS.
For Windows and macOS, you can download pre-compiled versions of libimobiledevice at https://github.com/libimobiledevice-win32/imobiledevice-net (see the releases page). Admittedly, the repository name is a bit off. It does provide Windows and macOS binaries for libimobiledevice, and you don't have to use .NET if you just want to use the binaries.
The binaries are published via the Azure Pipelines build system, so you would fetch them at https://dev.azure.com/libimobiledevice-win32/imobiledevice-net/_build, or newer builds as they become available.
On Linux, it's a different story, because the various Linux distributions come with different versions of some of the dependencies of libimobiledevice (such as OpenSSL). You'll need a different binary package for most distributions of Linux.
There's a PPA you can use, https://launchpad.net/~quamotion/+archive/ubuntu/ppa, which provides compiled versions of libimobiledevice for Ubuntu 14.04, 16.04 and 18.04.
Most Linux distributions also include a libimobiledevice package, but that may be outdated - be aware.

Cannot install tokumx on osx: cannot execute binary file

I download from tokumx website newest version. When I start mongod I have an error,
bash: ./mongod: cannot execute binary file
Any solution.
The only version available directly from the website is for linux, you'll need to contact them to get an OSX build.
The TokuMX Community Edition downloads featured on the Tokutek site are currently 64-bit Linux only. The system requirements also note that only 64-bit Linux is officially supported.
However, for OS X users there is a Homebrew TAP package available if you want to install binaries for development purposes.
Assuming you have have Homebrew installed, you should be able to install the tokumx-bin package by running the following from your shell prompt:
brew tap tokutek/tokumx
brew install tokumx-bin
Notes:
the package install will fail unless you enter some text when prompted for an email address (though any text including the default "email address" seems to work)
the tokumx-bin package conflicts with the mongodb package as both use the same names for binaries
TokuMX binaries and data files are not interchangeable with MongoDB

Grunt packages needs to be installed for every release branch of a project

We are using grunt for build automations. We have installed 5-6 corresponding packages for the project. We are using TFS as our source control management tool. Every time a branch is taken out for the release we have to install all the packages including grunt again and again. Windows 7 is our OS.
Is there any way to install grunt and related packages globally in Windows so that we don't have to do it again and again ?
Not sure if it would be related but we are using .NET for our development.

Not able to install CollabNet 6.1.1 TeamForge 32 bit on my Windows

I have downloaded the latest version 6.1.1 from the windows installer for 32bit. I have a problem with the installation. The installer checks for software requierements are fulfilled. Out of 4 programs it installs i.e. msys, java, postgre and CsvnEdge, csvnEdge is marked as not installed. Tough in system i can see it is installed. If I cancel the setup and start again, it fails again to find CsvnEdge.
Regards
Anuj

Resources