Tools Flashcards

1
Q

Apple Git command to rebase PR onto main

A

git-apple-merge-pull-request

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

Internal tool to generate the swift interface

A

swift-api-dump-.py

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q

Difference between tilde and caret in GIT

A

Tilde: <rev>~<n> goes backward n parents from <rev>
Caret: <rev>^<n> select the nth immediate parent from merge commit</n></rev></rev></n></rev>

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
4
Q

Command to show memory leaks of a process

A

leaks -processInfo

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
5
Q

Command to show symbols of a root

A

symbols -uuid

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
6
Q

Apple CLI tool to control and query on daemons and agents

A

launchctl

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
7
Q

Apple CLI to configure SIP

A

csrutil

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
8
Q

Apple CLI to get or set kernel state

A

sysctl

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
9
Q

Apple CLI to manipulate firmware variables

A

nvram

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
10
Q

Apple CLI to display the loaded kernel extensions

A

kextstat

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
11
Q

CLI to manipulate apple archives

A

aa

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
12
Q

CLI to make system partition writable

A

snapshottool golive 2

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
13
Q

Apple CLI of the sandbox compiler

A

sbutil

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
14
Q

VzTestRunner: 3 facts

A

Run tests on VMs stored in GIT LFS repository
Tests are either VZTests or Python tests
Commands and responses are transmitted over SSH

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
15
Q

Apple CLI to read and modify preferences

A

defaults

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
16
Q

Apple CLI to query product information

A

Embedded_device_map

17
Q

Which field is ‘d53gap` in Targets?

A

Target

18
Q

Which field is ‘t8101` in Targets?

A

Platform

19
Q

Which field is ‘iPhone13,2` in Targets?

A

ProductType

20
Q

Which field is ‘H13P` in Targets?

A

PlatformName

21
Q

Which exception corresponds to BASE_ASSERT in crash call stack?

A

EXC_BAD_INSTRUCTION (SIGABRT)

22
Q

App I used to edit demo video

A

iMovie

23
Q

Apple CLI to show xnu version and other info

A

uname

24
Q

Fuzzball

A

Using VMs on ASM to enable large scale testing

25
Q

Bazel

A

Build and test software of any size, quickly and reliably

26
Q

WebVM

A

Server-less virtual Linux environment running fully client-side in HTML5/WebAssembly

27
Q

Where to find common options from Xcode to clang?

A

/path/to/file.resp

28
Q

Where is the Xcode build folder?

A

/users/me/library/developer/xcode/deriveddata/project-hash/