about summary refs log tree commit diff stats
path: root/subx/028translate.cc
Commit message (Collapse)AuthorAgeFilesLines
* 4761Kartik Agaram2018-11-231-1/+1
| | | | | Bugfix: I forgot about ELF segment offsets when implementing VMAs. Eventually segments grew large enough that I started seeing overlaps.
* 4678Kartik Agaram2018-10-101-0/+2
| | | | | | | | | A debugging aid: 'subx --map translate' dumps a mapping from functions to addresses to a file called "map", and 'subx --map run' loads the mapping in "map", augmenting debug traces. Let's see how much this helps. Debugging machine code has been pretty painful lately.
* 4661Kartik Agaram2018-10-041-1/+1
| | | | | Make segment management a little more consistent between initial segments and add-on segments (using `mmap`).
* 4637 - subx: support multiple input filesKartik Agaram2018-10-011-1/+1
|
* 4624Kartik Agaram2018-09-301-11/+38
| | | | | | | | Start requiring a '-o' flag to designate the output binary when translating. Things currently get funky if you pass in multiple inputs, but that's ok. This is the first step to supporting multiple input files for a single output binary.
* 4620Kartik Agaram2018-09-301-1/+4
|
* 4551Kartik Agaram2018-09-201-0/+1
| | | | | | | | Running reset() doesn't seem necessary so far for the translate sub-command, but it's likely to expose us to weird bugs. Immediately, it requires toggling `Dump_trace` in different places to print traces while translating vs while running.
* 4532Kartik Agaram2018-09-011-28/+5
| | | | Make segment names a separate transform.
* 4531 - automatically compute segment addressesKartik Agaram2018-09-011-8/+32
|
* 4482Kartik Agaram2018-08-041-0/+159