Opened 5 years ago

Last modified 19 months ago

#12425 new task

Investigate setjmp/longjmp-based exception handling for Tor Browser on Windows

Reported by: gk Owned by: tbb-team
Priority: Medium Milestone:
Component: Applications/Tor Browser Version:
Severity: Normal Keywords: tbb-security
Cc: tom@… Actual Points:
Parent ID: Points:
Reviewer: Sponsor:

Description

As GCC does not implement Structured Exception Handling (SEH) we might want to enable setjmp/longjmp-based exception handling for Tor Browser on Windows. We should do this at least if there are no other exception handling mechanisms enabled by Windows.

Child Tickets

Change History (6)

comment:1 Changed 5 years ago by erinn

Keywords: needs-triage added

comment:2 Changed 5 years ago by tom

Cc: tom@… added

comment:3 Changed 5 years ago by gk

Component: Tor bundles/installationTor Browser
Keywords: needs-triage removed
Owner: changed from erinn to tbb-team

comment:4 Changed 2 years ago by bugzilla

Parent ID: #16010
Severity: Normal

SJLJ was the only choice before GCC 4.8 was released, but later GCC versions support SEH.

https://stackoverflow.com/questions/15670169/what-is-difference-between-sjlj-vs-dwarf-vs-seh

comment:5 Changed 2 years ago by gk

Parent ID: #16010

comment:6 Changed 19 months ago by cypherpunks

It should be noted that mingw-w64 official builds use DWARF EH https://stat.ethz.ch/pipermail/r-sig-windows/2015q3/000020.html

Note: See TracTickets for help on using tickets.