Convincing AntiVirsus, im not a virus

Started by
55 comments, last by dsm1891 8 years, 7 months ago
Some other suggestions:
  • Use the standard process handles and write to stdout instead:
    ./combine-json left.json < right.json > combined.json
    ??
  • Add your working development directories to your AV's exclude paths.
    ?
  • If the program's simple enough, rewrite it in a scripting language.
Advertisement

But it seems ridiculous that to output a file, you need to do that.

You clearly don't need to, as nobody else's software that writes files has this problem.

At a guess, you've corrupted either your visual studio install or your antivirus.

Tristam MacDonald. Ex-BigTech Software Engineer. Future farmer. [https://trist.am]

Try outputting to

C:\ProgramData\YourProgramsName\somefile.json

or

C:\Users\YourUserName\AppData\Local\YourProgramsName\somefile.json

If this post or signature was helpful and/or constructive please give rep.

// C++ Video tutorials

http://www.youtube.com/watch?v=Wo60USYV9Ik

// Easy to learn 2D Game Library c++

SFML2.2 Download http://www.sfml-dev.org/download.php

SFML2.2 Tutorials http://www.sfml-dev.org/tutorials/2.2/

// Excellent 2d physics library Box2D

http://box2d.org/about/

// SFML 2 book

http://www.amazon.com/gp/product/1849696845/ref=as_li_ss_tl?ie=UTF8&camp=1789&creative=390957&creativeASIN=1849696845&linkCode=as2&tag=gamer2creator-20


At a guess, you've corrupted either your visual studio install or your antivirus.

Given that the C runtime on Windows is tied to versions of Visual Studio, it's quite possible that the C runtime specifically is corrupted. Or infected. Might be worth attempting to download and reinstall the runtime: http://www.microsoft.com/en-us/download/details.aspx?id=40784

"We should have a great fewer disputes in the world if words were taken for what they are, the signs of our ideas only, and not for things themselves." - John Locke

Have you tried sending your program to someone else who also runs avast to see if their av also flags up the files as bad?

I did some reading up on avast and it seems it has an expert "hardened mode" that increases the aggressiveness of the heuristic engine.

This has to be manually enabled by the user. Did you enable this at any point by chance?

Get someone else to compile your code using Visual Studio 2013 (CE) and send the binary to you.

"I would try to find halo source code by bungie best fps engine ever created, u see why call of duty loses speed due to its detail." -- GettingNifty

if need be i can send you a console mode 32 bit PE executable compiled with VS2012 express that writes a test text file to the current directory. then you'll have a known good exe, and can narrow it down to c runtime, UAC, or Avast. BTW, i think i've run avast in hardened mode with no problem before.

also, any folder under users or program files could potentially have UAC issues. testing using those folders is probably a waste of time until you find the problem. once you find the problem, then you can go back and get it working under those folders again.

Norm Barrows

Rockland Software Productions

"Building PC games since 1989"

rocklandsoftware.net

PLAY CAVEMAN NOW!

http://rocklandsoftware.net/beta.php

Thanks for your replies, I will reinstall vs13ce, if that doesn't work I might take ypu up on your offer Norman

Thanks

Mobile Developer at PawPrint Games ltd.

(Not "mobile" as in I move around a lot, but as in phones, mobile phone developer)

(Although I am mobile. no, not as in a babies mobile, I move from place to place)

(Not "place" as in fish, but location.)

Redownloaded VS and the Redistributables to no effect

Mobile Developer at PawPrint Games ltd.

(Not "mobile" as in I move around a lot, but as in phones, mobile phone developer)

(Although I am mobile. no, not as in a babies mobile, I move from place to place)

(Not "place" as in fish, but location.)

what directory and file name did you try this time?

do you need me to create a new console project, and send you a test exe, source, solution file, etc?

the exe would test your C runtime, AV, and UAC. the project files would test your compiler install.


Mobile Developer at PawPrint Games ltd.
(Not "mobile" as in I move around a lot, but as in phones, mobile phone developer)
(Although I am mobile. no, not as in a babies mobile, I move from place to place)
(Not "place" as in fish, but location.)

sounds like Mr Kimball from Green Acres - well, not exactly like him - he usually talked about crops, not phones, unless it was a phonecrop - or was it a cropphone? Anyway - good luck fishing for your mobile baby! <g>.

Norm Barrows

Rockland Software Productions

"Building PC games since 1989"

rocklandsoftware.net

PLAY CAVEMAN NOW!

http://rocklandsoftware.net/beta.php

This topic is closed to new replies.

Advertisement