| Age | Commit message (Collapse) | Author | |
|---|---|---|---|
| 9 days | Check close() error. | Sunil Nimmagadda | |
| While here leave a TODO to write to a tmp and atomic rename to outfn. | |||
| 10 days | Make it inspection friendly. | Sunil Nimmagadda | |
| 10 days | Section index in error message. | Sunil Nimmagadda | |
| 10 days | Move all the validations to correct place. | Sunil Nimmagadda | |
| 10 days | layout scaffolding. | Sunil Nimmagadda | |
| Make room for layout calculations. Prioritize user specified options first for layout calculations so that layout gets first hand decision if an option was specified or missing. This makes current normalize() just a dumb defaults setter that are not layout calculated or fell through. | |||
| 10 days | Will be handled in the upcoming layout function. | Sunil Nimmagadda | |
| 10 days | Wrap pack inside a pack and simplify error reporting. | Sunil Nimmagadda | |
| 10 days | Close the Lua state. | Sunil Nimmagadda | |
| 11 days | Shorter loop variable name. Avoid repetition. | Sunil Nimmagadda | |
| 11 days | Move header check to loadconfig. | Sunil Nimmagadda | |
| 11 days | Pack first in memory and then write. | Sunil Nimmagadda | |
| 11 days | Pack before opening the file for write. | Sunil Nimmagadda | |
| Any pack errors shouldn't cause partial writes. Assemble binary in memory before opening the out file. | |||
| 11 days | Disable this for now. | Sunil Nimmagadda | |
| 11 days | Make it a proper module and call main accordingly. | Sunil Nimmagadda | |
| 11 days | Initialize it to nil. | Sunil Nimmagadda | |
| 12 days | emmylua_ls has trouble working without the suffix. | Sunil Nimmagadda | |
| 12 days | Moved it to mkelf. | Sunil Nimmagadda | |
| 12 days | Make mkelf an executable script. | Sunil Nimmagadda | |
| 12 days | Refactor loadconfig. | Sunil Nimmagadda | |
| Split up setting haeader, segments and sections into smaller functions. | |||
| 12 days | Error out if multiple headers are specified. | Sunil Nimmagadda | |
| 12 days | Rectify check for header. | Sunil Nimmagadda | |
| 12 days | Refactor normalize() to prevent in-place mutation. | Sunil Nimmagadda | |
| We would need to distinguish user configuration options from normalization. Let normalize() return a new table instead of in-place update. Split annotations into xxxOptions and xxx for header, segments and sections, delineating optional vs normalized table. Leave header, segments and sections as just a data table for now and stop trying to make them objects. Leave data alone. | |||
| 14 days | This reads better. | Sunil Nimmagadda | |
| 2026-10-31 | Provide an index in the error message. | Sunil Nimmagadda | |
| 2026-10-30 | Make sure a valid header is specified. | Sunil Nimmagadda | |
| 2026-10-30 | Don't unconditionally overwrite phnum/shnum | Sunil Nimmagadda | |
| Honor values given in the config. | |||
| 2026-10-30 | Type check individual segment/section entry. | Sunil Nimmagadda | |
| 2026-10-30 | Fill in shnum. | Sunil Nimmagadda | |
| 2026-10-30 | Return the correct table from loadconfig. | Sunil Nimmagadda | |
| 2026-10-30 | header: Set some correct defaults. | Sunil Nimmagadda | |
| 2026-10-30 | Don't take a detour to reach constants. | Sunil Nimmagadda | |
| 2026-10-30 | Untangle segment vs segments. | Sunil Nimmagadda | |
| Let the elf module handle just a single segment/section while the wrapper does the iteration. | |||
| 2026-10-30 | Type check user config for tables. | Sunil Nimmagadda | |
| 2026-10-24 | Segments: normalize and validate. | Sunil Nimmagadda | |
| While here mark mandatory and optional fields. | |||
| 2026-10-24 | Too much for a simple script. | Sunil Nimmagadda | |
| 2026-10-24 | Refactor header configuration handling. | Sunil Nimmagadda | |
| - Mark optional fields and normalize them on load. - Validate (work in progress) required fields and their values. - Make sure that errors point to useful location in the config file. | |||
| 2026-10-24 | Prevent defining globals in config. | Sunil Nimmagadda | |
| 2026-10-24 | Input is optional, reads from stdin if not specified. | Sunil Nimmagadda | |
| 2026-10-24 | Program termination handles resource cleanup. | Sunil Nimmagadda | |
| 2026-10-24 | Sprinkle some todo markers. | Sunil Nimmagadda | |
| 2026-10-24 | Attach the respective metatables to loaded the config. | Sunil Nimmagadda | |
| This simplifies calling pack() on respective tables. | |||
| 2026-10-24 | Multi return values instead of a table. | Sunil Nimmagadda | |
| 2026-10-23 | Refactor: Move to an elf module. | Sunil Nimmagadda | |
| While here, define a elf.d.lua to help author type check configuration file. | |||
| 2026-10-22 | Mark it as to-be-closed instead of explicit close. | Sunil Nimmagadda | |
| 2026-10-18 | Refactor for ease of test cases later. | Sunil Nimmagadda | |
| 2026-10-18 | Mark it binary for non POSIX. | Sunil Nimmagadda | |
| 2026-10-18 | Make these valid values for a 64 bit elf. | Sunil Nimmagadda | |
| 2026-10-18 | Fix a few typo. | Sunil Nimmagadda | |
| 2026-10-16 | Iterate and pack each program header entry. | Sunil Nimmagadda | |
| 2026-10-16 | Leave the annotation name as is but rename variable for clarity. | Sunil Nimmagadda | |
