Re: [Dwarf-Discuss] dwarf stack operator for byte swap.

2019-12-27 Thread Cary Coutant via Dwarf-Discuss
> >> DW_OP_byte_swap > >> > >> The DW_OP_byte_swap operation pops the top stack entry, > >> byte swaps the value > >> and pushes back the swapped value on the dwarf stack. > >> e.g. so 0x12345678 will become 0x78563412, useful to > >> change endian

Re: [Dwarf-Discuss] dwarf stack operator for byte swap.

2019-12-16 Thread Michael Eager via Dwarf-Discuss
Eager ; Robinson, Paul ; Ron Brender *Cc:* dwarf-discuss@lists.dwarfstd.org *Subject:* RE: [Dwarf-Discuss] dwarf stack operator for byte swap. Hello Michael, Thanks for the confirmation. Kindly inform me if anything needs to be updated from myside. Regards, Chirag Patel Software Engineer

Re: [Dwarf-Discuss] dwarf stack operator for byte swap.

2019-12-16 Thread Chirag Patel via Dwarf-Discuss
From: Chirag Patel Sent: 11 November 2019 13:07:19 To: Michael Eager ; Robinson, Paul ; Ron Brender Cc: dwarf-discuss@lists.dwarfstd.org Subject: RE: [Dwarf-Discuss] dwarf stack operator for byte swap. Hello Michael, Thanks for the confirmation. Kindly inform

Re: [Dwarf-Discuss] dwarf stack operator for byte swap.

2019-11-10 Thread Chirag Patel via Dwarf-Discuss
: 08 November 2019 20:04 To: Chirag Patel ; Robinson, Paul ; Ron Brender Cc: dwarf-discuss@lists.dwarfstd.org Subject: Re: [Dwarf-Discuss] dwarf stack operator for byte swap. Hi Chirag -- Thanks for your submission. It was received. I'm redesigning the DWARF website, in part to addres

Re: [Dwarf-Discuss] dwarf stack operator for byte swap.

2019-11-08 Thread Michael Eager via Dwarf-Discuss
* 29 October 2019 17:10 *To:* Michael Eager ; Robinson, Paul ; Ron Brender *Cc:* dwarf-discuss@lists.dwarfstd.org *Subject:* Re: [Dwarf-Discuss] dwarf stack operator for byte swap. Hello, Thank you all for prompt reply. @Robinson, Paul <mailto:paul.robin...@sony.com>, Thanks for the shorter lis

Re: [Dwarf-Discuss] dwarf stack operator for byte swap.

2019-11-08 Thread Chirag Patel via Dwarf-Discuss
Cc: Michael Eager ; Robinson, Paul ; Ron Brender ; dwarf-discuss@lists.dwarfstd.org Subject: Re: [Dwarf-Discuss] dwarf stack operator for byte swap. On Fri, Nov 08, 2019 at 06:51:52AM +, Chirag Patel via Dwarf-Discuss wrote: > Proposed changes to DW

Re: [Dwarf-Discuss] dwarf stack operator for byte swap.

2019-11-08 Thread Jakub Jelinek via Dwarf-Discuss
On Fri, Nov 08, 2019 at 06:51:52AM +, Chirag Patel via Dwarf-Discuss wrote: > Proposed changes to DWARF > --- > > 2.5.1.7 Special Operation > > Addition > > DW_OP_byte_swap > >The DW_OP_byte_swap operation pops the top stack entry, byte > swaps the

Re: [Dwarf-Discuss] dwarf stack operator for byte swap.

2019-11-07 Thread Chirag Patel via Dwarf-Discuss
_ From: Michael Eager mailto:ea...@eagercon.com>> Sent: 28 October 2019 20:37 To: Robinson, Paul mailto:paul.robin...@sony.com>>; Chirag Patel mailto:chi...@raincode.com>> Cc: dwarf-discuss@lists.dwarfstd.org<mailto:dwarf-discuss@lists.dwarfstd.org> ma

Re: [Dwarf-Discuss] dwarf stack operator for byte swap.

2019-10-29 Thread Chirag Patel via Dwarf-Discuss
inkedin.com/in/chirag-patel-/> [cid:68b118f1-419e-4f8e-a7ba-1d94b0379f85] From: Michael Eager Sent: 28 October 2019 20:37 To: Robinson, Paul ; Chirag Patel Cc: dwarf-discuss@lists.dwarfstd.org Subject: Re: [Dwarf-Discuss] dwarf stack operator for byte sw

Re: [Dwarf-Discuss] dwarf stack operator for byte swap.

2019-10-28 Thread Michael Eager via Dwarf-Discuss
Hi Chirag -- A byte-swap operator would be a reasonable addition to the DWARF interpreter. In addition to writing a proposal as Paul suggests, one option I would recommend you consider is to create a user-defined operation to perform this byte-swap operation and give it a value in the range

Re: [Dwarf-Discuss] dwarf stack operator for byte swap.

2019-10-28 Thread Robinson, Paul via Dwarf-Discuss
Hello Chirag, Regarding a byte-swap operation, it seems that you have a reasonable use-case on a bi-endian machine. Feel free to request a new operator on the "public comments" page at http://dwarfstd.org/Comment.php Note that a byte-swap operator would swap all bytes in the top-of-stack value