[tor-bugs] #26594 [Core Tor/Tor]: Tor becomes unresponsive after configuration handling on Windows
Tor Bug Tracker & Wiki
blackhole at torproject.org
Mon Jul 2 13:42:08 UTC 2018
#26594: Tor becomes unresponsive after configuration handling on Windows
--------------------------+----------------------------------
Reporter: ahf | Owner: (none)
Type: defect | Status: new
Priority: High | Milestone: Tor: unspecified
Component: Core Tor/Tor | Version: Tor: unspecified
Severity: Normal | Resolution:
Keywords: | Actual Points:
Parent ID: | Points:
Reviewer: | Sponsor:
--------------------------+----------------------------------
Comment (by cypherpunks):
> Same good resul
Yeah, gcc generate final result for such little snippets if optimization
enabled.
Maybe something like
{{{
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
int main(int argc, char *argv[]) __attribute__((optimize("O0")));
int main(int argc, char *argv[])
{
int ret = 0;
ret = strcasecmp("TestingV3AuthInitialVotingInterval",
"TestingV3AuthInitialVotingInterval");
printf("Ret: %d\n", ret);
return EXIT_SUCCESS;
}
}}}
To compile by something like
{{{
x86_64-w64-mingw32-gcc -O2 test.c
}}}
Will gcc keep optimization enabled for strcasecmp?
--
Ticket URL: <https://trac.torproject.org/projects/tor/ticket/26594#comment:13>
Tor Bug Tracker & Wiki <https://trac.torproject.org/>
The Tor Project: anonymity online
More information about the tor-bugs
mailing list