false-positive

Delphi programs are detected as false-positive by ClamAV

江枫思渺然 提交于 2021-02-05 12:31:06
问题 My Delphi XE2 programs are always detected as containing a virus on Jotti by ClamAV, while other virus scanners do not detect anything: AFAIK, ClamAV is often used with mail servers. So do I have to fear that end-users will get a virus warning when sending my program by e-mail (even when zipped)? How can this be avoided? 回答1: This is a Possibly Unwanted Applications according to them and you can't report PUAs on their false positive upload form. Their contacts page shows two possible avenues

stumbling upon a non-trivial bool scenario in C++

空扰寡人 提交于 2020-01-05 04:27:10
问题 When Cppcheck runs over this code, [1] it complains about an error : void bool_express(bool aPre, bool aX, bool aPost) { bool x; const bool pre = aPre; if (pre) { x = aX; } const bool post = aPost; // error checking passage of the original code: if ( !pre || !x || !post ) { if ( !pre ) { trace("pre failed"); } else if ( !x ) { // <-- HERE Cppcheck complains trace("x failed"); } else { trace("post failed"); } } else { // success passage of the original code: trace("ok"); } } This is the

CA2000 - “out-of-school-junior-programmers”-mistakes or false positive?

回眸只為那壹抹淺笑 提交于 2019-12-24 08:50:02
问题 I am currently developing some desktop applications using websockets (to be more precisely: i am working with Alchemy WebSockets). By now my code is working fine, but Visual Studio 2010 tells me to Warning 2 CA2000 : Microsoft.Reliability : In method 'ServerController.SetupServer(int)', call System.IDisposable.Dispose on object '<>g__initLocal0' before all references to it are out of scope. C:\Users\MaRiedl\documents\visual studio 2010\Projects\Alchemy-WebSockets\AWS-Server\ServerController

Accidentally created a virus?

与世无争的帅哥 提交于 2019-12-17 10:21:35
问题 I've seen it happen reasonably often: I write an application in Delphi and when I compile it, the virus-scanner tells me that I've created a virus and then immediately deletes the executable again. It's annoying but reasonable easy to fix by doing a full rebuild, deleting the *.dcu files first and sometimes by simply waiting. It happens with Delphi 6, 7, 2005 and 2007, as far as I know. And Symantec, Kaspersky, McAfee and NOD32 have all been guilty of reporting these false positives. I know

junit: how to avoid false positives when using forkMode=“once”?

旧时模样 提交于 2019-12-14 03:55:36
问题 I'd like to speed up junit tests and I think about using forkMode="once" . Due to the fact that junit seems to use a shared classloader for all tests within one process beside false negatives (which is good thing because it exposes static coupling) there might be also false positives by the same reason. I've got two questions regarding this: Is it somehow possible to alter the classloader behavior in junit to enforce a new classloader for each test case ? I think it would be ideal to be able

Understanding ROC curve

天涯浪子 提交于 2019-12-11 17:52:47
问题 import matplotlib.pyplot as plt from sklearn.metrics import roc_curve, auc , roc_auc_score import numpy as np correct_classification = np.array([0,1]) predicted_classification = np.array([1,1]) false_positive_rate, true_positive_rate, tresholds = roc_curve(correct_classification, predicted_classification) print(false_positive_rate) print(true_positive_rate) From https://en.wikipedia.org/wiki/Sensitivity_and_specificity : True positive: Sick people correctly identified as sick False positive:

Sonarqube false positive for “Use try-with-resources or close this ”ResultSet“ in a ”finally“ clause”

孤人 提交于 2019-12-11 06:55:18
问题 Sonarqube keeps marking code with this issue which is, in my opinion, a false positive. Code looks like this: try(PreparedStatement st=con.prepareStatement(myQuery)){ st.setInt(1, myValue); ... ResultSet rs = st.executeQuery(); ... } If I'm not mistaken, the PreparedStatement implements Closeable and, when closing itself, it also closes the underlying ResultSet. This behaviour would prevent the ResultSet from being kept open, yet Sonarqube analysis marks it as a critical error. Am I mistaken?

How to prevent application being marked as suspicious

大城市里の小女人 提交于 2019-12-10 16:38:12
问题 I have a .NET application written in C# using Visual Studio 2012. I'm promoting the application through my own website and have it available for download. When downloading it in Chrome I get a message stating that my application is "not commonly downloaded and could be dangerous". Additionally, when I download my own application and execute it Avast sees it as suspicious and wants to run it in the sandbox. Is there anyway I can prevent this from happening (without purchasing a certificate for

C# app appears false positive in AVG antivirus?

谁说胖子不能爱 提交于 2019-12-07 03:57:19
问题 I have created a C# application that I've been testing on my other computer throughout the developing phase. However now that I've completed the app with few recent things that I added, the app is detected as virus (AVG doesn't show what kind of virus). Here are a few changes I did: Added a registry setting to allow user to start the app at Windows Startup. Changed the Assembly Name and Assembly Information (Because I wanted to rename the app). Went into signing settings and clicked on Sign

How to implement fact related to false positive vs. false negative balance in neural network?

房东的猫 提交于 2019-12-07 02:11:58
问题 I have a yes/no classification problem, where false positives are worse than false negatives . Is there a way to implement this fact into neural network especially in MATLAB's Neural Network Toolbox? 回答1: What you need is a cost-sensitive meta-classifier (a meta-classifier works with any arbitrary classifier, be it ANN, SVM, or any other). This can be done in two ways: re-weighting training instances according to a cost matrix. This is done by resampling the data so that a particular class is