Ecosyste.ms: OpenCollective

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

github.com/swiftwasm/faerie

Magical ELF and Mach-o object file writer backend
https://github.com/swiftwasm/faerie

Revert "Update target-lexicon to 0.4.0; (#73)"

This reverts commit c474aaae34fa4141703f9ac319103ebf1304a026.

fc337e705ace001fd4a6a0ffe9619eef82e94139 authored over 5 years ago by Zhuowei Zhang <[email protected]>
Revert "bump version to 0.10.0"

This reverts commit d0d4f611255995c7ae67984e852e75d6c01cc7a5.

e287be727aaf548fc556f383bd719c3afa4e1909 authored over 5 years ago by Zhuowei Zhang <[email protected]>
elf: add extended_symtab regression test; need upstream goblin with extended section header and symtable parsing fix to complete test

dc910de67e1b6b31910c314ce02f89001e54ec20 authored over 5 years ago by m4b <[email protected]>
elf: rework symtab_shndx support

9914fc2550972587cb41a7aebf89c8b9b79b89c6 authored over 5 years ago by Philip Craig <[email protected]>
elf: write u32s into shndx vec using scroll. fix .symtab_shndx section name.

c0b33c74d7b21845bf39e327f6a91edbb975026f authored over 5 years ago by m4b <[email protected]>
elf: add alignment computations to symtab, relocs, and section headers; update asserts

44194271d4366adccf472166e652d0a7c3e8a2b0 authored over 5 years ago by m4b <[email protected]>
cargo fmt on the symbol section index table code

5d8fe3c8075e4fbb15310ca800b8b14a3ad1e129 authored over 5 years ago by Zhuowei Zhang <[email protected]>
remove compiler warnings in symbol section indices code

5c9c1929a7b83ed6ee01ea3be10e07c61ad69e71 authored over 5 years ago by Zhuowei Zhang <[email protected]>
fix indices table size, don't touch section indices of special symbols

This gets readelf to read the symtab again with the correct sections,
and fixes the existing tes...

d4d993765700c16018213a687f51e7049dc246a7 authored over 5 years ago by Zhuowei Zhang <[email protected]>
Try to generate extended symtab; doesn't work

c53bd1716c346a85b5007aa312406d952e595bcf authored over 5 years ago by Zhuowei Zhang <[email protected]>
start working on extended sections

doesn't emit the extended symtab yet

