From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.ciao.gmane.io!not-for-mail From: Dmitry Gutov Newsgroups: gmane.emacs.bugs Subject: bug#40671: [DOC] modify literal objects Date: Sun, 26 Apr 2020 21:53:05 +0300 Message-ID: References: <9e6c138d-cb9f-6075-34df-a8d1d931343b@cs.ucla.edu> <871rofxbz9.fsf@web.de> <93463227-33a8-85a0-fd19-8b29b75997f3@yandex.ru> <969b3497-0afd-d104-6792-d744d31548fa@cs.ucla.edu> <2935ec84-bdea-2e20-01b9-8ed08cc61c6c@yandex.ru> <669981e5-f601-5c18-1a8b-ee316ad001ec@cs.ucla.edu> <4b8b7e98-029e-58ac-59ff-6cd984b7eb85@yandex.ru> <83zhay5nyn.fsf@gnu.org> <77612744-6de9-3cb8-6d63-1cb9898eb3e1@yandex.ru> <83pnbu5jy4.fsf@gnu.org> <51ab1b2d-1b0e-fb65-2abd-d29cfa8461e5@yandex.ru> <83k1225glr.fsf@gnu.org> <8a4bb621-0fe7-52d5-e6e3-d1a0ec5b6a59@yandex.ru> <838sii5d2q.fsf@gnu.org> <837dy25bt6.fsf@gnu.org> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit Injection-Info: ciao.gmane.io; posting-host="ciao.gmane.io:159.69.161.202"; logging-data="11541"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:68.0) Gecko/20100101 Thunderbird/68.4.1 Cc: ke.vigouroux@laposte.net, eggert@cs.ucla.edu, 40671@debbugs.gnu.org, michael_heerdegen@web.de, mattiase@acm.org, rms@gnu.org To: Eli Zaretskii Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Sun Apr 26 20:54:13 2020 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane-mx.org Original-Received: from lists.gnu.org ([209.51.188.17]) by ciao.gmane.io with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1jSmPt-0002rz-B7 for geb-bug-gnu-emacs@m.gmane-mx.org; Sun, 26 Apr 2020 20:54:13 +0200 Original-Received: from localhost ([::1]:42712 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1jSmPr-0003KQ-1k for geb-bug-gnu-emacs@m.gmane-mx.org; Sun, 26 Apr 2020 14:54:11 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:42224) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1jSmPi-0003Hc-Uv for bug-gnu-emacs@gnu.org; Sun, 26 Apr 2020 14:54:03 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.90_1) (envelope-from ) id 1jSmPi-0005ex-Dx for bug-gnu-emacs@gnu.org; Sun, 26 Apr 2020 14:54:02 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:51604) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1jSmPi-0005es-1v for bug-gnu-emacs@gnu.org; Sun, 26 Apr 2020 14:54:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1jSmPi-0002HJ-0S for bug-gnu-emacs@gnu.org; Sun, 26 Apr 2020 14:54:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Dmitry Gutov Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sun, 26 Apr 2020 18:54:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 40671 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: patch Original-Received: via spool by 40671-submit@debbugs.gnu.org id=B40671.15879271998700 (code B ref 40671); Sun, 26 Apr 2020 18:54:01 +0000 Original-Received: (at 40671) by debbugs.gnu.org; 26 Apr 2020 18:53:19 +0000 Original-Received: from localhost ([127.0.0.1]:34917 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1jSmOw-0002GC-T6 for submit@debbugs.gnu.org; Sun, 26 Apr 2020 14:53:18 -0400 Original-Received: from mail-wr1-f54.google.com ([209.85.221.54]:38025) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1jSmOv-0002Fz-SM for 40671@debbugs.gnu.org; Sun, 26 Apr 2020 14:53:14 -0400 Original-Received: by mail-wr1-f54.google.com with SMTP id x17so17197548wrt.5 for <40671@debbugs.gnu.org>; Sun, 26 Apr 2020 11:53:13 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=sender:subject:to:cc:references:from:message-id:date:user-agent :mime-version:in-reply-to:content-language:content-transfer-encoding; bh=63SMauPbwUockK46BmrzbC8ex4r93XN1IZgGMRktRBM=; b=feAxYfEfNtoYPvepmIH8vrhGPDENUHLYUXCnwkUu7q5DN+7+vgg7P5sZV8by47GA6r I8b9brY5vUvKOmlAwbQkY7ZN47W3B4kt5HAfKWc3nvUwXU6t6IGPthVmdvi9dPSXhsHZ F/pGpR33M9gVlAmWZQsCv/ceKYWV38clJscFtRis9F6vLivzXQTmD1bx0XV3GhVw98Hj aWPVoSuGDJE0/GcSYx/aO1J1ouLXw0K7avaARrwBA9BhEGNGj6EEFvDBzOTusXmCtLaU gZEq7Snar3JYUhb9+pVsJCszOsGQS7O8I7ZIDRIuHIsBCHL9nFOBEbDYhuLo8J+DhR1h vT0w== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:sender:subject:to:cc:references:from:message-id :date:user-agent:mime-version:in-reply-to:content-language :content-transfer-encoding; bh=63SMauPbwUockK46BmrzbC8ex4r93XN1IZgGMRktRBM=; b=h0yrNgu3FXYT0jg/qGsqEVFXtVLKl635ay7jBECFYyNlFVjVeUkWuOMF8I0Nws8gRc FWyV4eNlZwOyTDPILyNQh4vG3K3ofzqjFKFj8Q4JkR1IniTlEWjbSG31WGGU15cih13K aa7YYT0kSq07hs4j9lsNKfdktV8LNpocNBPEvfDyIhOUxEFbGK5oIH+b89n+CAH5EPRG YoVSla7U0X+qAuH/tZFkT6+XokwawkKOh0jlfD/l60GCYK+ghb/ivcjWTWlQ0lZH2o0+ M3GNr5lPB6ZkyMX9gbfroksx7c3PpmsmP9cfwlFQ4a/yyEnZK9UpL/McHOsTkuLwwj0p asQQ== X-Gm-Message-State: AGi0PuaDMytkalqYUnAIa0UCWCnnCYrNshYUPEXVb/7Pg3hdLNSsFPJ+ gM8qk0vgtntwPhtCsN+dZkI= X-Google-Smtp-Source: APiQypJQ7NvDYTta601bb5G5M9Eowk5PENTz6hGMjzOJ8Hr4HVnS4ZO4Ycgigoz32giU9E/JkuEDUg== X-Received: by 2002:a5d:408d:: with SMTP id o13mr25069615wrp.249.1587927187949; Sun, 26 Apr 2020 11:53:07 -0700 (PDT) Original-Received: from [192.168.0.2] ([66.205.73.129]) by smtp.googlemail.com with ESMTPSA id r17sm17478871wrn.43.2020.04.26.11.53.06 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Sun, 26 Apr 2020 11:53:07 -0700 (PDT) In-Reply-To: <837dy25bt6.fsf@gnu.org> Content-Language: en-US X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-Received-From: 209.51.188.43 X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Original-Sender: "bug-gnu-emacs" Xref: news.gmane.io gmane.emacs.bugs:179104 Archived-At: On 26.04.2020 21:41, Eli Zaretskii wrote: >> Cc: ke.vigouroux@laposte.net, eggert@cs.ucla.edu, 40671@debbugs.gnu.org, >> michael_heerdegen@web.de, mattiase@acm.org, rms@gnu.org >> From: Dmitry Gutov >> Date: Sun, 26 Apr 2020 21:32:45 +0300 >> >> My point is, that program is using the same instrument as this one, >> which *will* blow up at runtime. > > No, it isn't the same instrument. Your program constructs a function > call using address that has no valid instructions. Paul's program > does nothing like that, it just attempts to write to a data address > which may or may not be in write-protected storage. So your program > will always blow up, whereas the other one will only blow up if the > memory is write-protected. I was imprecise. The program is doing a different thing. But the programmer is using the same instrument in both cases to make it compile.