From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id 881103858C54; Thu, 7 Dec 2023 00:44:58 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 881103858C54 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=sourceware.org; s=default; t=1701909898; bh=elyr1KgSLUhHPuesT+D5wlM4SFN9+Hci+uvnJzVM+vo=; h=From:To:Subject:Date:From; b=cXIUcHfHKD4kbA8ZoXY3vk+TsctEhRMKoQAtFmteVMiSZiaI8LqF400cnMpEDYo8y v/WJ3+KbzCLf5ncdZaAmicdkU0m0b/xkeV4VatHnOMzc6srHbH+Xksh/86kOhQ/mGv jlzbGVr77n9CQcp6ixawAMMV3TVL2AVZFk/RWst0= From: "lijunlong at openresty dot com" To: systemtap@sourceware.org Subject: [Bug translator/31119] New: did not escape Golang program symbol name Date: Thu, 07 Dec 2023 00:44:58 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: systemtap X-Bugzilla-Component: translator X-Bugzilla-Version: unspecified X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: lijunlong at openresty dot com X-Bugzilla-Status: UNCONFIRMED X-Bugzilla-Resolution: X-Bugzilla-Priority: P2 X-Bugzilla-Assigned-To: systemtap at sourceware dot org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_id short_desc product version bug_status bug_severity priority component assigned_to reporter target_milestone attachments.created Message-ID: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://sourceware.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 List-Id: https://sourceware.org/bugzilla/show_bug.cgi?id=3D31119 Bug ID: 31119 Summary: did not escape Golang program symbol name Product: systemtap Version: unspecified Status: UNCONFIRMED Severity: normal Priority: P2 Component: translator Assignee: systemtap at sourceware dot org Reporter: lijunlong at openresty dot com Target Milestone: --- Created attachment 15242 --> https://sourceware.org/bugzilla/attachment.cgi?id=3D15242&action=3Ded= it did not escape golang symbol 1. golang's symbol name may contain double quotation marks. For example: ``` <386a40> DW_AT_name : *struct { Rates map[string]float64 "json:\"rate_by_service\"" } ``` 2. get char from cpp string singed extended would get the wrong result. ``` (unsigned)str[I] is equal to (unsigned)(int)str[i] ``` We need to change to (unsigned char)str[i] --=20 You are receiving this mail because: You are the assignee for the bug.=