|  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #78716 Function name mangling is wrong for some parameter types
Submitted: 2019-10-22 08:53 UTC Modified: 2019-10-22 08:53 UTC
From: Assigned: cmb (profile)
Status: Closed Package: *Extensibility Functions
PHP Version: 7.4Git-2019-10-22 (Git) OS: Windows
Private report: No CVE-ID: None
Welcome back! If you're the original bug submitter, here's where you can edit the bug or add additional notes.
If this is not your bug, you can add a comment by following this link.
If this is your bug, but you forgot your password, you can retrieve your password here.
Bug Type:
New email:
PHP Version: OS:


 [2019-10-22 08:53 UTC]
The current name mangling for __stdcall and __fastcall functions
yields wrong results for parameter types whose size is smaller
than sizeof(size_t).  For instance,

    void __fastcall foo(char a1)

will be looked up as @foo@1 on 32bit, but is actually @foo@4.


Add a Patch

Pull Requests

Add a Pull Request


AllCommentsChangesGit/SVN commitsRelated reports
 [2019-10-22 08:53 UTC]
-Assigned To: +Assigned To: cmb
 [2019-10-22 09:40 UTC]
Automatic comment on behalf of
Log: Fix #78716: Function name mangling is wrong for some parameter types
 [2019-10-22 09:40 UTC]
-Status: Assigned +Status: Closed
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Thu May 30 07:01:30 2024 UTC