Ecosyste.ms: OpenCollective

An open API service for software projects hosted on Open Collective.

Headcrab

Creating a modern debugger library for Rust
Collective - Host: opensource - https://opencollective.com/headcrab - Website: https://headcrab-rs.github.io - Code: https://github.com/headcrab-rs

first pass at breakpoints on linux

github.com/headcrab-rs/headcrab - 8c312279440adc4d192a68ad7dc8c10dba435dd3 authored over 4 years ago by san <[email protected]>
Merge pull request #111 from bjorn3/virus

Inject code into the debugged process

github.com/headcrab-rs/headcrab - a052ba883fe2610efbe380d62f18bb08915b55e5 authored over 4 years ago by bjorn3 <[email protected]>
Disable inject* commands on non-Linux systems

github.com/headcrab-rs/headcrab - db8ef7af3f6b1a2e9559d0c45f204af32cf4e80f authored over 4 years ago by bjorn3 <[email protected]>
Update unpause & step functions

github.com/headcrab-rs/headcrab - 5b829ac73eadb17cb49e2c36bbf13071bfcbb784 authored over 4 years ago by san <[email protected]>
update the loop breakpoint test

github.com/headcrab-rs/headcrab - cbf74ddaa1cb8724f45583dcadfa10e88bbd5042 authored over 4 years ago by san <[email protected]>
Fix review comments

github.com/headcrab-rs/headcrab - 0970578c4d85891383199c935c4e2e99a72acc63 authored over 4 years ago by bjorn3 <[email protected]>
Only compile headcrab_inject on x86_64 Linux for now

github.com/headcrab-rs/headcrab - c857bafafeaa25d4fe65023e6a5ecef556d0d9f4 authored over 4 years ago by bjorn3 <[email protected]>
Set version number of headcrab_inject to the same as headcrab

github.com/headcrab-rs/headcrab - 99e1b75194452701ca59708cd648da35cbba39e0 authored over 4 years ago by bjorn3 <[email protected]>
Extract inject and inject_lib functions

github.com/headcrab-rs/headcrab - 93971ee48d603f17f7ce6b1d3a021cf98546ea45 authored over 4 years ago by bjorn3 <[email protected]>
Move actual execution out of headcrab_inject

github.com/headcrab-rs/headcrab - 5d4898a8274582304521e71baaf8b97609b12d8c authored over 4 years ago by bjorn3 <[email protected]>
Stack allocation helper

github.com/headcrab-rs/headcrab - b67a2d316778ac15949e20fa323ae70c8e45b612 authored over 4 years ago by bjorn3 <[email protected]>
Inject and run dylib

github.com/headcrab-rs/headcrab - 9a5add4e4223b12d101b5cace7c3333f3464a448 authored over 4 years ago by bjorn3 <[email protected]>
Use Context as argument for compile_clif_code

github.com/headcrab-rs/headcrab - 1bce02678c65ab6a82a0958f6d5e0bae3046bb66 authored over 4 years ago by bjorn3 <[email protected]>
Test code injection

github.com/headcrab-rs/headcrab - 8acc384847eae9c7ab69e2873b29f406d87af90e authored over 4 years ago by bjorn3 <[email protected]>
Load clif from file

github.com/headcrab-rs/headcrab - ebfe10ea6d27587a6aec2d1809775ccc48fdfd9d authored over 4 years ago by bjorn3 <[email protected]>
Less ad-hoc relocation handling in compile_clif_code

github.com/headcrab-rs/headcrab - 27090fefb0d26d4b1d61ebea721fc372139f6662 authored over 4 years ago by bjorn3 <[email protected]>
Remove debug println

github.com/headcrab-rs/headcrab - a5646771ad080524aac9513aaa3564f597ae195b authored over 4 years ago by bjorn3 <[email protected]>
Fix protection value in Memory::new_writable

github.com/headcrab-rs/headcrab - 97e2b0e9441e3a89cf4edbb8bb20f9d54c199464 authored over 4 years ago by bjorn3 <[email protected]>
Avoid SIGSEGV on return from injected code

github.com/headcrab-rs/headcrab - 9610c1f2e5cc8e1c03bc6381ef99c42c59b00177 authored over 4 years ago by bjorn3 <[email protected]>
Less hardcoding

