Ecosyste.ms: OpenCollective

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

github.com/headcrab-rs/headcrab

A modern Rust debugging library 🦀
https://github.com/headcrab-rs/headcrab

first pass at breakpoints on linux

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

Inject code into the debugged process

a052ba883fe2610efbe380d62f18bb08915b55e5 authored over 4 years ago by bjorn3 <[email protected]>
Disable inject* commands on non-Linux systems

db8ef7af3f6b1a2e9559d0c45f204af32cf4e80f authored over 4 years ago by bjorn3 <[email protected]>
Update unpause & step functions

5b829ac73eadb17cb49e2c36bbf13071bfcbb784 authored over 4 years ago by san <[email protected]>
update the loop breakpoint test

cbf74ddaa1cb8724f45583dcadfa10e88bbd5042 authored over 4 years ago by san <[email protected]>
Fix review comments

0970578c4d85891383199c935c4e2e99a72acc63 authored over 4 years ago by bjorn3 <[email protected]>
Only compile headcrab_inject on x86_64 Linux for now

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

99e1b75194452701ca59708cd648da35cbba39e0 authored over 4 years ago by bjorn3 <[email protected]>
Add fixme

5e0c10dece0fb4d515fb21e84ef7c67daea85815 authored over 4 years ago by bjorn3 <[email protected]>
Extract inject and inject_lib functions

93971ee48d603f17f7ce6b1d3a021cf98546ea45 authored over 4 years ago by bjorn3 <[email protected]>
Move actual execution out of headcrab_inject

5d4898a8274582304521e71baaf8b97609b12d8c authored over 4 years ago by bjorn3 <[email protected]>
Stack allocation helper

b67a2d316778ac15949e20fa323ae70c8e45b612 authored over 4 years ago by bjorn3 <[email protected]>
Inject and run dylib

9a5add4e4223b12d101b5cace7c3333f3464a448 authored over 4 years ago by bjorn3 <[email protected]>
Use Context as argument for compile_clif_code

1bce02678c65ab6a82a0958f6d5e0bae3046bb66 authored over 4 years ago by bjorn3 <[email protected]>
Test code injection

8acc384847eae9c7ab69e2873b29f406d87af90e authored over 4 years ago by bjorn3 <[email protected]>
Load clif from file

ebfe10ea6d27587a6aec2d1809775ccc48fdfd9d authored over 4 years ago by bjorn3 <[email protected]>
Less ad-hoc relocation handling in compile_clif_code

27090fefb0d26d4b1d61ebea721fc372139f6662 authored over 4 years ago by bjorn3 <[email protected]>
Remove debug println

a5646771ad080524aac9513aaa3564f597ae195b authored over 4 years ago by bjorn3 <[email protected]>
Fix protection value in Memory::new_writable

97e2b0e9441e3a89cf4edbb8bb20f9d54c199464 authored over 4 years ago by bjorn3 <[email protected]>
Avoid SIGSEGV on return from injected code

9610c1f2e5cc8e1c03bc6381ef99c42c59b00177 authored over 4 years ago by bjorn3 <[email protected]>
Less hardcoding

b0c53d8c340b58bb60ccbf9e33055d0122a63d6a authored over 4 years ago by bjorn3 <[email protected]>
Support multiple functions

9554e4449a7044cffad8fb35d710c12939ce65b3 authored over 4 years ago by bjorn3 <[email protected]>
Less debug printing

9abeae1de1c3d8bddb09067b1748d9504451a4ce authored over 4 years ago by bjorn3 <[email protected]>
Split inject_clif_code

2e6c1a0b274b3cca4131fa050ba0a9b3387013c0 authored over 4 years ago by bjorn3 <[email protected]>
Add memory map abstraction

f8509f21fec6a252aab8ee13f7cd3357605a5f0a authored over 4 years ago by bjorn3 <[email protected]>
Introduce headcrab_inject

c71009d3455e151ee4f93d3d2e1c14df1e9ffee1 authored over 4 years ago by bjorn3 <[email protected]>
Basic clif ir codegen

