UPDATE! The community will be go into read-only on April 19, 8am Pacific in preparation for migration on April 21. Read more.
UPDATE! The community will be go into read-only on April 19, 8am Pacific in preparation for migration on April 21.Read more.
Absent Member.
Absent Member.
6830 views

Foritfy: problem to with touchless build

In user guide, it points ourt two way to integraton a C/C++ project. One of them is like this

 

sourceanalyzer -b my_build_id touchless build_command

 

In my case this build_command is just make.

 

After run this command it does record any files,

 

sourceanalyzer -b my_build_id -show-files

 compains no "my_build_id"

sourceanalyzer -b my_build_id -scan -f file.fpr

complains no input files.

 

I looked in log file, it does not really show anything meanful to me.

 

Any suggestions?

 

Thanks,

 

Max

0 Likes
2 Replies
Absent Member.
Absent Member.

Just did a little experiement. It appears that the problem occured for CMAKE build.

 

I made a simple one file project. One I hand crafted a makefile. The translate/scan worked for the touchless build.

 

For the same file, I change it to use CMAKE instead of make. This time,

sourceananlyzer -b test touchless make

builds executble, but there is no files picked by sourceanalyzer.

 

Max

0 Likes
Absent Member.
Absent Member.

So did anyone find the way to invoke fortify with CMake? I am in the same situation and tried many approached but all failed.

0 Likes
The opinions expressed above are the personal opinions of the authors, not of Micro Focus. By using this site, you accept the Terms of Use and Rules of Participation. Certain versions of content ("Material") accessible here may contain branding from Hewlett-Packard Company (now HP Inc.) and Hewlett Packard Enterprise Company. As of September 1, 2017, the Material is now offered by Micro Focus, a separately owned and operated company. Any reference to the HP and Hewlett Packard Enterprise/HPE marks is historical in nature, and the HP and Hewlett Packard Enterprise/HPE marks are the property of their respective owners.