widberg

Results 11 issues of widberg

The `align_after`, `align_before`, `pad_after`, `pad_before`, and `pad_size_to` directives always write `0x00` bytes. I propose that these directives optionally accept a byte value to use when writing padding, keeping `0x00` as...

enhancement

### What feature would you like to see? Overrideable default values for template arguments like in C++. ```cpp struct Array { T data[Size]; }; ``` ### How will this feature...

When there is a string code unit with only references to parts of the string that are not the beginning, the string will not have a symbol for its start....

**Describe the bug** In the attached `test.zip` there is an x86_32 Windows executable `Test.exe` compiled and linked with the Visual Studio 2005 Professional Edition toolchain. For the instruction at `0x00401029`,...

Feature: Analysis
Status: Triage

Is there any way to enable the `-anonymous` option on the server in the container? I can't seem to find a way to do it. The way the server accepts...

This PR adds a [serde-style `brw(bound)` attribute](https://serde.rs/container-attrs.html#bound). Serde also has a page further describing when this is useful: https://serde.rs/attr-bound.html. I brought this up in the Discord the other day and...

I made fixes for the `INTEL_MASM` formatter style to get it closer to emitting assembly MASM accepts. This should be enough of an improvement to close #535. I added the...

Zydis formats a few things in a way that MASM does not accept with INTEL_MASM: 1. The `int3` instruction should be formatted as `int 3` for `CC` or MASM will...

A-formatter

This PR rounds off the `pad_`/`align_` attribute symmetry by adding the counterpart to `pad_size_to`. I would especially appreciate any feedback on the documentation. In the future, I intend to pick...

As discussed in the Discord, combining `ignore` and `calc` attributes when deriving BinWrite yields a confusing error message: `conflicting read mode keyword`. It would be nice if this combination of...

diagnostics issue
confusing api