github.com/headcrab-rs/headcrab - b0c53d8c340b58bb60ccbf9e33055d0122a63d6a authored over 4 years ago by bjorn3 <[email protected]>
Support multiple functions

github.com/headcrab-rs/headcrab - 9554e4449a7044cffad8fb35d710c12939ce65b3 authored over 4 years ago by bjorn3 <[email protected]>
Less debug printing

github.com/headcrab-rs/headcrab - 9abeae1de1c3d8bddb09067b1748d9504451a4ce authored over 4 years ago by bjorn3 <[email protected]>
Split inject_clif_code

github.com/headcrab-rs/headcrab - 2e6c1a0b274b3cca4131fa050ba0a9b3387013c0 authored over 4 years ago by bjorn3 <[email protected]>
Add memory map abstraction

github.com/headcrab-rs/headcrab - f8509f21fec6a252aab8ee13f7cd3357605a5f0a authored over 4 years ago by bjorn3 <[email protected]>
Introduce headcrab_inject

github.com/headcrab-rs/headcrab - c71009d3455e151ee4f93d3d2e1c14df1e9ffee1 authored over 4 years ago by bjorn3 <[email protected]>
Basic clif ir codegen

github.com/headcrab-rs/headcrab - d75defa2dc22c7bd9102ed8ed6430b07e66b1369 authored over 4 years ago by bjorn3 <[email protected]>
Change comments and visiblity

github.com/headcrab-rs/headcrab - 8c9f5927b91940de581458708e85479e38cd2c92 authored over 4 years ago by san <[email protected]>
Move single_step to UnixTarget impl

github.com/headcrab-rs/headcrab - 7227d3ed0abba2cf685878b7319328ff1f9e3330 authored over 4 years ago by san <[email protected]>
Rename {unregister,disable}_breakpoint

github.com/headcrab-rs/headcrab - 275dfcba33be308a1e8ccaf8e9150652074ba61f authored over 4 years ago by san <[email protected]>
change test_utils function name

github.com/headcrab-rs/headcrab - 29feaf88b783e943e75303faaff26ec57f673527 authored over 4 years ago by san <[email protected]>
Add breakpoint in a loop test

github.com/headcrab-rs/headcrab - 0d36e7ac26603fd9f5d4cbc46ea74022063efd44 authored over 4 years ago by san <[email protected]>
Reformat using `if let` binding

github.com/headcrab-rs/headcrab - f33fa6467897fe4df27ab10bcdeed2ebba45c3b3 authored over 4 years ago by san <[email protected]>
use waitpid & WaitStatus

github.com/headcrab-rs/headcrab - 75ed4856f5e197b9916958235a8424913a1db173 authored over 4 years ago by san <[email protected]>
Merge pull request #106 from bjorn3/repl_improvements

Add syntax highlighting and completion to repl

github.com/headcrab-rs/headcrab - 10f006f7b6bf30f66be95c140514f192c15b8b62 authored over 4 years ago by bjorn3 <[email protected]>
Add assertion on target's wait status in single_step test

github.com/headcrab-rs/headcrab - e339b760fdb2a1e5d54fdbcf882aa46b3225fc6e authored over 4 years ago by san <[email protected]>
Extend single_step & single_step test

This test should be hardened by creating helpers that allow getting the
list of instructions fro...

github.com/headcrab-rs/headcrab - ea679a2af0c2a25893939bde452dc6cbaaff8053 authored over 4 years ago by san <[email protected]>
Avoid Box<dyn Error> in repl_tools

github.com/headcrab-rs/headcrab - 2bdd7905f3548c9d1e4219ca6737239dd962d0db authored over 4 years ago by bjorn3 <[email protected]>
Use `impl AsRef<Path>` for LinuxTarget::launch

github.com/headcrab-rs/headcrab - d27ae3e0a46370e844a7d9c2664e313b21f392b4 authored over 4 years ago by bjorn3 <[email protected]>
Avoid Rc<Cell<bool>> for color setting

github.com/headcrab-rs/headcrab - ec24c0cd46604d94f3642afd86e16c3fb604edd7 authored over 4 years ago by bjorn3 <[email protected]>
Move all large command implementations to their own function

github.com/headcrab-rs/headcrab - 1604a0ce0ccd742561653817276010d5f6843abd authored over 4 years ago by bjorn3 <[email protected]>
Remove unnecessary comment

