php.net |  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: cmb@php.net 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 you forgot your password, you can retrieve your password here.
Password:
Status:
Package:
Bug Type:
Summary:
From: cmb@php.net
New email:
PHP Version: OS:

 

 [2019-10-22 08:53 UTC] cmb@php.net
Description:
------------
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.


Patches

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2019-10-22 08:53 UTC] cmb@php.net
-Assigned To: +Assigned To: cmb
 [2019-10-22 09:40 UTC] cmb@php.net
Automatic comment on behalf of cmbecker69@gmx.de
Revision: http://git.php.net/?p=php-src.git;a=commit;h=1c9bfcb6a766d4062f2dd1e594b30831d59cc36c
Log: Fix #78716: Function name mangling is wrong for some parameter types
 [2019-10-22 09:40 UTC] cmb@php.net
-Status: Assigned +Status: Closed
 
PHP Copyright © 2001-2025 The PHP Group
All rights reserved.
Last updated: Wed Jan 29 00:01:31 2025 UTC