News for hackers. Stuff that matters.
Re:Hexyl: A command-line hex viewer by hwj on Wednesday January 09, 2019 @10:39AM (#18865493)
What are line numbers in context of a binary?
Re:Hexyl: A command-line hex viewer by Twisol on Wednesday January 09, 2019 @10:46AM (#18865574)
Right, I was being a bit loose there. I meant something like how `xxd` displays the number of bytes up to the current output row. Just something to give context of where you are in the file.

    00006980: 0000 0000 0000 0000 0000 0000 0000 0000
Re:Hexyl: A command-line hex viewer by msravi on Wednesday January 09, 2019 @10:50AM (#18865622)
You can quickly find position of byte number X using:

line number = floor(X/(bytes/line)) + 1

column offset = X % (bytes/line) + 1

Or it could just print byte numbers instead of line numbers.

Re:Hexyl: A command-line hex viewer by twtw on Wednesday January 09, 2019 @10:46AM (#18865573)
Addresses.
Re:Hexyl: A command-line hex viewer by archgoon on Wednesday January 09, 2019 @11:05AM (#18865766)
File offsets; not addresses :) I assume the tool isn't reading ELF format files and working out the memory address.