github.com/headcrab-rs/headcrab - 1a0a5aede763baa22dbf01984ec5c5306b6ceecb authored over 4 years ago by bjorn3 <[email protected]>
Error on unexpected command arguments in repl

github.com/headcrab-rs/headcrab - cf50f493e8a3bf38c09286bde66895529ca22d1f authored over 4 years ago by bjorn3 <[email protected]>
Fix _patch_breakpoint_function

github.com/headcrab-rs/headcrab - 64deb298b0fccf7a0b62cf6cee1f7b63e2eb4f45 authored over 4 years ago by bjorn3 <[email protected]>
Add --no-color argument to repl

github.com/headcrab-rs/headcrab - f4ab7b5e9e431021e8fecd5ac06c44cd70aadfca authored over 4 years ago by bjorn3 <[email protected]>
Replace ad-hoc command parsing in repl

github.com/headcrab-rs/headcrab - e10ebbca43983c651da103f4c1645884650fc178 authored over 4 years ago by bjorn3 <[email protected]>
Switch define_repl_cmds! over to HighlightAndComplete

github.com/headcrab-rs/headcrab - e90f0180c0afb17f5cca0af5a5c499c1c598992f authored over 4 years ago by bjorn3 <[email protected]>
Use custom trait

github.com/headcrab-rs/headcrab - 464867958afca71e1bdc80f9e5f4a2bf80f7a666 authored over 4 years ago by bjorn3 <[email protected]>
Add syntax highlighting and completion to repl

github.com/headcrab-rs/headcrab - 8cb1c23ab9c57c2dafc910803d63cde6474fa07c authored over 4 years ago by bjorn3 <[email protected]>
Changed breakpoint function names

github.com/headcrab-rs/headcrab - b748f8ab0dcd52bd2eb64a704fda7ddc8878a0eb authored over 4 years ago by san <[email protected]>
[WIP] Adding some more functionalities

github.com/headcrab-rs/headcrab - 7e98e0a7c914e665d7773b4221ae36b700794f1e authored over 4 years ago by san <[email protected]>
Update breakpoint api

github.com/headcrab-rs/headcrab - 73839f8c2826f463e03366e5f013a657d523a5f7 authored over 4 years ago by san <[email protected]>
Update breakpoint test

github.com/headcrab-rs/headcrab - 87eb0206e693fb20cf7dd8fb64950e5820a294ec authored over 4 years ago by san <[email protected]>
rename Breakpoint saved_instr field to shadow

github.com/headcrab-rs/headcrab - 32dccd90a57a60706048e5e3880723b18651c3df authored over 4 years ago by san <[email protected]>
Set breakpoint in repl example

github.com/headcrab-rs/headcrab - 69bb9376fc032baa02d26983b01fae0b835d826d authored over 4 years ago by san <[email protected]>
first pass at breakpoints on linux

github.com/headcrab-rs/headcrab - 3fc81e27482150a5e5ac5a461cf56c1b211a229c authored over 4 years ago by san <[email protected]>
Merge pull request #101 from nbaksalyar/add-readme-asciinema

Add a link to REPL demo recording to readme

github.com/headcrab-rs/headcrab - ab758ff2f5b7d719dfc4c87065d1d76ce720b9aa authored over 4 years ago by Nikita Baksalyar <[email protected]>
Add a link to REPL demo recording to readme

github.com/headcrab-rs/headcrab - 02c115c7cd01d557b66250fd69725983e9244e75 authored over 4 years ago by Nikita Baksalyar <[email protected]>
Merge pull request #95 from nbaksalyar/signal-sync

Use more robust IPC mechanism for WriteMem tests

github.com/headcrab-rs/headcrab - 7f85fcb889f94cd908ab54226594da28160c472c authored over 4 years ago by Nikita Baksalyar <[email protected]>
Fix writemem test failing with restricted ptrace mode

If ptrace_scope is set to 1, it runs in a restricted mode which makes
it more complicated to att...

github.com/headcrab-rs/headcrab - 57b230f85425fb2370cfc64aae07c9d2fffa54a8 authored over 4 years ago by Nikita Baksalyar <[email protected]>
Use more robust IPC mechanism

Use pipes instead of signals to synchronize child & parent processes in tests.

github.com/headcrab-rs/headcrab - d2a26e7b618ccfcd3491a619120ce7298b9ed2a4 authored over 4 years ago by Nikita Baksalyar <[email protected]>
Merge pull request #41 from nbaksalyar/writemem

