Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Address edits by offset value #269

Open
wants to merge 494 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
494 commits
Select commit Hold shift + click to select a range
c2df8f7
Update libscanmem submodule
Aug 10, 2023
210151e
Change undo/redo/pid/reset commands to library function calls
Aug 10, 2023
3466533
Optimize examine_expressions for update_address_table
korcankaraokcu Aug 21, 2023
778f8b4
Fix read_pointer output on invalid symbols
korcankaraokcu Aug 21, 2023
a9e2089
Fix Stack and StackTrace windows when process is running
korcankaraokcu Aug 25, 2023
7d3a604
Fix refresh for tableWidget_Stack_key_press_event
korcankaraokcu Aug 25, 2023
162b254
Fix Stack and StackTrace exceptions
korcankaraokcu Aug 27, 2023
52a5928
Replace exit loop with parsing
korcankaraokcu Aug 27, 2023
5041fc8
Replace some Worker instances with QTimer
korcankaraokcu Sep 12, 2023
52f0ec9
Implement gdb expression cache
korcankaraokcu Sep 15, 2023
020f3c9
Fix vimspector missing modules issue
Sep 18, 2023
3ca6424
Push scanmem fixes
Sep 18, 2023
f2f7b5d
Scan in separate thread
korcankaraokcu Sep 18, 2023
2f63053
Separate scanmem from MainForm
korcankaraokcu Sep 18, 2023
31e426c
Remove KeyboardInterrupt from signal_handler
korcankaraokcu Sep 19, 2023
642076c
Fix tableWidget_SymbolInfo_current_changed when nothing is selected
korcankaraokcu Sep 19, 2023
7129559
Change usage of QModelIndex_current for tableWidget_SymbolInfo_curren…
korcankaraokcu Sep 19, 2023
59064c0
Set progressBar value to 100 on callback
korcankaraokcu Sep 19, 2023
853400f
signal_handler can now quit PINCE
korcankaraokcu Sep 20, 2023
72deb40
Change pointer behavior for ManualAddressDialog
korcankaraokcu Sep 22, 2023
f877b5d
Fix the parser for TrackBreakpointWidget
korcankaraokcu Sep 22, 2023
ad189f6
Fix variable assigning order for tracking widgets
korcankaraokcu Sep 23, 2023
161758a
Fix actionToggle_Attach trigger
korcankaraokcu Sep 23, 2023
daebbfc
Fix call_function_from_inferior
korcankaraokcu Oct 22, 2023
bef2ee4
Implement endianness
korcankaraokcu Oct 31, 2023
55e8af2
Update zh_CN translation
detiam Nov 1, 2023
7869362
Make QDialogButtonBox.StandardButton translatable
korcankaraokcu Nov 6, 2023
d63d927
Change import order
korcankaraokcu Nov 6, 2023
3f11a52
Update CONTRIBUTING.md
korcankaraokcu Nov 12, 2023
f9f5b37
Temporary fix for bp racing conditions
korcankaraokcu Nov 15, 2023
18461fb
Adjust float search to locale
korcankaraokcu Nov 16, 2023
bd69296
Use locale_alias instead of SUPPORTED file
korcankaraokcu Nov 17, 2023
d974752
Add venv to vscode launch script
korcankaraokcu Nov 17, 2023
7640b2e
Don't display unknown entries
korcankaraokcu Nov 18, 2023
700bd98
Move guiutils to GUI
korcankaraokcu Nov 20, 2023
0868037
Make custom labels translatable
korcankaraokcu Nov 20, 2023
f320de2
Push libscanmem undo fixes
Nov 25, 2023
2ce8f43
Implement relative addressing
korcankaraokcu Nov 30, 2023
b851d8f
Update address table on drop event
korcankaraokcu Dec 2, 2023
fc8a346
Use requirements.txt for pip
korcankaraokcu Dec 2, 2023
e705f03
Fix checkBox_IsPointer.stateChanged logic
korcankaraokcu Dec 3, 2023
78559aa
Fix object names for consistency
korcankaraokcu Dec 3, 2023
e1af83c
Remove redundant name custom
korcankaraokcu Dec 4, 2023
7f22fea
Detach before emergency quit
korcankaraokcu Dec 5, 2023
a0f99b5
Update README.md
korcankaraokcu Dec 7, 2023
6f4431a
Implement groups
korcankaraokcu Dec 12, 2023
faf0eca
Shorten context menu of MainWindow
korcankaraokcu Dec 14, 2023
9f91060
Move length and ZT to their own widget
korcankaraokcu Dec 15, 2023
4c4dbda
Fix sizing issues of AddAddressManuallyDialog
korcankaraokcu Dec 15, 2023
3dd58d1
Implement repr and endian for value type dialogs
korcankaraokcu Dec 18, 2023
e4b4041
Use setMaximumSize instead of adjustSize to fix resizing issue
korcankaraokcu Dec 18, 2023
9657660
Update CONTRIBUTING.md
korcankaraokcu Dec 19, 2023
a119eaa
Add ability to index regions for examine_expression
korcankaraokcu Dec 20, 2023
6703bad
Rename modules to nibcase
korcankaraokcu Dec 25, 2023
2fc7d5b
Update translations
korcankaraokcu Dec 25, 2023
b1df3cd
Fix #231
korcankaraokcu Dec 26, 2023
0a874b3
Use setSizeConstraint with fixed size instead of setMaximumSize
korcankaraokcu Dec 26, 2023
f1db601
Revert to adjustSize from setSizeConstraint
korcankaraokcu Dec 26, 2023
20d2b54
Adjust ManualAddressDialog resizing
korcankaraokcu Dec 27, 2023
bebcda8
Fix lineEdit_Length width for EditTypeDialog
korcankaraokcu Dec 27, 2023
9ed09e9
Remove is_path_valid function
korcankaraokcu Dec 27, 2023
c23724b
Add theme option (#230)
jakerosado Dec 28, 2023
f209bf9
Hotfix theme settings
korcankaraokcu Dec 28, 2023
16d6d3e
Update CONTRIBUTING.md
korcankaraokcu Dec 28, 2023
7d9c332
Preview logo and theme changes in settings
korcankaraokcu Dec 29, 2023
a6b8bee
Rename theme functions and update docstrings
korcankaraokcu Dec 29, 2023
a2fa462
Create TMP_PATH and move gdb logs there
korcankaraokcu Dec 31, 2023
3f89c68
Merge paths and rename redundant members in typedefs
korcankaraokcu Dec 31, 2023
2cf254b
Move dissect code and tracer data to tmp
korcankaraokcu Dec 31, 2023
b1ace55
Add copy to register context menu
korcankaraokcu Dec 31, 2023
4c0984c
Prevent debug related errors when process is running
korcankaraokcu Jan 1, 2024
8cc8ff8
Update process status after reattach
korcankaraokcu Jan 1, 2024
9b1039c
Fix GUI when detached
korcankaraokcu Jan 2, 2024
df66a3e
Use set_pince_paths in init_gdb
korcankaraokcu Jan 2, 2024
4f6a736
Handle all signals
korcankaraokcu Jan 3, 2024
1029f48
Optimize handle_signals
korcankaraokcu Jan 4, 2024
9d539c3
Implement interrupt_signal
korcankaraokcu Jan 4, 2024
0906e66
Replace python objects in settings with json-compatible ones
korcankaraokcu Jan 6, 2024
19e87b0
Fix handle_signals design
korcankaraokcu Jan 6, 2024
060eed7
Implement automatic update for HexView
korcankaraokcu Jan 7, 2024
6cd2da6
Implement toggle_children
korcankaraokcu Jan 8, 2024
3bda885
Add cell editing for HexView
korcankaraokcu Jan 9, 2024
83119db
Add zero_terminate param to write_memory
korcankaraokcu Jan 9, 2024
23fb929
Fix QPainter error in signal_handler
korcankaraokcu Jan 10, 2024
f56d272
Remove redundant lower() call
korcankaraokcu Jan 10, 2024
9b68eb0
Fix keyPressEvent of ProcessForm
korcankaraokcu Jan 11, 2024
9946429
Enter edit mode when pressed enter in HexView
korcankaraokcu Jan 11, 2024
d625450
Update CONTRIBUTING.md
korcankaraokcu Jan 11, 2024
6dc5cd9
Add type hints to guiutils
korcankaraokcu Jan 11, 2024
c5353d2
Implement multi selection for HexView
korcankaraokcu Jan 12, 2024
866ca1c
Update libscanmem for new undo changes
Jan 13, 2024
f4924bf
Change undo scan button behaviour
Jan 13, 2024
c2d2a87
Add git cloning check to installer
Jan 14, 2024
8af1038
Use QStyledItemDelegate and update type hints
korcankaraokcu Jan 22, 2024
8de0759
Implement text-like selection for hex view
korcankaraokcu Jan 23, 2024
fb592d7
Fix racing condition between breakpoints and their commands
korcankaraokcu Jan 24, 2024
2c0d277
QoL: click outside freeze checkbox to change freeze type
Bloodiko Jan 27, 2024
0d9a684
QoL: Autoselect Process with Enter if only one Process is found
Bloodiko Jan 27, 2024
22faacd
QoL: Press Enter in lineEdit_Scan for Search
Bloodiko Jan 27, 2024
065bb39
Set freeze type to default when unfreezed
korcankaraokcu Jan 27, 2024
2f2a79c
Fix freeze for float entries
korcankaraokcu Jan 28, 2024
e99b338
Fix region parsing
korcankaraokcu Jan 29, 2024
9cb0338
Extend multi selection functionality
korcankaraokcu Feb 1, 2024
221a0dd
Fix duplicates in get_region_dict
korcankaraokcu Feb 1, 2024
6a7b6da
Add copy action to hex view
korcankaraokcu Feb 3, 2024
2f1283e
Change hex view behavior when process dies
korcankaraokcu Feb 3, 2024
09181d9
Fixed a race condition for chained watchpoints
korcankaraokcu Feb 3, 2024
87e1d32
Disable multi selection when ctrl is pressed
korcankaraokcu Feb 3, 2024
3efc5e9
Update CONTRIBUTING.md
korcankaraokcu Feb 5, 2024
adbc355
Add option to disable SIGSEGV if the process is java
korcankaraokcu Feb 5, 2024
221ada6
Adjust SettingsDialog params and texts
korcankaraokcu Feb 5, 2024
acf4c1e
Update translations
korcankaraokcu Feb 5, 2024
f29e52f
Don't handle signals when a process isn't present
korcankaraokcu Feb 6, 2024
9b5638c
Fix wiki links
korcankaraokcu Feb 6, 2024
9123cef
Clear exp_cache instead of use_cache param
korcankaraokcu Feb 6, 2024
81bc2d2
Delete unused variable and update comments
korcankaraokcu Feb 7, 2024
ddf02c4
fix white space issues
vikke1234 Feb 6, 2024
c994ce8
Add missing dependency to install script
vikke1234 Feb 6, 2024
b4e2aeb
Refactor Hotkeys
vikke1234 Feb 7, 2024
2707984
Refactor settings
vikke1234 Feb 7, 2024
33e90ca
Simplify locale configuration
vikke1234 Feb 7, 2024
7e1113c
Add ability to choose GDB version for install_gdb.sh
korcankaraokcu Feb 12, 2024
d3bd071
Bugfixes and optimizations for settings
korcankaraokcu Feb 13, 2024
5c906d7
Redesign hotkeys and fix translations
korcankaraokcu Feb 14, 2024
f4e36e8
Remove instances hack and fix minor bugs
korcankaraokcu Feb 15, 2024
944c29d
Update CONTRIBUTING.md
korcankaraokcu Feb 15, 2024
7affb53
Fix center_to_parent call order
korcankaraokcu Feb 16, 2024
4d09fe6
Add key press event handling for deleting rows in valuesearchtable
Bloodiko Feb 17, 2024
f65a367
QOL Add numpad Enter key for "edit Value"
Bloodiko Feb 10, 2024
518d06b
QOL also add num enter key on select process
Bloodiko Feb 17, 2024
519bf67
Remove redundant statement from value search table
korcankaraokcu Feb 17, 2024
8e41444
Fix auto attach
korcankaraokcu Feb 19, 2024
6ae3374
Fix Hotkey implementation (#241)
Bloodiko Feb 27, 2024
d4cb156
QOL Fix - keep hex validator between type-change (#243)
Bloodiko Mar 4, 2024
a548c73
move validator_map to the beginning of guiutils
korcankaraokcu Mar 4, 2024
71d9cc1
Update zh_CN translation
detiam Mar 16, 2024
8766aa4
Add pip3 upgrade upon venv creation to fix modules install
Mar 21, 2024
172aac3
Add error check to pip3 upgrade in installer
Mar 21, 2024
8ceac26
Update Arch package requirements in installer
Mar 24, 2024
0e0ae0b
Change startup script to use static python3 venv path instead of rely…
Mar 30, 2024
4827de4
Change pointer reading backend logic to store results on each derefer…
Apr 8, 2024
752f69d
Change pointer UI behaviour
Apr 8, 2024
a0eea0a
Fix PointerChainType typo
Apr 9, 2024
d4fa050
Change read_pointer_chain to add 0 for invalid offset reads
Apr 9, 2024
18328de
Fixed lineEdit alignment for AddAddressManuallyDialog
korcankaraokcu Apr 12, 2024
5f398ff
Add check for invalid base_address pointer chain in update table logic
Apr 13, 2024
127785d
Update README.md
korcankaraokcu Apr 13, 2024
136713e
Update README.md
Apr 13, 2024
2b724b1
Fix Python 3.12 SyntaxWarning by changing strings using invalid escap…
Apr 16, 2024
0152fe8
Fix rare SIGSEGV from invalid sys.argv
Apr 16, 2024
766bb39
improve ManualAddressDialog GUI
Bloodiko Apr 14, 2024
8d98a2d
Update PINCE.py
Bloodiko Apr 14, 2024
423b237
add space before typehints
Bloodiko Apr 14, 2024
f49c48f
Adjust int_hex regex to include possible leading -
Bloodiko Apr 21, 2024
5d686bb
Change gdbinit's shell invocation to use python3
Apr 22, 2024
2e05b5d
Prepare gdb init code for AppImage gdb bundling
Apr 23, 2024
e472a76
Fix missed apply_after_init in gdb init case
Apr 23, 2024
b6a68b3
Additional AppImage checks necessary to run
Apr 23, 2024
63c103c
Add AppImage builder
Apr 25, 2024
371165a
Update libscanmem commit hash
Apr 25, 2024
3da0f80
Fix locales not working in AppImage
Apr 26, 2024
17c97fe
Apply black formatter
korcankaraokcu May 2, 2024
b24a583
Update CONTRIBUTING.md
korcankaraokcu May 2, 2024
56988e8
Add setting for byte scroll count
korcankaraokcu May 4, 2024
8df63e0
Convert table setting lineEdits to spinBoxes
korcankaraokcu May 4, 2024
094645f
Multiple Changes (#254)
Bloodiko May 10, 2024
330558f
Fix case inconsistency in HexEditDialog
korcankaraokcu May 10, 2024
c9c58ca
Update libscanmem to newest commit
May 11, 2024
db989c0
Add CMake as explicit dependency in installer
May 11, 2024
757608c
Update libscanmem to fix potential compilation error
May 11, 2024
a152df4
Update libscanmem again to fix small CMake check
May 11, 2024
76cbcf4
Add error handling to AppImage packager
May 11, 2024
3ac10ed
Create "Release AppImage" GitHub workflow
May 11, 2024
15855c4
Update README.md
May 12, 2024
aaaa76a
Disable isort in PINCE
May 12, 2024
d92aba2
Change AppImage packager to supply newer libstdc++
May 12, 2024
6b170fa
fix AddressEditWindow error
Bloodiko May 12, 2024
cb3537d
"Not" Scan Type Feature (#257)
OpenNetSurfer May 12, 2024
d742573
Remove redundant code
korcankaraokcu May 12, 2024
8f5b416
Add monospace to more widgets
korcankaraokcu May 12, 2024
0fd4168
Add initial pointer scanner GUI
korcankaraokcu May 14, 2024
4e65144
Update CONTRIBUTING.md about formatter
May 15, 2024
ad6ba1a
Add initial pointer scanning support by integrating libptrscan
May 16, 2024
9ad2424
Fix About menu error in AppImage
May 16, 2024
e899bee
Change installer and packager to use cURL instead of wget. Also chang…
May 17, 2024
49c4caa
Change pointer scanner GUI to inform user of scan start
May 17, 2024
faf2bd6
Replace pushd and popd commands with cd
korcankaraokcu May 17, 2024
63674e9
Make pointer scanning interruptable
May 17, 2024
10656ec
Fix incorrect scan types for String and AOB value types
May 18, 2024
e753a8f
Fix tracer
korcankaraokcu May 19, 2024
6447c35
Apply monospace font to tracer
korcankaraokcu May 19, 2024
8d6a1bd
Fix inferior_status not being updated
korcankaraokcu May 20, 2024
492903a
Disable user debug options while tracing
korcankaraokcu May 20, 2024
2d095d3
Fix trace status design
korcankaraokcu May 21, 2024
569d3d8
Fix tracer docs
korcankaraokcu May 21, 2024
298c432
Pointer scanner overhaul. Add pointer scan 'filtering'
May 21, 2024
4308870
Prevent certain operations on addresses when detached/process dead
May 21, 2024
04eb2a9
Force file requirement for pointer scanning
May 22, 2024
15efe7a
Remove redundant code and fix docstrings
korcankaraokcu May 22, 2024
bf8bde2
Fix tracer crash when process exits
korcankaraokcu May 22, 2024
44f63de
Fix where active_trace starts
korcankaraokcu May 22, 2024
abe15d2
Fix tracer visibility issues and update docs
korcankaraokcu May 22, 2024
3fc50b1
Change PINCE.sh script to be runnable from anywhere
May 22, 2024
fabd1da
Change installer names and make install.sh location independent
May 22, 2024
de9c64a
Update README.md
May 22, 2024
065a797
Change install_gdb references to compile_gdb
May 22, 2024
c89ff42
Fix wait_for_stop
korcankaraokcu May 23, 2024
b9939fe
Fix file locations and pointer translations
korcankaraokcu May 24, 2024
e6bbd18
Fix file extension translations, variable names and type hints
korcankaraokcu May 25, 2024
823b213
Update translation docs
korcankaraokcu May 25, 2024
d98701d
Disable gdb path setting for AppImage builds
korcankaraokcu May 28, 2024
4c0faea
Update package.sh to include libxcb-cursor
Jun 1, 2024
f3cbbab
Append 0x to hex expressions if missing
korcankaraokcu Jun 1, 2024
4a4e1de
Change variable name to UNUSED_APPIMAGE_SETTING
korcankaraokcu Jun 1, 2024
55be184
Fix AppImage packager mistake
Jun 1, 2024
9990849
Fix AppImage libxcb-cursor loading
Jun 2, 2024
013cd34
Fix init_user_files config file location
korcankaraokcu Jun 2, 2024
ba0744f
Change AppImage packager to patch libqxcb.so's runpath instead of LD_…
Jun 3, 2024
e54b1eb
Added option to show the full stack from `Base Pointer` (#263)
OpenNetSurfer Jun 10, 2024
bd48824
Handle pexpect.EOF
korcankaraokcu Jun 25, 2024
adc58d7
Disable word wrap for hex view
korcankaraokcu Jul 17, 2024
924a03b
Fix misalignment and sizing issues in HexView
korcankaraokcu Jul 18, 2024
d8af858
Fix upper case write bug for AsciiView
korcankaraokcu Jul 19, 2024
39a42b2
Enable sorting for address table
korcankaraokcu Jul 19, 2024
f819edf
Remove unused bits radiobutton
korcankaraokcu Jul 20, 2024
0bcce05
Migrate to Sphinx (#265)
korcankaraokcu Jul 22, 2024
8173a56
Add workflow_dispatch to build_docs
korcankaraokcu Jul 22, 2024
af3951c
Remove LibpinceReferenceWidget and tagging system
korcankaraokcu Jul 23, 2024
b86d426
Update roadmap and readme
korcankaraokcu Jul 23, 2024
b96cd58
Enable sorting for value search table
korcankaraokcu Jul 24, 2024
fe110e0
Fix resizing for value search table
korcankaraokcu Jul 24, 2024
aac4d92
Remove fixed font sizes
korcankaraokcu Jul 24, 2024
c00e955
Remove redundant size property
korcankaraokcu Jul 24, 2024
bec671e
Add missing xmm registers
korcankaraokcu Jul 30, 2024
31f464a
Add context menu to search table and extend its key events
korcankaraokcu Aug 2, 2024
1062f59
Add ability to filter scan regions
korcankaraokcu Aug 14, 2024
d909ed2
Fix invalid freeze entries
korcankaraokcu Aug 15, 2024
49aa4ab
Fix selection issues of freeze column
korcankaraokcu Aug 17, 2024
51c2611
add guiutils to sphinx docs
korcankaraokcu Aug 17, 2024
d3aeeb6
Allow workflows to be triggered on patch versions
korcankaraokcu Aug 17, 2024
afbf7b4
Include both minor and patch versions in workflows
korcankaraokcu Aug 17, 2024
19c1994
Add Documentation
korcankaraokcu Aug 18, 2024
498cf6f
Update screenshots
korcankaraokcu Aug 18, 2024
4d31d85
Update README.md
korcankaraokcu Aug 18, 2024
b0047aa
Update CONTRIBUTING.md
korcankaraokcu Aug 18, 2024
1f4e4d1
Add libegl1 dependency
korcankaraokcu Aug 22, 2024
4b9f674
Disable 'Show Float Registers' button while process is running
Sep 3, 2024
2fe921e
Remove redundant html text
korcankaraokcu Sep 4, 2024
3b42936
Add 32bits pointer support for pointer scanning
Sep 13, 2024
8548502
Added small feature to allow changing selected addresses by specified…
jaredballou Sep 19, 2024
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
48 changes: 48 additions & 0 deletions .github/workflows/build_docs.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,48 @@
name: Deploy Sphinx Docs to GitHub Pages

on:
push:
tags:
- "v*.*"
- "v*.*.*"
workflow_dispatch:

jobs:
deploy:
runs-on: ubuntu-latest

steps:
- name: Checkout repository
uses: actions/checkout@v3

- name: Set up Python
uses: actions/setup-python@v3
with:
python-version: '3.12'

- name: Install dependencies
run: |
sudo apt install libegl1 libgirepository1.0-dev
python3 -m venv .venv/PINCE
. .venv/PINCE/bin/activate
pip3 install --upgrade pip
pip3 install -r requirements.txt

- name: Install Sphinx
run: |
cd docs
./install_sphinx.sh

- name: Build docs
run: |
cd docs
./build_html.sh

- name: Deploy to GitHub Pages
uses: peaceiris/actions-gh-pages@v4
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
publish_dir: ./docs/build/html
publish_branch: gh-pages
force_orphan: true
keep_files: false
25 changes: 25 additions & 0 deletions .github/workflows/release_appimage.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
name: Release AppImage

on:
push:
tags:
- "v*.*"
- "v*.*.*"

jobs:
build:
runs-on: ubuntu-22.04
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Install Dependencies
run: sudo apt install libfuse2 libmpc-dev libmpfr-dev gmpc-dev appstream qt6-l10n-tools libcairo2-dev libgirepository1.0-dev patchelf
- name: Build
run: |
export ARCH=x86_64
./ci/package.sh
- name: Release
uses: softprops/action-gh-release@v2
with:
make_latest: true
files: ci/PINCE-x86_64.AppImage
9 changes: 8 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
@@ -1,10 +1,17 @@
__pycache__/
.idea/*
.vscode/*
libscanmem.so*
!.vscode/launch.json
!.vscode/settings.json
libpince/libscanmem/*
libpince/libptrscan/*
docs/build/*
*.directory
*.lprof
*.qm
*.py[cod]
*$py.class
gdb_pince/*
*.gnbs.conf
.venv/*
*.AppImage
6 changes: 3 additions & 3 deletions .gitmodules
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
[submodule "scanmem"]
path = scanmem
url = https://github.com/scanmem/scanmem.git
[submodule "libscanmem-PINCE"]
path = libscanmem-PINCE
url = https://github.com/brkzlr/libscanmem-PINCE
2 changes: 1 addition & 1 deletion .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ before_install:

- wget https://bootstrap.pypa.io/get-pip.py
- sudo python3 get-pip.py
- sudo pip3 install psutil pexpect distorm3 pygdbmi
- sudo pip3 install pexpect distorm3 pygdbmi

- sudo mv /usr/bin/lsb_release_masked /usr/bin/lsb_release

Expand Down
36 changes: 36 additions & 0 deletions .vimspector.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,36 @@
{
"configurations": {
"Debug PINCE": {
"adapter": "debugpy",
"default": true,
"variables": {
"Python": {
"shell": "/bin/sh -c 'if [ -z \"${dollar}VIRTUAL_ENV\" ]; then echo $$(which python3); else echo \"${dollar}VIRTUAL_ENV/bin/python\"; fi'"
}
},
"filetypes": [ "python" ],
"configuration": {
"name": "Debug PINCE",
"type": "python",
"request": "launch",
"cwd": "${workspaceFolder}",
"python": "$Python",
"stopOnEntry": false,
"justMyCode": false,
"sudo": true,
"console": "integratedTerminal",
"program": "${workspaceFolder}/PINCE.py",
"env": {
"PATH": "${PATH}"
}
},
"breakpoints": {
"exception": {
"uncaught": "Y",
"raised": "N",
"userUnhandled": "N"
}
}
}
}
}
20 changes: 20 additions & 0 deletions .vscode/launch.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
{
// Use IntelliSense to learn about possible attributes.
// Hover to view descriptions of existing attributes.
// For more information, visit: https://go.microsoft.com/fwlink/?linkid=830387
"version": "0.2.0",
"configurations": [
{
"name": "Debug PINCE",
"type": "python",
"request": "launch",
"cwd": "${workspaceFolder}",
"stopOnEntry": false,
"justMyCode": false,
"sudo": true,
"console": "integratedTerminal",
"program": "${workspaceFolder}/PINCE.py",
"python": "${workspaceFolder}/.venv/PINCE/bin/python3"
}
]
}
14 changes: 14 additions & 0 deletions .vscode/settings.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
{
"[python]": {
"diffEditor.ignoreTrimWhitespace": false,
"editor.formatOnType": true,
"editor.wordBasedSuggestions": "off",
"editor.defaultFormatter": "ms-python.black-formatter",
"editor.formatOnSave": true,
"editor.formatOnSaveTimeout": 2000
},
"black-formatter.args": [
"--line-length=120"
],
"editor.tabSize": 4
}
Loading