CptGibbon
1c3e9507aa
Remove vscode personalization from devcontainer ( #2602 )
1 year ago
jetchirag
3ecca0fc1e
Basic jemalloc command for printing arenas info with bin ( #2176 )
...
* Basic jemalloc arenas info command
Signed-off-by: Chirag Aggarwal <thechiragaggarwal@gmail.com>
* linter
Signed-off-by: Chirag Aggarwal <thechiragaggarwal@gmail.com>
* Hex address
Signed-off-by: Chirag Aggarwal <thechiragaggarwal@gmail.com>
* Added jemalloc to dev setup script and WIP code foor rtree parsing
Signed-off-by: Chirag Aggarwal <thechiragaggarwal@gmail.com>
* Lint changes
Signed-off-by: Chirag Aggarwal <thechiragaggarwal@gmail.com>
* Lint changes 2
Signed-off-by: Chirag Aggarwal <thechiragaggarwal@gmail.com>
* Removed old commands, added jemalloc related class to generate bins and extent data
Signed-off-by: Chirag Aggarwal <thechiragaggarwal@gmail.com>
* Added RTree class
Signed-off-by: Chirag Aggarwal <thechiragaggarwal@gmail.com>
* Uncommented print lines for testing
Signed-off-by: Chirag Aggarwal <thechiragaggarwal@gmail.com>
* Added mask function from jemalloc
Signed-off-by: Chirag Aggarwal <thechiragaggarwal@gmail.com>
* Added heap command
Signed-off-by: Chirag Aggarwal <thechiragaggarwal@gmail.com>
* First jemalloc test - experiment
Signed-off-by: Chirag Aggarwal <thechiragaggarwal@gmail.com>
* some refactoring and tests
Signed-off-by: Chirag Aggarwal <thechiragaggarwal@gmail.com>
* utilizing debugger-agnostic functions
Signed-off-by: Chirag Aggarwal <thechiragaggarwal@gmail.com>
* use new api where possible
Signed-off-by: Chirag Aggarwal <thechiragaggarwal@gmail.com>
* Test run pre mypy fixes
Signed-off-by: Chirag Aggarwal <thechiragaggarwal@gmail.com>
* minor fix for makefile
Signed-off-by: Chirag Aggarwal <thechiragaggarwal@gmail.com>
* Use regex match for address in test find extent
Signed-off-by: Chirag Aggarwal <thechiragaggarwal@gmail.com>
* minor test change with lowered allocated memory
Signed-off-by: Chirag Aggarwal <thechiragaggarwal@gmail.com>
* Don't hardcode address for ptr in test
Signed-off-by: Chirag Aggarwal <thechiragaggarwal@gmail.com>
* Fix ptr not in breakpoint in test
Signed-off-by: Chirag Aggarwal <thechiragaggarwal@gmail.com>
* Cache oblivious adds 4KiB to allocations
Signed-off-by: Chirag Aggarwal <thechiragaggarwal@gmail.com>
* Corrected size in test
Signed-off-by: Chirag Aggarwal <thechiragaggarwal@gmail.com>
* Remove duplicate extents while parsing rtree
Signed-off-by: Chirag Aggarwal <thechiragaggarwal@gmail.com>
* Skip heap test
Signed-off-by: Chirag Aggarwal <thechiragaggarwal@gmail.com>
* More explanation
Signed-off-by: Chirag Aggarwal <thechiragaggarwal@gmail.com>
* Added State name to extent info
Signed-off-by: Chirag Aggarwal <thechiragaggarwal@gmail.com>
* Added more comments
Signed-off-by: Chirag Aggarwal <thechiragaggarwal@gmail.com>
* Details about the lookup function
Signed-off-by: Chirag Aggarwal <thechiragaggarwal@gmail.com>
* Fixed double printing issue and some extents missing in heap
Signed-off-by: Chirag Aggarwal <thechiragaggarwal@gmail.com>
* Add check for addr alignment in lookup hard
Signed-off-by: Chirag Aggarwal <thechiragaggarwal@gmail.com>
* Removed prints for testing
Signed-off-by: Chirag Aggarwal <thechiragaggarwal@gmail.com>
* Update .devcontainer/devcontainer.json
* Move jemalloc.py aglib/heap/jemalloc.py
* Update test_heap.py: fix jemalloc support string
* Update jemalloc.py: fix mypy issues
---------
Signed-off-by: Chirag Aggarwal <thechiragaggarwal@gmail.com>
Co-authored-by: Disconnect3d <dominik.b.czarnota@gmail.com>
1 year ago
CptGibbon
c2ace79eac
Use ruff as the default Python formatter in devcontainer.json ( #2148 )
...
* Set default devcontainer formatter to ruff
Update devcontainer.json to use charliermarsh.ruff as the default formatter.
This should bring the devcontainer environment in line with the CI-enforced formatting & linting.
* Remove black & pylint extensions from devcontainer.json
The black & pylint extensions are no longer used, ruff is now responsible for formatting and linting.
* Set source.organizeImports to "explicit"
The previous setting of true is deprecated
* Remove tool.black from pyproject.toml
* Remove tool.pylint from pyproject.toml
* Don't let ruff organize imports
Leave it to isort
2 years ago
HackSys Team
7d0cf3933a
Update DevContainer Configuration for Enhanced Development Experience ( #1964 )
...
* FIX: Upgraded devcontainer image to bookworm and added some useful extensions
* FIX: use ubuntu jammy image and add .gdbinit file in docker container user home folder not root
* FIX: Switch to root users as other tests are failing with permission denied
* FIX: update devcontainer file to remove unnecessary extensions, and unused dot files as we removed the extensions
* FIX: only add the .gdbinit file if it does not exists
* FIX: minor change
* Update Dockerfile
* Update .devcontainer/devcontainer.json
---------
Co-authored-by: Disconnect3d <dominik.b.czarnota@gmail.com>
2 years ago
Tobias Faller
2616e7085c
Updated permissions for Docker container
4 years ago
Tobias Faller
1cc12ad161
Added devcontainer configuration for VS Code to directly develop inside Docker container
4 years ago