From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from t03.bc.larksuite.com (t03.bc.larksuite.com [209.127.231.37]) by sourceware.org (Postfix) with UTF8SMTPS id 50C1B3858C20 for ; Tue, 16 May 2023 06:47:16 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.2 sourceware.org 50C1B3858C20 Authentication-Results: sourceware.org; dmarc=none (p=none dis=none) header.from=oss.cipunited.com Authentication-Results: sourceware.org; spf=none smtp.mailfrom=oss.cipunited.com DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; s=s1; d=oss-cipunited-com.20200927.dkim.feishu.cn; t=1684219628; h=from:subject:mime-version:from:date:message-id:subject:to:cc: reply-to:content-type:mime-version:in-reply-to:message-id; bh=VNeNfGaDnNJS+TCZPZNJ+7tl1VKQrr1Zcd3r2Lpgvgw=; b=hr/q5F7t99GIoT1DXCsLCOFthBesP/6KJrR8ZKj2YvKnXKvVPyz1mgfyar4564BdKNzLJP 9nLTXaX6XwWtA5abFweefHl8us++FStO7Ey/rdmx+wjDe6Jp1tShrtgCI2oqK8GYUqWHuD oQSDGZIDZ42oe6LLhcbLhqmnuObhyOlGy4AQLaF7KogCvK91hNxEVrkRImqooRbz1wm7sB 854Ks54kP5ow+0ku+Xe1ssZ1gcbL0WjXDfSOW8NDYfLSDTnXp+v1GZFaHU9G9RH5n29SBO yVYUj96PAs0DXA5GWoIpNYYeoUzsQNt1l1rYyuk5FbqYeUlMV0waQAk2tjFPcQ== Date: Tue, 16 May 2023 14:46:57 +0800 Mime-Version: 1.0 Message-Id: <99793ed6-7162-bbcb-28c7-9d4ec02e0a15@oss.cipunited.com> X-Lms-Return-Path: Content-Transfer-Encoding: 8bit In-Reply-To: From: "Ying Huang" Subject: Re: [PATCH 1/5] strip: Adapt src/strip -o -f on mips Content-Language: en-US References: <20230411081141.1762395-1-ying.huang@oss.cipunited.com> <20230411081141.1762395-2-ying.huang@oss.cipunited.com> Content-Type: multipart/alternative; boundary=e1467f57c5c38b127dc0bafb2a86386878ead643812447b21a5c0927f7b0 To: "Mark Wielaard" , User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Thunderbird/102.10.0 X-Spam-Status: No, score=-6.9 required=5.0 tests=BAYES_00,DKIM_SIGNED,DKIM_VALID,HTML_MESSAGE,NICE_REPLY_A,SPF_HELO_NONE,SPF_NONE,TXREP,T_SCC_BODY_TEXT_LINE autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on server2.sourceware.org List-Id: --e1467f57c5c38b127dc0bafb2a86386878ead643812447b21a5c0927f7b0 Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset=UTF-8 HI, >> libelf/elf_getdata.c: Some eu-utils use read-mmap method to map file, >> so we need to malloc and memcpy raw data to avoid segment fault. After >> modification, the correct value are saved in the malloced memory not in >> process address space. > Where do these segfaults show up? =C2=A0=C2=A0=C2=A0 The screenshot of the segment error was not uploaded suc= cessfully in the last email, upload again. Thanks, YIng= --e1467f57c5c38b127dc0bafb2a86386878ead643812447b21a5c0927f7b0--