d75defa2dc22c7bd9102ed8ed6430b07e66b1369 authored over 4 years ago by bjorn3 <[email protected]>
Change comments and visiblity

8c9f5927b91940de581458708e85479e38cd2c92 authored over 4 years ago by san <[email protected]>
Move single_step to UnixTarget impl

7227d3ed0abba2cf685878b7319328ff1f9e3330 authored over 4 years ago by san <[email protected]>
Rename {unregister,disable}_breakpoint

275dfcba33be308a1e8ccaf8e9150652074ba61f authored over 4 years ago by san <[email protected]>
change test_utils function name

29feaf88b783e943e75303faaff26ec57f673527 authored over 4 years ago by san <[email protected]>
Add breakpoint in a loop test

0d36e7ac26603fd9f5d4cbc46ea74022063efd44 authored over 4 years ago by san <[email protected]>
Reformat using `if let` binding

f33fa6467897fe4df27ab10bcdeed2ebba45c3b3 authored over 4 years ago by san <[email protected]>
use waitpid & WaitStatus

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

10f006f7b6bf30f66be95c140514f192c15b8b62 authored over 4 years ago by bjorn3 <[email protected]>
Add assertion on target's wait status in single_step test

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...

ea679a2af0c2a25893939bde452dc6cbaaff8053 authored over 4 years ago by san <[email protected]>
Avoid Box<dyn Error> in repl_tools

2bdd7905f3548c9d1e4219ca6737239dd962d0db authored over 4 years ago by bjorn3 <[email protected]>
Use `impl AsRef<Path>` for LinuxTarget::launch

d27ae3e0a46370e844a7d9c2664e313b21f392b4 authored over 4 years ago by bjorn3 <[email protected]>
Avoid Rc<Cell<bool>> for color setting

ec24c0cd46604d94f3642afd86e16c3fb604edd7 authored over 4 years ago by bjorn3 <[email protected]>
Move all large command implementations to their own function

1604a0ce0ccd742561653817276010d5f6843abd authored over 4 years ago by bjorn3 <[email protected]>
Remove unnecessary comment

1a0a5aede763baa22dbf01984ec5c5306b6ceecb authored over 4 years ago by bjorn3 <[email protected]>
Error on unexpected command arguments in repl

cf50f493e8a3bf38c09286bde66895529ca22d1f authored over 4 years ago by bjorn3 <[email protected]>
Fix _patch_breakpoint_function

64deb298b0fccf7a0b62cf6cee1f7b63e2eb4f45 authored over 4 years ago by bjorn3 <[email protected]>
Rustfmt

e2ce138f93db15bba83a3c8234c400a9b91cad34 authored over 4 years ago by bjorn3 <[email protected]>
Add --no-color argument to repl

f4ab7b5e9e431021e8fecd5ac06c44cd70aadfca authored over 4 years ago by bjorn3 <[email protected]>
Replace ad-hoc command parsing in repl

e10ebbca43983c651da103f4c1645884650fc178 authored over 4 years ago by bjorn3 <[email protected]>
Switch define_repl_cmds! over to HighlightAndComplete

e90f0180c0afb17f5cca0af5a5c499c1c598992f authored over 4 years ago by bjorn3 <[email protected]>
Use custom trait

464867958afca71e1bdc80f9e5f4a2bf80f7a666 authored over 4 years ago by bjorn3 <[email protected]>
Add syntax highlighting and completion to repl

8cb1c23ab9c57c2dafc910803d63cde6474fa07c authored over 4 years ago by bjorn3 <[email protected]>
Add single step

228bdab83e3d4ec48cba07c1fb69b369811a30c1 authored over 4 years ago by san <[email protected]>
Changed breakpoint function names

b748f8ab0dcd52bd2eb64a704fda7ddc8878a0eb authored over 4 years ago by san <[email protected]>
[WIP] Adding some more functionalities

7e98e0a7c914e665d7773b4221ae36b700794f1e authored over 4 years ago by san <[email protected]>
Update breakpoint api

