Skip to content
Tcl Source Code View Ticket
Login

View Ticket

2010-05-12
09:21 • Closed ticket [2992359fff]: Symantec misclassifies wish86g.exe as "Suspicio... artifact: ef92f6fe8a user: sf-robot
2010-04-28
06:37 • Ticket [2992359fff]: 1 change artifact: 4dbb711193 user: kennykb
06:36 • Pending ticket [2992359fff]. artifact: e0a362e531 user: kennykb
06:36 • Ticket [2992359fff]: 4 changes artifact: ecc18cbc88 user: kennykb
00:43 • Ticket [2992359fff]: 4 changes artifact: 3c2c9c55f8 user: andygoth
00:26 • Ticket [2992359fff]: 4 changes artifact: 236c5dea70 user: andreas_kupries
00:22 • Open ticket [2992359fff]. artifact: 75b8c6194b user: andygoth
2010-04-27
06:46 • Ticket [2992359fff]: 1 change artifact: 26a4ac650e user: kennykb
03:44 • Pending ticket [2992359fff]. artifact: a0526c4b64 user: kennykb
2010-04-26
14:32 • New ticket [2992359fff]. artifact: e50dd527f5 user: andygoth

Symantec misclassifies wish86g.exe as "Suspicious.MLApp"

Closed / Works For Me2992359fffffffffffffffffffffffffffffffffCreated 17 years agoUpdated 17 years ago
Descriptionplain2010-04-26 14:32:32
Attempting to build the Tcl CVS HEAD on MinGW results in the following failure:

Creating library file: libtcl86g.a
tclStubInit.o:tclStubInit.c:(.rdata+0x558): undefined reference to `TclBN_mp_to_unsigned_bin'
bn_mp_to_unsigned_bin.o: In function `mp_to_unsigned_bin':
C:/msys/home/td26063/tcl/libtommath/bn_mp_to_unsigned_bin.c:24: undefined reference to `mp_init_copy'
C:/msys/home/td26063/tcl/libtommath/bn_mp_to_unsigned_bin.c:35: undefined reference to `mp_div_2d'
C:/msys/home/td26063/tcl/libtommath/bn_mp_to_unsigned_bin.c:36: undefined reference to `mp_clear'
C:/msys/home/td26063/tcl/libtommath/bn_mp_to_unsigned_bin.c:40: undefined reference to `bn_reverse'
C:/msys/home/td26063/tcl/libtommath/bn_mp_to_unsigned_bin.c:41: undefined reference to `mp_clear'
bn_mp_to_unsigned_bin_n.o: In function `TclBN_mp_to_unsigned_bin_n':
C:/msys/home/td26063/tcl/libtommath/bn_mp_to_unsigned_bin_n.c:25: undefined reference to `TclBN_mp_to_unsigned_bin'
collect2: ld returned 1 exit status
make: *** [tcl86g.dll] Error 1

I checked out the source tree at Mon Apr 26 03:45:15 UTC 2010, and ChangeLog is at version 1.5072.
kennykbplain2010-04-27 03:44:25
I'm not able to reproduce this on my machine.  It looks as if somehow the 'tommath' source directory is getting included before 'generic/' so that bn_mp_to_unsigned_bin.c is finding the wrong <tommath.h>.  Could you rerun from 'make distclean', and if it still fails, attach a copy of the generated Makefile?
kennykb Ticket [2992359fff]: 1 change [History diff]2010-04-27 06:46:14
andygothplain2010-04-28 00:22:29
I did "make distclean" then "./configure --enable-symbols" and "make install", and it worked.  Something flaked out the first time around.  Now everything's fine.  Thanks for suggesting distclean.

Tk is a different story altogether.  The corporate-mandated administratively-locked virus scanner insists that the wish86g.exe I just produced is infected by a virus, so I can't use it.  "Suspicious.MLApp"  This virus scanner is probably the source of the Tcl compile problem.  The build succeeded when I turned off symbols.

By the way, I don't seem to have any ability to attach a file to a bug report.
andreas_kupriesplain2010-04-28 00:26:37
The text 'Add a file' in the section 'Attached Files' is a button/link through which you can attach files to the report. This text not looking like a button/link is an SF GUI problem.
andygothplain2010-04-28 00:43:44
Thanks, I'll have to remember that.
kennykbplain2010-04-28 06:36:37
It's not obvious what we can do to make wish85g.exe - newly produced by a compiler and linker - look less suspicious to an antivirus scanner.  For what it's worth, Suspicious.MLApp is some sort of heuristic check, not a check for a virus signature, and even Symantec warns that it may trigger false positives:  http://www.symantec.com/business/security_response/writeup.jsp?docid=2009-070721-0807-99

Of course, in order to "keep 'em guessing", Symantec won't tell us how to allow our legitimate software to evade the check.  I'm really at a loss about how to address this any further.
kennykb Pending ticket [2992359fff]. [History diff]2010-04-28 06:36:38
kennykb Ticket [2992359fff]: 1 change [History diff]2010-04-28 06:37:10
sf-robotplain2010-05-12 09:21:03
allow_comments - 1

This Tracker item was closed automatically by the system. It was
previously set to a Pending status, and the original submitter
did not respond within 14 days (the time period specified by
the administrator of this Tracker).
Log in (anonymous is fine) to add a comment.