File tree 3 files changed +5
-6
lines changed
3 files changed +5
-6
lines changed Original file line number Diff line number Diff line change 14
14
steps :
15
15
- name : Checkout
16
16
uses : actions/checkout@v4
17
- with :
18
- fetch-depth : ' 0'
19
17
- name : Setup
20
18
run : |
21
19
sudo apt-get -qq update
36
34
new_score=$(cat docs/coverage/gef_py.html | grep pc_cov | sed 's?.*<span class="pc_cov">\([^%]*\)%</span>?\1?g')
37
35
diff_score=$(python -c "print(${new_score} - ${current_score})")
38
36
commit=${{ github.event.pull_request.head.sha }}
39
- include_tests=$(git diff ${{ github.event.pull_request.base.sha }}..${{ github.event.pull_request.head.sha }} --compact-summary | egrep --count '^ tests/' || 0)
40
- include_docs=$(git diff ${{ github.event.pull_request.base.sha }}..${{ github.event.pull_request.head.sha }} --compact-summary | egrep --count '^ docs/' || 0)
37
+ include_tests=$(( git diff ${{ github.event.pull_request.base.sha }}..${{ github.event.pull_request.head.sha }} --compact-summary | egrep --count '^ tests/') || echo 0)
38
+ include_docs=$(( git diff ${{ github.event.pull_request.base.sha }}..${{ github.event.pull_request.head.sha }} --compact-summary | egrep --count '^ docs/') || echo 0)
41
39
echo "commit=${commit}" >> $GITHUB_OUTPUT
42
40
echo "new_coverage_score=${new_score}" >> $GITHUB_OUTPUT
43
41
echo "current_coverage_score=${current_score}" >> $GITHUB_OUTPUT
Original file line number Diff line number Diff line change 18
18
token : ${{ secrets.GITHUB_TOKEN }}
19
19
- name : Install pre-requisite
20
20
run : |
21
+ sudo apt update
21
22
sudo apt install gdb-multiarch python3 python3-dev python3-wheel python3-setuptools git cmake gcc g++ pkg-config libglib2.0-dev gdbserver qemu-user -y
22
23
version=$(gdb -q -nx -ex 'pi print(f"{sys.version_info.major}.{sys.version_info.minor}", end="")' -ex quit)
23
24
python${version} -m pip install --requirement docs/requirements.txt --upgrade
Original file line number Diff line number Diff line change @@ -120,8 +120,8 @@ using a regular Python REPL:
120
120
``` text
121
121
>>> import rpyc
122
122
>>> c = rpyc.connect("localhost", 4444)
123
- >>> gdb = c.root._gdb
124
- >>> gef = c.root._gef
123
+ >>> gdb = c.root.gdb
124
+ >>> gef = c.root.gef
125
125
# We can now fully control the remote GDB
126
126
>>> gdb.execute("file /bin/ls")
127
127
>>> gdb.execute("start")
You can’t perform that action at this time.
0 commit comments