Write memory

github.com/headcrab-rs/headcrab - 8222149a8b8b12069e6a9496fee258f8629296a0 authored over 4 years ago by bjorn3 <[email protected]>
Fix fork & lazy_static erroneous behaviour

lazy_static can fail if it's used in a forked process, so this commit uses
an explicit apply_ptr...

github.com/headcrab-rs/headcrab - 93cd4c1d595e136fa62bb586e524c60e72b56aca authored over 4 years ago by Nikita Baksalyar <[email protected]>
Address review comments - improve docs, API uniformity

- Reduce `linux::MemoryOp` visibility to `pub(crate)`
- Improve doc comments.
- Make macOS `Writ...

github.com/headcrab-rs/headcrab - 80c2ee8026c5fd0439182005b05183060cc96cef authored over 4 years ago by Nikita Baksalyar <[email protected]>
Add WriteMem test writing to protected pages

github.com/headcrab-rs/headcrab - 005bdf9959cc1613fd45e70d26ec3d187822fd41 authored over 4 years ago by Nikita Baksalyar <[email protected]>
Add `WriteMem::write_slice` function

- Add `LinuxTarget::write()`
- Also make `WriteMem::apply` safe as it operates only on the debug...

github.com/headcrab-rs/headcrab - 01545fafefbf42e4f4d4d231128ce77e93470885 authored over 4 years ago by Nikita Baksalyar <[email protected]>
Merge pull request #91 from DeltaManiac/repl-help

Add help to repl

github.com/headcrab-rs/headcrab - 51a03d505cc18438874ce8c384474945dbae745d authored over 4 years ago by Nikita Baksalyar <[email protected]>
Merge pull request #90 from nbaksalyar/improve-readme

Improve Readme

github.com/headcrab-rs/headcrab - 50a7ece50852132cbd1fb3c7dd54c9a83e04a609 authored over 4 years ago by Nikita Baksalyar <[email protected]>
Update repl.rs

github.com/headcrab-rs/headcrab - 63996a2262108eb2c0b2fbe30ced277f1eb238bc authored over 4 years ago by Harikrishnan Menon <[email protected]>
Update repl.rs

github.com/headcrab-rs/headcrab - 600cd16ed182b520cefc51e7bb0abcd213533cd0 authored over 4 years ago by Harikrishnan Menon <[email protected]>
Fix cargofmt

github.com/headcrab-rs/headcrab - 91349a91c6df63aaf801105f547aba794a2f87fe authored over 4 years ago by Harikrishnan Menon <[email protected]>
Add help to repl

github.com/headcrab-rs/headcrab - 6bad944751bdcaf32a1f7008ccd449d15655ec7c authored over 4 years ago by DeltaManiac <[email protected]>
Add a list of code contributors

github.com/headcrab-rs/headcrab - 0e5d056b2e790d9f76cba82b8fa79a64107bfddf authored over 4 years ago by Nikita Baksalyar <[email protected]>
Unify memory operations

Use a single type for both writing and reading memory instead of a trait.
This approach simplifi...

github.com/headcrab-rs/headcrab - ee64b1e51f60826b33930e6976f092ba53599a21 authored over 4 years ago by Nikita Baksalyar <[email protected]>
Split memory write operations on Linux

Memory write operations are split into those which are applicable
to memory pages which are writ...

github.com/headcrab-rs/headcrab - 0bae8e06c9278bf50120478a06139029c825eb37 authored over 4 years ago by Nikita Baksalyar <[email protected]>
Add private documentation

Co-authored-by: bjorn3 <[email protected]>

github.com/headcrab-rs/headcrab - 37308a54d5889d77e3755719d9d8881489c5b5e4 authored over 4 years ago by Nikita Baksalyar <[email protected]>
Add naive WriteMemory impl for macOS

github.com/headcrab-rs/headcrab - 6821c24e6721f905dd7cee8681799e26c0b162bb authored over 4 years ago by Nikita Baksalyar <[email protected]>
Address code review points

- Use ptr::read_volatile for volatile read operations
- Simpler capacity calc expression

Co-aut...

github.com/headcrab-rs/headcrab - 1e19c33fed64fa71c3e56b8ae17a226b7282d6db authored over 4 years ago by Nikita Baksalyar <[email protected]>
Move target::macos::ReadMemory into separate module

github.com/headcrab-rs/headcrab - 446e7c2419937a476337bf5f29716559195a65d3 authored over 4 years ago by Nikita Baksalyar <[email protected]>
Apply suggestions from code review

- Use immutable ref for lifetime invariance in WriteMemory
- Allow to pass slices to write

Co...

github.com/headcrab-rs/headcrab - 144d89d5a762d4987b834dd0e404537aa5cfb915 authored over 4 years ago by Nikita Baksalyar <[email protected]>
Implement ptrace memory writer for Linux targets

github.com/headcrab-rs/headcrab - dab293cb609fc2fc2d8ef155ebfe5919be2a4720 authored over 4 years ago by Nikita Baksalyar <[email protected]>
Implement basic memory write routines

github.com/headcrab-rs/headcrab - 4ca05a1787fc325980a68106a662acf6eccc36ad authored over 4 years ago by Nikita Baksalyar <[email protected]>
Improve Readme

github.com/headcrab-rs/headcrab - c3c2ddcc5243bc73eeb6818315da00d3b6464cbf authored over 4 years ago by Nikita Baksalyar <[email protected]>
Merge pull request #85 from fabiim/list-threads-osx

Get a thread list from an OSX task

github.com/headcrab-rs/headcrab - f1fe924332e06faa4a32cec12a7c2298907ba932 authored over 4 years ago by Nikita Baksalyar <[email protected]>
Make return declarative

Co-authored-by: bjorn3 <[email protected]>

github.com/headcrab-rs/headcrab - 1a960c22f176363f74fbb96b5b6f6cf1a9b5a4ee authored over 4 years ago by Fábio Botelho <[email protected]>
Stop hiding thread name errors

github.com/headcrab-rs/headcrab - 33b663717b7a195ebaa35260b78066cbfb4b4d45 authored over 4 years ago by Fábio Botelho <[email protected]>
Make code clearer

Co-authored-by: bjorn3 <[email protected]>

github.com/headcrab-rs/headcrab - 2e4d5967393abe11ac17ae4635829cda750bc877 authored over 4 years ago by Fábio Botelho <[email protected]>
Add result to error message

Co-authored-by: bjorn3 <[email protected]>

github.com/headcrab-rs/headcrab - b8f0c47ee84ce920f903628a5ca890e572ac79ea authored over 4 years ago by Fábio Botelho <[email protected]>
Merge branch 'master' into list-threads-osx

github.com/headcrab-rs/headcrab - c810940d4781554643feb3e590d05af7a61fefab authored over 4 years ago by Fábio Botelho <[email protected]>
Get a thread list from an OSX task

- Using the thread port as the id because we will need it to
control the thread (as in delve [1]...

github.com/headcrab-rs/headcrab - 7800cc06eefbac8087574db31af976c507f9ec07 authored over 4 years ago by Fábio Botelho <[email protected]>
Merge pull request #68 from hunger/no_modrs

Avoid lots of mod.rs files

github.com/headcrab-rs/headcrab - 21694fe7177763b4fb7499400c97a01d7a384fcc authored over 4 years ago by Nikita Baksalyar <[email protected]>
Document preference of module_name.rs over module_name/mod.rs

github.com/headcrab-rs/headcrab - f489c2fb34a54e4759b244f873ee8b38007b3c48 authored over 4 years ago by Tobias Hunger <[email protected]>
Avoid lots of mod.rs files

Use the module_name.rs name over module_name/mod.rs as that is nicer
to handle while editing.

github.com/headcrab-rs/headcrab - 2206403cea289d0a04c25bf01c5b0b21bc17cf33 authored over 4 years ago by Tobias Hunger <[email protected]>
Merge pull request #84 from bjorn3/dwarf_locals

Show local values

github.com/headcrab-rs/headcrab - 4eab92902f95701fd179dc120c5250171e28f29a authored over 4 years ago by Nikita Baksalyar <[email protected]>
Fix test compilation on non-linux systems

github.com/headcrab-rs/headcrab - 4a6c2665af6378ff826761ac41d3904f756aca40 authored over 4 years ago by bjorn3 <[email protected]>
Support more x86_64 registers

github.com/headcrab-rs/headcrab - 3ece239bb816b6b9f35cc421bf24c4526f87928e authored over 4 years ago by bjorn3 <[email protected]>