c85783d333bc6355e03b29b1a44585a3e8a944dd authored over 5 years ago by Zhuowei Zhang <[email protected]>
artifact: implement custom sections (#74)

* Update comment and run rustfmt
* Define custom section in src/bin/main.rs
* Remove unused wr...

49aac0ca5b49c6ef95a57a95d8a006ab73e998e5 authored over 5 years ago by bjorn3 <[email protected]>
bump version to 0.10.0

d0d4f611255995c7ae67984e852e75d6c01cc7a5 authored over 5 years ago by Dan Gohman <[email protected]>
Update target-lexicon to 0.4.0; (#73)

c474aaae34fa4141703f9ac319103ebf1304a026 authored over 5 years ago by Benjamin Bouvier <[email protected]>
Update decl.rs (#72)

Changed tiny typo in documentation I saw when browsing

3d09cc349c7cca770994f0e6868a83b504281c98 authored over 5 years ago by Alex Brachet <[email protected]>
bump version to 0.9.1

ebe9edff906749bd52718b8552d560b232a608ff authored almost 6 years ago by Pat Hickey <[email protected]>
Merge pull request #70 from m4b/pch/fix_regression_bug69

elf: move local symbol count to the correct place

d8f7efc18a77122c77146b9f83a94c7a13fb3964 authored almost 6 years ago by Pat Hickey <[email protected]>
fixup comment

b161ff261cbd69835eb26b1d5ddd3af12d5eed3f authored almost 6 years ago by Pat Hickey <[email protected]>
elf: move local symbol count to the correct place

c36d3e96bd603d30cc9a24190588ebf09b4824d4 authored almost 6 years ago by Pat Hickey <[email protected]>
bump version to 0.9.0

5ea04b4c91e2727944cd483da32d70108bf162f3 authored almost 6 years ago by Dan Gohman <[email protected]>
Update to target-lexicon 0.3 and env_logger 0.6.

7bdf82e059c64e9aa699ca6e8ad0ba64ea70b284 authored almost 6 years ago by Dan Gohman <[email protected]>
Merge pull request #68 from m4b/pch/decl_attributes

Expand declaration attributes

cbdf7640f7cb550a5f87ed700fe2eb9911adb885 authored almost 6 years ago by Pat Hickey <[email protected]>
bump version to 0.8.0

4bf9650dc3e32c425b08bd72aa8dcbaf0acb68ac authored almost 6 years ago by Pat Hickey <[email protected]>
add docs per sunfishcode's code review

8aa9550f31c1fd6f23b48b1b5d2cb0f40611988a authored almost 6 years ago by Pat Hickey <[email protected]>
fmt

090fd1a00fe52643381ef36c974dfe234d59f2e9 authored almost 6 years ago by Pat Hickey <[email protected]>
elf tests: add a test suite that maps decl to sym & sect flags

5a85a2709c4bfda3f021bb6cca5be42d8a7bfa4a authored almost 6 years ago by Pat Hickey <[email protected]>
elf: actually thread alignment through

good thing i wrote tests!

0ce05662eac73bb019dc4f848355f287bc46e47c authored almost 6 years ago by Pat Hickey <[email protected]>
export ArtifactError from crate, and use it on declare

5909c3e2b793fe96a7c4836dbfbb38a941df4f99 authored almost 6 years ago by Pat Hickey <[email protected]>
bump goblin to 0.21, use STV definitions

31f98522da98511ebed8a04f2f5db0ad92b83913 authored almost 6 years ago by Pat Hickey <[email protected]>
writable attribute needed builder

0b0dcf248cf7b34b69bc998eb897a6d6bc1cf103 authored almost 6 years ago by Pat Hickey <[email protected]>
artifact: fix use statement for 2018

7dff5b4b2a19080f4998afac0708269415c017a1 authored almost 6 years ago by Pat Hickey <[email protected]>
readme: update decls, segment for string

47e6069b81ec4d21e8fc10906c2af9acaddccd22 authored almost 6 years ago by Pat Hickey <[email protected]>
add alignment from decl through to elf

d59a3489f4ba41c67081e48a33da415fe97ca010 authored almost 6 years ago by Pat Hickey <[email protected]>
add datatype to debugsection decl, thread through to elf

TODO: come up with a plan to deprecate automatically making .debug_str
and .debug_line_str into ...

89c83d3e9ef2803a9c9a8bd502a8804161568b4a authored almost 6 years ago by Pat Hickey <[email protected]>
cstrings are now just a subset of data

38190a80572f0adbc267aa1693a2154c14253642 authored almost 6 years ago by Pat Hickey <[email protected]>
add visibility flags to st_other

b1e6fe9bc45aea86c5c4c9e10c31fb6b3011ffc2 authored almost 6 years ago by Pat Hickey <[email protected]>
use scope in elf

adefb3c115deb630cc4af59d8bfe901b879fa34b authored almost 6 years ago by Pat Hickey <[email protected]>
elf: refactor add_definition and add_section into one

and, put section_index into SymbolBuilder because many users set it
right after building the sym...

1e5d24f1dfe27897df706de276ca98e81821f632 authored almost 6 years ago by Pat Hickey <[email protected]>
decl: add scope and visibility enums

365750acd38abe6bba115e3388c302c00cc65691 authored almost 6 years ago by Pat Hickey <[email protected]>
Merge pull request #67 from m4b/pch/carry_decl_through

Carry declarations through

a004ee7bfddb83765a2400a309c583cbdadbfb37 authored almost 6 years ago by Pat Hickey <[email protected]>
fmt

9b9678b0d6bc08c4dd8b6196c5540c6cbacbeae6 authored almost 6 years ago by Pat Hickey <[email protected]>
add docs, require using crate-level deny(missing_docs)

e9a79c37edccafebd89edce224527d6342da0553 authored almost 6 years ago by Pat Hickey <[email protected]>
fixup adecl -> decl; make builders the variants

da8fa1e79780012def4796564218848a99b96b2a authored almost 6 years ago by Pat Hickey <[email protected]>
DefinedDecl: add predicates for each variant

4998f954df51d08091c2f578c83867b75f6d92ac authored almost 6 years ago by Pat Hickey <[email protected]>
artifact: refactor definitions into local and nonlocal sets

this eliminates depending on the Ord of InternalDefinition for the elf
backend to work correctly...

ac14b3870f4bc0e9891bee9fd6d9fe6b87ea4458 authored almost 6 years ago by Pat Hickey <[email protected]>
artifact: delete unused fields

69228ffb4c77b8a9d5dad617ccac566a45d654e3 authored almost 6 years ago by Pat Hickey <[email protected]>
split decl into separate imports and "artifact declarations" ADecl

b569bfe8bdd6b2382f3bbedff160d745673c4db9 authored almost 6 years ago by Pat Hickey <[email protected]>
tests: update to flexible decl api

d21adbf537aa2b54cba279052833647e5bfae9ef authored almost 6 years ago by Pat Hickey <[email protected]>
artifact: make declare_with take an Into<Decl>

08ac7a84ec413b602840b4cb644155d363d29c18 authored almost 6 years ago by Pat Hickey <[email protected]>
replace artifact::Prop with ADecl

d6d02a373a5a8ad82da7a97696809a6c588538a6 authored almost 6 years ago by Pat Hickey <[email protected]>
rename ADecl to DefinedDecl

7805659be78512eb68a5c894142a86ef3548c264 authored almost 6 years ago by Pat Hickey <[email protected]>
Merge pull request #65 from m4b/pch/extensible_decl

Extensible Decl interface

011f6dda227b6933d0210008d51d1b2e3688a27f authored almost 6 years ago by Pat Hickey <[email protected]>
artifact only needs to know about Decl, lib exports full interface

cc93ae68fbcd9030471b26a9bb04d0b363f40b34 authored almost 6 years ago by Pat Hickey <[email protected]>
bin: translate to use extensible decls

42397d9f49468b282054ef7ea9fcd068670c7c50 authored almost 6 years ago by Pat Hickey <[email protected]>
decl: define a builder struct for each Decl variant

and let artifact::Declare take an Into<Decl>.

This keeps existing code working for now, but pro...

9c1353ae40964dd3b27d1b75a21bef72fe9df95d authored almost 6 years ago by Pat Hickey <[email protected]>
move artifact::decl to its own file

f6681c26b36feae126482359e2e5af431b2f20a1 authored almost 6 years ago by Pat Hickey <[email protected]>
back out rustfmt of hand-written binaries in bin/main.rs (#66)

thanks to @philipc for pointing these out

b3f12a135a03c8445046f7e2725271f1117e3da7 authored almost 6 years ago by Pat Hickey <[email protected]>
Merge pull request #64 from m4b/pch/rustfmt

Apply `rustfmt` and add formatting check to CI

75ca7137323523fbbf60f9f841afa67250695284 authored almost 6 years ago by Pat Hickey <[email protected]>
rustfmt

0c1590da0b01b1113a61ed281f4cd81e5afd3ff5 authored almost 6 years ago by Pat Hickey <[email protected]>
travis: add `rustfmt --check` to CI

8fe0b228dbd7b226a188acff9a9b90e1dc5f5b4f authored almost 6 years ago by Pat Hickey <[email protected]>
Merge pull request #63 from m4b/pch/rust_2018

update to Rust 2018 edition

5156664a69dafad34a761c9e66af5af33818d633 authored almost 6 years ago by Pat Hickey <[email protected]>
update to Rust 2018

used cargo-fix and manually coelesced some `use`s

3f6f8beb89c5202741304f668280eed757b221c2 authored almost 6 years ago by Pat Hickey <[email protected]>
build: update minor version to 0.7.1

c29c912c9ebd88a16318ce250b929ec766687c0c authored almost 6 years ago by m4b <[email protected]>
Fix Mach-O debug relocations (#59)

56e95396f32a0df4cb3145615f042e70cee1a551 authored almost 6 years ago by bjorn3 <[email protected]>
build: add philipc to authors

99fa5a7e34f7dde967ecfe6546f495025e3066fd authored almost 6 years ago by m4b <[email protected]>
build: update version to 0.7.0

90e19da8e638095d559a3176b4235cc06efe704f authored almost 6 years ago by m4b <[email protected]>
Merge pull request #58 from philipc/sections

Section flag fixes

cfc79d0bd27e8f56db31fb48afde08baf6e86539 authored almost 6 years ago by m4b <[email protected]>
mach: fix alignment and set S_ATTR_DEBUG for debug sections

0f2e0823f61ec6542811005ef47312e8c5dff458 authored almost 6 years ago by Philip Craig <[email protected]>
elf: set SHF_MERGE | SHF_STRINGS for debug sections

843d4bed60c038b9e4ddfaf33d874a2043e4282f authored almost 6 years ago by Philip Craig <[email protected]>
elf: set SHF_INFO_LINK for reloc sections

9aa5dc018ac8386150ba15e541639418f5d3f680 authored almost 6 years ago by Philip Craig <[email protected]>
Implement Reloc::Raw for mach-O (#56)

6ab5fa561d9fd250ba777ab839eb88d6e4f07948 authored almost 6 years ago by bjorn3 <[email protected]>
Merge pull request #55 from philipc/dwarf-mach

mach: implement debug sections

5ee2c1c924c4206186866a0708f8004346d1bebb authored almost 6 years ago by m4b <[email protected]>
prototype: define real DWARF for deadbeef.o

e459ff75d740ea310a55d3bf6528fcd6a58483b7 authored about 6 years ago by Philip Craig <[email protected]>
mach: implement debug sections

37278ab46dc47fe97c9ea07dd584cbd3a2b978cf authored about 6 years ago by Philip Craig <[email protected]>
mach: move relocations into SectionBuilder

616331b9e1dd39daa5dffbf0ed7cc2878f30e6ac authored about 6 years ago by Philip Craig <[email protected]>
mach: change SegmentBuilder::section to a map

ad08b7f0def22c06284450f509a3657d0b971d08 authored about 6 years ago by Philip Craig <[email protected]>
mach: treat raw relocations the same as auto

This is how it used to work.

89455a08e8c286db9c927da0ae44d0dbe5277d6d authored about 6 years ago by Philip Craig <[email protected]>
Merge pull request #51 from philipc/dwarf

Implement DWARF support

43b24188c1ddb03727e817cc37dc758e868d8352 authored about 6 years ago by m4b <[email protected]>
elf: fix index used for sections

This is required when creating links that reference sections.

8a46373cd68cd7c0a788c2cf20cc135baf1cdb0e authored about 6 years ago by Philip Craig <[email protected]>
elf: share section creation between add_definition() and add_section()

Note: this no longer sets "section.sh_entsize = 1" for data

367f31c3b4705a0764676022177b23a47ff2c1bd authored about 6 years ago by Philip Craig <[email protected]>
elf: reorder code in add_definition()

Note: this also changes the indices used for self.sections and self.code,
but these don't appear...

5f323a317681ab46e8f356197551e8d1bed0f209 authored about 6 years ago by Philip Craig <[email protected]>
Replace RelocOverride with an enum that supports debug relocations

01d48183135bfead86533e72e7f1cf1035128a73 authored about 6 years ago by Philip Craig <[email protected]>
Implement DWARF support

70fb28ee81c377e75247c012dcc186e1b00ec0b9 authored about 6 years ago by Philip Craig <[email protected]>
elf: PC32 relocations must use -4 addend, even for CString (#53)

Without this, the example prints
beef: 0xdeadbef0 - 0xcafebabe
instead of
deadbeef: 0xdeadb...

d5349a60c14018765e7e51fbd76d4785e2e3b4e5 authored about 6 years ago by Philip Craig <[email protected]>
Add reference source files for src/bin/main.rs (#54)

78515dcfea56d08f7e2fbe9c014a8e173144526c authored about 6 years ago by Philip Craig <[email protected]>
Bump version to 0.6.0.

eeb1c49cf5a15478c4e79ac9feb139b6db6035da authored about 6 years ago by Dan Gohman <[email protected]>
Use unwrap_or_else to avoid allocating an unneeded String.

3efaaf9a608a7919cf48f50e4793c101d971f186 authored about 6 years ago by Dan Gohman <[email protected]>
Update to target-lexicon 0.2.0.

eb9551910c9e6646d5283c27f8eb9e554909b9b7 authored about 6 years ago by Dan Gohman <[email protected]>
Update to goblin 0.0.19.

9c1299cae885d6b2c41044bf5cbbeb53e2e0e392 authored about 6 years ago by Dan Gohman <[email protected]>
Merge pull request #50 from philipc/issue-14

elf: use conventional names for relocation sections

4a714140469e15bae3699dc66648e2605c08abd0 authored about 6 years ago by m4b <[email protected]>
elf: use conventional names for relocation sections

2ca657f3f64e3a7b1f3c670dcfa7be6546217c06 authored about 6 years ago by Philip Craig <[email protected]>
elf: combine Elf::section_symbols and Elf::sections

c9cb53679a142596b98239a85185d2cc0e95a679 authored about 6 years ago by Philip Craig <[email protected]>
elf: make section index calculations more robust

Use sections.len(), and reduce the number of place that we calculate
this.

cdaecc483b8cc01057ff4c2524a1623f800970a8 authored about 6 years ago by Philip Craig <[email protected]>
elf: add allow(dead_code) to squelch warnings; add comment explaining reason

dfe899dba1ae748dbd5566d1136ce54c9d5ac7e8 authored over 6 years ago by m4b <[email protected]>
build: bump version to 0.5.1; update most dependencies to use less minor versions

21b8f535177b5c8644f22972aa6860488e5befb0 authored over 6 years ago by m4b <[email protected]>
Merge pull request #47 from m4b/mach_data_relocations

Mach data relocations

a00f17371c11c4713768de2ad727413032119021 authored over 6 years ago by m4b <[email protected]>
fix relocations against data section

mach:
* add data relocations
* add cstring section
* fix flags on sections
* add segment...

c8587ada91fd0af6961e0a884fa44454efbb2a21 authored over 6 years ago by m4b <[email protected]>
Merge pull request #44 from m4b/writable

Rename "writeable" to "writable".

13cc7e44adebd1f930761646cee484721dc6ffe8 authored over 6 years ago by m4b <[email protected]>
Rename "writeable" to "writable".

"writable" seems the more common English spelling.

9172834c4fe72ce4bb2cf3e270e5fb3b8bf6089a authored over 6 years ago by Dan Gohman <[email protected]>
Bump version to 0.4.4

f242e5d88066514556fa1069e8b0f8ac8e423add authored over 6 years ago by Dan Gohman <[email protected]>