Skip to content
Tcl Source Code Ticket Change Details
Login

Ticket Change Details

Overview

Artifact ID: 65cf874dc49c8fcc17094f426a4824e3ee411a722956e0df12dde930acb3ffc6
Ticket: 8ab8a138c9156e5a5a4a386310c6fd11608b8805
Functions passed to Tcl_EventuallyFree() must be declared/defined as Tcl_FreeProc
User & Date: chrstphrchvz on 2024-02-16 11:06:31
Changes

  1. icomment:
    I have since learned that eliminating <tt>-fsanitize=function</tt> complaints is also useful for security hardening, because some control flow integrity schemes require calling functions using the correct pointer type (although some schemes also rely on LTO which I am not aware how well Tcl supports). See [https://maskray.me/blog/2022-12-18-control-flow-integrity#fsanitizefunction]
    
  2. login: "chrstphrchvz"
  3. mimetype: "text/x-fossil-wiki"