TIP: Click on subject to list as thread! ANSI
echo: rberrypi
to: ALL
from: KERR-MUDD,JOHN
date: 2021-01-08 09:48:00
subject: Re: AI and decompilation?

On Wed, 06 Jan 2021 12:42:05 GMT, Ahem A Rivet's Shot 
wrote:

> On Wed, 6 Jan 2021 14:17:30 +0200
> Tauno Voipio  wrote:
>
>> This is a common construction in compiler-generated
>> machine code, if the first function calls another
>> just before return.
>>
>> bar:    .cfi_startproc
>>          ... do something
>>          call foo
>>          ret
>
>      I recall optimising things like that by changing the last two
lines
> to:
>      jmp foo
>
>> foo:    .. do more ..
>>          ret
>

I'm naive; what's the problem with:


bar:    .cfi_startproc
         ... do something

;;;          call foo
;;;         ret
; just fallthru to execute foo and exit.

foo:    .. do more ..
          ret


--
Bah, and indeed, Humbug.

--- SoupGate-Win32 v1.05
* Origin: Agency HUB, Dunedin - New Zealand | FidoUsenet Gateway (3:770/3)

SOURCE: echomail via QWK@docsplace.org

Email questions or comments to sysop@ipingthereforeiam.com
All parts of this website painstakingly hand-crafted in the U.S.A.!
IPTIA BBS/MUD/Terminal/Game Server List, © 2025 IPTIA Consulting™.