zsh-workers
 help / color / mirror / code / Atom feed
From: Shohei Yoshida <syohex@gmail.com>
To: zsh-workers@zsh.org
Subject: Re: [PATCH 3/4] Update otool completion
Date: Mon, 28 Aug 2023 11:32:14 +0900	[thread overview]
Message-ID: <CAFX6MOPhyij1=zg3KR5wM7nmQnz66OEYm02yqSqF-P3sYz=B5w@mail.gmail.com> (raw)
In-Reply-To: <F45E2407-3AFA-4925-A247-98013FB3EEAF@kba.biglobe.ne.jp>


[-- Attachment #1.1: Type: text/plain, Size: 634 bytes --]

On Mon, Aug 28, 2023 at 11:28 AM Jun T <takimoto-j@kba.biglobe.ne.jp> wrote:

>
> > 2023/08/27 16:04、Shohei Yoshida <syohex@gmail.com>のメール:
> >
> > attached updated version.
>
> Thanks, but the patch is sent only to me.
> Could you please send it to the zsh-workers?
>

Sorry I made a mistake. I send the same patch again to zsh-workers

-- 
Shohei YOSHIDA(syohex@gmail.com)
<http://b.hatena.ne.jp/entry/https://mail.google.com/_/scs/mail-static/_/js/k=gmail.main.ja.tLQrNXCHmdo.O/m=m_i,t,it/am=nBHH5b_7g8gZ7tIn1f7977tLmp39J3_3JgBC2Amo_5v9P4jWA_ug_FA/rt=h/d=1/t=zcms/rs=AItRSTNJwrjV1i8LKqdsHFfbx47Tnlb-Bw>

[-- Attachment #1.2: Type: text/html, Size: 1572 bytes --]

[-- Attachment #2: 0001-Update-otool-completion.patch --]
[-- Type: text/x-patch, Size: 2287 bytes --]

From e418cc9111ac6cffbbd3193f9f5ee53af0a086ce Mon Sep 17 00:00:00 2001
From: Shohei YOSHIDA <syohex@gmail.com>
Date: Sun, 27 Aug 2023 16:03:41 +0900
Subject: [PATCH] Update otool completion

- Add new option completions
- Update the archtecture list
---
 Completion/Darwin/Command/_otool | 7 ++++++-
 1 file changed, 6 insertions(+), 1 deletion(-)

diff --git a/Completion/Darwin/Command/_otool b/Completion/Darwin/Command/_otool
index c3fc70b91..e0367945c 100644
--- a/Completion/Darwin/Command/_otool
+++ b/Completion/Darwin/Command/_otool
@@ -13,6 +13,7 @@ _arguments \
   '-D[display just the internal name of shared lib]' \
   '-s[display the contents of the specified section]:segment name: :section name: ' \
   '-t[display the contents of (__TEXT,__text) section]' \
+  '-x[display the content of every __text section found in the file]' \
   '-d[display the contents of (__DATA,__data) section]' \
   '-o[display the contents of __OBJC segment]' \
   '-r[display the relocation entries]' \
@@ -25,6 +26,9 @@ _arguments \
   '-G[display the data in code table]' \
   '-C[display the linker optimization hints]' \
   '-P[print the info_plist section as strings]' \
+  '-dyld_info[print bind and rebase information used by dyld]' \
+  '-dyld_opcodes[print raw dyld bind and rebase opcodes present in a final linked binary]' \
+  '-chained_fixups[print raw chained fixup data present in a final linked binary]' \
   '-p[with -t and -v/V: start disassembly from the specified symbol]:symbol name: ' \
   '-v[display verbosely (symbolically) when possible]' \
   '-V[display disassembled operands symbolically]' \
@@ -34,7 +38,8 @@ _arguments \
   '-function_offsets[with disassembly, print decimal offset from the last label]' \
   '-j[with disassembly, print opcode bytes]' \
   "-Q[use otool's disassembler]" \
-  '-arch[select the specified architecture from a universal file]:arch:(i386 x86_64)' \
+  '-addr_slide=[add an arbitrary slide to each pointer value when it is displayed]:slide size' \
+  '-arch[select the specified architecture from a universal file]:arch:(i386 x86_64 x86_64h arm64 arm64e)' \
   '-m[object file names are not assumed to be in archive(member) syntax]' \
   '(- *)--version[print version of otool]' \
   '*:file:_object_files' && return 0
-- 
2.42.0


  parent reply	other threads:[~2023-08-28  2:33 UTC|newest]

Thread overview: 18+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-08-23  4:00 [PATCH 0/4] Update macOS command completions Shohei YOSHIDA
2023-08-23  4:00 ` [PATCH 1/4] Update system_profiler completion Shohei YOSHIDA
2023-08-25  4:56   ` Jun T
2023-08-25  5:24     ` Shohei Yoshida
2023-08-27  7:02       ` Shohei Yoshida
2023-08-25  5:11   ` Jun T
2023-08-23  4:00 ` [PATCH 2/4] Update sw_vers completion Shohei YOSHIDA
2023-08-25  5:01   ` Jun T
2023-08-25  5:29     ` Shohei Yoshida
2023-08-27  6:53       ` Shohei Yoshida
2023-08-23  4:00 ` [PATCH 3/4] Update otool completion Shohei YOSHIDA
2023-08-25 15:16   ` Jun. T
     [not found]     ` <CAFX6MONwMeWWVmUScwqq1zUiHhebF6+fhi3kvDk1pP=VR7y_oQ@mail.gmail.com>
     [not found]       ` <F45E2407-3AFA-4925-A247-98013FB3EEAF@kba.biglobe.ne.jp>
2023-08-28  2:32         ` Shohei Yoshida [this message]
2023-08-28  4:02           ` Jun T
2023-08-23  4:00 ` [PATCH 4/4] Update open completion Shohei YOSHIDA
2023-08-25 16:07   ` Jun. T
2023-08-27  7:18     ` Shohei Yoshida
     [not found]     ` <CAH+w=7Z3AKE4Z3EKN7j9Qh+0UPzJgWjibJ7LmqFQ5xN+QSr5Sw@mail.gmail.com>
2023-08-28  1:53       ` Jun. T

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to='CAFX6MOPhyij1=zg3KR5wM7nmQnz66OEYm02yqSqF-P3sYz=B5w@mail.gmail.com' \
    --to=syohex@gmail.com \
    --cc=zsh-workers@zsh.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.vuxu.org/mirror/zsh/

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).