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

Merge branch 'master' into detach_kill

09d86f847efb068133a77fe7bd9abf84dfad3f1e authored over 4 years ago by Jakub Jendryka <[email protected]>
Changed repl example to not kill on exit

121ebaecbde31bdd9cefd99e93f477a9fb1cf5b6 authored over 4 years ago by Jakub Jendryka <[email protected]>
Merge pull request #47 from fabiim/list-threads

Get a list of threads from Linux debuggee

9a15ae176c2c11591e8257f41198f8a28f9c83a7 authored over 4 years ago by Nikita Baksalyar <[email protected]>
Merge branch 'master' into list-threads

acdcc6c1622907b92ca202c19204667fde1acbf3 authored over 4 years ago by Fábio Botelho <[email protected]>
Retrieve the most recent name from thread

Keeping the task to retrieve the name forces us to change the API to
be a bit more complex but i...

929613ac49011112e68096ac131c52f61cefe27d authored over 4 years ago by Fábio Botelho <[email protected]>
Fix merge

08e344edd808281ec7bec0f7dbdc7b87da81389f authored over 4 years ago by Jakub Jendryka <[email protected]>
Add attach options

87c68378842d20ae16544cb775585429f3e77a9f authored over 4 years ago by Jakub Jendryka <[email protected]>
Merge pull request #52 from JJendryka/ptrace_read_fallback

Correct behavior for reading memory on linux

371e1b3939ade9328cd53b219321c851bf195893 authored over 4 years ago by Nikita Baksalyar <[email protected]>
Merge branch 'master' into list-threads

0b76f15adbccc7fd0ad1ed46a722b1763f60bfaf authored over 4 years ago by Fábio Botelho <[email protected]>
Add lazy_static for PAGE_SIZE

d5390a31d06b21a046ea9660cfe6b417eab75e3e authored over 4 years ago by Jakub Jendryka <[email protected]>
Merge pull request #62 from JJendryka/ptrace_exit

Kill debugee on debugger exit

34ac757330fc93b64556dbf66dc8cba41c9a9eb1 authored over 4 years ago by Nikita Baksalyar <[email protected]>
Moved kill_on_exit from unix to linux

e71380e54153d500dbd3315782e1356631d3d8be authored over 4 years ago by Jakub Jendryka <[email protected]>
Kill debugee on exit

eeabedf6b55a4a9706a1019cdf418ef387ce59ec authored over 4 years ago by Jakub Jendryka <[email protected]>
Implement code review suggestions

9b75deeaa1f9e3da0bb92958abe157e7baac921d authored over 4 years ago by Jakub Jendryka <[email protected]>
Moved ptrace::read from unix to linux

fd0a2b1b8b721451981eeb4d9bb79088963dc896 authored over 4 years ago by Jakub Jendryka <[email protected]>
Change memory map reading

67521edc57be6e546e7ffd7d9076982e38fcb010 authored over 4 years ago by Jakub Jendryka <[email protected]>
Fix readmem tests and reading protected memory

e6f4968d12f67873126c76755c5195e064d6b1c7 authored over 4 years ago by Jakub Jendryka <[email protected]>
Implement PTRACE_PEEKTEXT fallback

bb0a7fcc0784bdb1b21051d9c5eddb83e23503ff authored over 4 years ago by Jakub Jendryka <[email protected]>
Memory reading code cleanup

451d9738bd0a4db504e3b85f5045d76e0b324369 authored over 4 years ago by Jakub Jendryka <[email protected]>
Correct behavior when reading cross page boundaries

9570c090a59883a75c88a4ed23d177644c4270ca authored over 4 years ago by Jakub Jendryka <[email protected]>
Fix reading data smaller than 8 bytes

dd3733b7c51d745030495409aff5d8b905eeb4cb authored over 4 years ago by Jakub Jendryka <[email protected]>
Merge pull request #58 from bjorn3/step_and_wait

More execution commands and use waitpid where sensible

53d1867cc4ad994c54b60e387fbef1f6b47e9685 authored over 4 years ago by Nikita Baksalyar <[email protected]>
Fix nit

Co-authored-by: Nikita Baksalyar <[email protected]>

e266a3068937edb91be4f3e06aff49bce99b875f authored over 4 years ago by bjorn3 <[email protected]>
More execution commands and use waitpid where sensible

0b2b13b2e3ac3d7eaed5852079ef2071af582672 authored over 4 years ago by bjorn3 <[email protected]>
Stop retrying when incomplete

It does not make much sense.
Threads come and go, we don't have any consistency guarantees when ...

1da2a2d029e800b9bef95feb5314fd42e57a93c9 authored over 4 years ago by Fábio Botelho <[email protected]>
Ignore tasks not found