73839f8c2826f463e03366e5f013a657d523a5f7 authored over 4 years ago by san <[email protected]>
Add some context

7b434dc05752fa39a81a5df94ba2a679be96809a authored over 4 years ago by san <[email protected]>
Update breakpoint test

87eb0206e693fb20cf7dd8fb64950e5820a294ec authored over 4 years ago by san <[email protected]>
rename Breakpoint saved_instr field to shadow

32dccd90a57a60706048e5e3880723b18651c3df authored over 4 years ago by san <[email protected]>
run cargo fmt

f7944de52e0638712606cfed803240ae0d63bf2f authored over 4 years ago by san <[email protected]>
Set breakpoint in repl example

69bb9376fc032baa02d26983b01fae0b835d826d authored over 4 years ago by san <[email protected]>
first pass at breakpoints on linux

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

ab758ff2f5b7d719dfc4c87065d1d76ce720b9aa authored over 4 years ago by Nikita Baksalyar <[email protected]>
Add a link to REPL demo recording to readme

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

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...

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.

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

Write memory

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...

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...

80c2ee8026c5fd0439182005b05183060cc96cef authored over 4 years ago by Nikita Baksalyar <[email protected]>
Add WriteMem test writing to protected pages

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...

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

Add help to repl

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

Improve Readme

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

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

600cd16ed182b520cefc51e7bb0abcd213533cd0 authored over 4 years ago by Harikrishnan Menon <[email protected]>
Fix cargofmt

91349a91c6df63aaf801105f547aba794a2f87fe authored over 4 years ago by Harikrishnan Menon <[email protected]>
Add help to repl

6bad944751bdcaf32a1f7008ccd449d15655ec7c authored over 4 years ago by DeltaManiac <[email protected]>
Add a list of code contributors

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...

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...

0bae8e06c9278bf50120478a06139029c825eb37 authored over 4 years ago by Nikita Baksalyar <[email protected]>
Add private documentation

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

37308a54d5889d77e3755719d9d8881489c5b5e4 authored over 4 years ago by Nikita Baksalyar <[email protected]>
Add naive WriteMemory impl for macOS

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...

1e19c33fed64fa71c3e56b8ae17a226b7282d6db authored over 4 years ago by Nikita Baksalyar <[email protected]>
Move target::macos::ReadMemory into separate module

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...

144d89d5a762d4987b834dd0e404537aa5cfb915 authored over 4 years ago by Nikita Baksalyar <[email protected]>
Implement ptrace memory writer for Linux targets

dab293cb609fc2fc2d8ef155ebfe5919be2a4720 authored over 4 years ago by Nikita Baksalyar <[email protected]>
Implement basic memory write routines

4ca05a1787fc325980a68106a662acf6eccc36ad authored over 4 years ago by Nikita Baksalyar <[email protected]>
Improve Readme

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

f1fe924332e06faa4a32cec12a7c2298907ba932 authored over 4 years ago by Nikita Baksalyar <[email protected]>
Make return declarative

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

1a960c22f176363f74fbb96b5b6f6cf1a9b5a4ee authored over 4 years ago by Fábio Botelho <[email protected]>
Stop hiding thread name errors

33b663717b7a195ebaa35260b78066cbfb4b4d45 authored over 4 years ago by Fábio Botelho <[email protected]>
Make code clearer

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

2e4d5967393abe11ac17ae4635829cda750bc877 authored over 4 years ago by Fábio Botelho <[email protected]>
Add result to error message

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

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

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]...

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

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

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.

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

Show local values

4eab92902f95701fd179dc120c5250171e28f29a authored over 4 years ago by Nikita Baksalyar <[email protected]>
Fix test compilation on non-linux systems

4a6c2665af6378ff826761ac41d3904f756aca40 authored over 4 years ago by bjorn3 <[email protected]>
Support more x86_64 registers

3ece239bb816b6b9f35cc421bf24c4526f87928e authored over 4 years ago by bjorn3 <[email protected]>