Some tasks might not be there between getting them from the iterator
and actually trying to read...

1a0b66c7eba2c9d76843889362a25b3b3f4c4720 authored over 4 years ago by Fábio Botelho <[email protected]>
Fix bad merge conflict resolution

- Banged the thread change
- Had duplicate procfs entries

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

51ed53c3d1bff92ff03bc12788984438b2652c1c authored over 4 years ago by Fábio Botelho <[email protected]>
Handle pie executables on Linux (#59)

* Handle pie executables

* Add ADDR_NO_RANDOMIZE const

Co-authored-by: Nikita Baksalyar <n...

504791ad6174b386fb77a5322d22a08786252b1e authored over 4 years ago by bjorn3 <[email protected]>
Merge branch 'master' into list-threads

9012e7aee1ec67f625d345f5ed4c0d1c0a580d8a authored over 4 years ago by Fábio Botelho <[email protected]>
Use the environment to get number of threads

Note that is inconsistent:
https://github.com/rust-lang/rust/issues/74845

771f7072a518769f8d64a1503f350cd1a3cf0153 authored over 4 years ago by Fábio Botelho <[email protected]>
Fix suggestion commit error

The aplly suggestion did remove the previous code?

65a29a7469d19596487c73efd920d97624d99b4d authored over 4 years ago by Fábio Botelho <[email protected]>
Use Into<String>

Makes API more flexible.

Co-authored-by: Nikita Baksalyar <[email protected]>

0471ff8f59601bb398b353eb5d3a7022638c5f51 authored over 4 years ago by Fábio Botelho <[email protected]>
Merge pull request #57 from bjorn3/repl_example

Add a simple repl example

c1312cacbbf2b44e9f68a2a5377d99cfbdee1480 authored over 4 years ago by bjorn3 <[email protected]>
Disable repl example on OSes other than Linux

125993d6509759d8a646f775a592b0a1fe2f0bee authored over 4 years ago by bjorn3 <[email protected]>
Merge pull request #56 from bjorn3/remote_syscall

Perform syscall in debuggee on Linux

e71e164805c9bfdcd00c29e7f53a36bde3caea90 authored over 4 years ago by Nikita Baksalyar <[email protected]>
Add a simple repl example

917bb46a741f631af541aa3de39a48a087091533 authored over 4 years ago by bjorn3 <[email protected]>
Fix execv arguments

475d2758866a5d72252d7da422bd45f21c50995a authored over 4 years ago by bjorn3 <[email protected]>
Perform syscall in debuggee

17551c9359bc31459bd38bd3f8616520d5d60c7c authored over 4 years ago by bjorn3 <[email protected]>
Merge branch 'list-threads' of github.com:fabiim/headcrab into list-threads

ed6215d3900b1abf2ddfb31968527f3824af8405 authored over 4 years ago by Fábio Botelho <[email protected]>
Make method public

And remove silly dead code supression :D

f1ce89696638bcfcafed00c2eeb08533dd30f0b6 authored over 4 years ago by Fábio Botelho <[email protected]>
Use i32 as thread id type

It's the original type in the kernel.

3e4f9b39e1f0156ecf93961acfac92877d11d27c authored over 4 years ago by Fábio Botelho <[email protected]>
Supress warning on threads

Adding to supress warning until it's used on a integration test or by
something else.

9af14554de1e9d5a86836c5b2afee463ac824650 authored over 4 years ago by Fábio Botelho <[email protected]>
Fix threads test

- Was printing the wrong message.
- Was not waiting for the thread to start before retrieving th...

009d9c0cb1fb5d022e3adbd2631a103c324e9ec0 authored over 4 years ago by Fábio Botelho <[email protected]>
Move threads to LinuxTarget only

That is the only place it's being used.

da9e7917acb2c63bb5ae9b984ee8eb9839f2fb2f authored over 4 years ago by Fábio Botelho <[email protected]>
Improve comments

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

370ebaed3d997485e80adacc2363a762be5b87f5 authored over 4 years ago by Fábio Botelho <[email protected]>
Add trailing newline

dc4d5494f9db3cbe7d8b5c9c45354e81d411fc29 authored over 4 years ago by Fábio Botelho <[email protected]>
Move location of Linux dependencies

f0ee9be0f0bdddb644e4e4b1843b84efa539c4d9 authored over 4 years ago by Fábio Botelho <[email protected]>
Compile procfs only on linux

Fails to compile on OSX. It's not needed there anywhere, so this is
better.

8614be86762d1578f651f3b3973629e02569e14a authored over 4 years ago by Fábio Botelho <[email protected]>
Get a list of threads from Linux debuggee

- introduces a Thread struct
- retrieves a list of threads in linux

Notes:

- I decided to us...

dc3246a8419623132ac067dd70234670549c7e04 authored over 4 years ago by Fábio Botelho <[email protected]>
Merge pull request #46 from bjorn3/resolve_symbols

Resolve symbols

4c70439e4cb936b094209e87976fa712b1dbc1b5 authored over 4 years ago by Nikita Baksalyar <[email protected]>
Merge pull request #49 from JJendryka/readmem_tests

Readmem tests

b16812ba50a118a982beda559e57150911764156 authored over 4 years ago by Nikita Baksalyar <[email protected]>
Apply sugestions from code review

62c2b777be52909bc8db81ce85638a3deca45ea6 authored over 4 years ago by Jakub Jendryka <[email protected]>
Remove rental usage

d800eb9c99499ee4e1c39fccd41069ee62eefa19 authored over 4 years ago by bjorn3 <[email protected]>
Make protected memory read fail expected

d11baacb48e0097fdadc90041d7effd35556ad55 authored over 4 years ago by Jakub Jendryka <[email protected]>
Test for reading page protected memory

ed6e8aa2b998f59fbbd599e95b9d1ab7668a4a0a authored over 4 years ago by Jakub Jendryka <[email protected]>
Merge pull request #43 from JJendryka/linux_attach

Attach to process on linux

dea8c0dc3d2f1c6fbdb844c56f8793215ef8ceab authored over 4 years ago by Nikita Baksalyar <[email protected]>
Fix test name

ffcbd9e6f1fa48b97f56ee598788b44ea090d06d authored over 4 years ago by bjorn3 <[email protected]>
Extract ParsedDwarf::new method

28f753838a85dfe829815433cc33ac205ff3b3d2 authored over 4 years ago by bjorn3 <[email protected]>
Remove unused imports

041dfd359ea4f53515142b31b36236c79092c53c authored over 4 years ago by Jakub Jendryka <[email protected]>
Fix race condition

9061acadf600f3dfb361af5dbe807f7aca6506b6 authored over 4 years ago by Jakub Jendryka <[email protected]>
Add test for attach on Linux

85b7116a28632fac3d309dbba3a7af5899c781f6 authored over 4 years ago by Jakub Jendryka <[email protected]>
Resolve symbols

6f34c37efbbdfb5b4effd2d7f3e3725aa79f8764 authored over 4 years ago by bjorn3 <[email protected]>
Merge pull request #45 from DeltaManiac/patch-1

* Removed FreeBSD 10,11 from CI

* Update README.md (add FreeBSD CI badge)

f5415903eb974e572f55467ce982ec1d9e587db4 authored over 4 years ago by Nikita Baksalyar <[email protected]>
Update README.md

492b7d2dda463a0b62f81ec040b3581b44e80cba authored over 4 years ago by Harikrishnan Menon <[email protected]>
Update README.md

5064efbd5ac1d02fd4a79276a40be036e9831019 authored over 4 years ago by Harikrishnan Menon <[email protected]>
Removed FreeBSD 10,11

232ee13c82d97eabfa64387943d8766b2f2cc0a9 authored over 4 years ago by Harikrishnan Menon <[email protected]>
Attach to process on linux

99b9314404ba230c62674153bf3774b17f5ecbae authored over 4 years ago by Jakub Jendryka <[email protected]>
Move vars into ParsedDwarf

fe01f48b2c9ce29fe5ea33cbcb7404dc1cd7e0f1 authored over 4 years ago by bjorn3 <[email protected]>
Add RcCow type

c06ed08cf0ecb7516b433914fb7917e2c5761eec authored over 4 years ago by bjorn3 <[email protected]>
Add macro to get entry attribute

e4821dc56e8535fe4c9cec42541bb97f0cacae6b authored over 4 years ago by bjorn3 <[email protected]>
Keep the parsed DWARF in memory after loading all vars

5dca1a98373d8683a774d95540c4082e6b38484b authored over 4 years ago by bjorn3 <[email protected]>
Merge pull request #40 from bjorn3/read_regs

Read regs for the main thread on Linux

0fc866669ba69e4ee2b065ba401e95634e55b5c1 authored over 4 years ago by Nikita Baksalyar <[email protected]>
Read register values on Linux

0f0fc5615ce8ff23dce3be80b16d460d39b49e95 authored over 4 years ago by bjorn3 <[email protected]>
Extract ensure_testees into a helper module

bb2616cfeb44604f19fdade6cf35a00f2343f127 authored over 4 years ago by bjorn3 <[email protected]>
Merge pull request #33 from bjorn3/better_readmem_test

Improve readmem test

6a8be59ec0ca40c3ba19ed003f591fbfa0c4216e authored over 4 years ago by Nikita Baksalyar <[email protected]>
Merge pull request #32 from bjorn3/patch-1

Make `ReadMemory::read` unsafe and document safety

38dbc31795da6317fe7e679e210f7ab89318bede authored over 4 years ago by Nikita Baksalyar <[email protected]>
Ensure that `val` outlives `ReadMemory`

de7fbaab67db380947779610cda2fe0a29061fce authored over 4 years ago by bjorn3 <[email protected]>
Improve readmem test

* Build the testees from the test
* Ensure that the test doesn't depend on any particular curren...

fe84ba63a39396edb25813c09a96552a2b10baba authored over 4 years ago by bjorn3 <[email protected]>
Make `ReadMemory::read` unsafe and document safety

3882bf09fcf48fd9e676b3040cbf2fa08ceccc48 authored over 4 years ago by bjorn3 <[email protected]>
Merge pull request #28 from DeltaManiac/unix

Split out code common for all *nix platform

57c81d7822e57be5e763b3f4ea515a9f211d02e5 authored over 4 years ago by Nikita Baksalyar <[email protected]>
Update linux.rs

af0343b2d8684bb2919c5fb0252b9ba82ca40057 authored over 4 years ago by Harikrishnan Menon <[email protected]>
Install clippy and rustfmt as part of the setup script

b040cd16e1245457b4906fe9351807364806775d authored over 4 years ago by DeltaManiac <[email protected]>
Fixed duplicate entry

f3a0725f7bbcd987262ea410587161818c3648c9 authored over 4 years ago by DeltaManiac <[email protected]>
Added cirrus support for FreeBSD 10,11

Fixed builds script make path

c038b11cb28b43af3023547bc48ac58248af8927 authored over 4 years ago by DeltaManiac <[email protected]>
Fix cargo fmt

88ed22fbbc64d62dd4c0d943f6c6063650c00532 authored over 4 years ago by DeltaManiac <[email protected]>
Doc Comments

Cleanup
Review Comments

a98e2e230a09d2a95fe2c96e76d393e53d02f55a authored over 4 years ago by DeltaManiac <[email protected]>
Added cirrus CI for bsd

0a698ecdb2d7e5dbe9f1a2f01935807b847eb2dd authored over 4 years ago by DeltaManiac <[email protected]>
Fix Cirrus

6a4944e9496f5e3cbf5784660ce10172fe658bf9 authored over 4 years ago by DeltaManiac <[email protected]>
Fixed mod.rs

01b85a390362fda70697db07ba21b4ff73373cd8 authored over 4 years ago by DeltaManiac <[email protected]>
Split out code common for *nix

2f52b910547e285bc57f506137794aeb89772f5d authored over 4 years ago by DeltaManiac <[email protected]>
Merge pull request #30 from fabiim/patch-2

Fix typo

dad6c08fcc46a89650c70d7230c5a89845ca55b9 authored over 4 years ago by Nikita Baksalyar <[email protected]>
Use a rust executable in tests

Fixes #10.

- I decided to introduce another folder (tests/testees) to keep
programs under test ...

693477713576af1f11d135973a3538ba57fdc603 authored over 4 years ago by Fábio Botelho <[email protected]>
Fix typo

250f80de6e9a219c73a2854dbd5256f014d82cb4 authored over 4 years ago by Fábio Botelho <[email protected]>
Merge pull request #29 from fabiim/add-rust-testee-executable

Use a rust executable in tests

27f5c3a5fbc293e768b13d4d110525ffc1ea81e1 authored over 4 years ago by Nikita Baksalyar <[email protected]>
Merge pull request #25 from nbaksalyar/more-docs

Add more documentation & design docs

2f7a767d9cf2a8fb58faa514678ec0804bd32dfd authored over 4 years ago by Nikita Baksalyar <[email protected]>
Expand components & design documentation

Add a section about the debugger library components and specify the API
for targets.

f0716ea90751096bfb8ded3cacb9040fa6aee953 authored over 4 years ago by Nikita Baksalyar <[email protected]>
Merge pull request #27 from Atul9/add-cargo-fmt-to-travis-config

Add cargo fmt to travis build config

453bad976660c307e7fb8466cc88179a36cc0c2b authored over 4 years ago by Nikita Baksalyar <[email protected]>
Add cargo fmt to travis build config

af91808b40d75ebd2bf2ab717078efa6f77bf9b1 authored over 4 years ago by Atul Bhosale <[email protected]>
Merge pull request #26 from fabiim/patch-1

Improve OSX build instructions

dba3a1741855923152f1d53301443248f7b90a5f authored over 4 years ago by Nikita Baksalyar <[email protected]>