[program-l] Re: Do folks edit binary files?

  • From: <kperry@xxxxxxxxxxxxx>
  • To: <program-l@xxxxxxxxxxxxx>
  • Date: Thu, 3 Nov 2022 19:04:18 -0400

 

Ok   Here is what I see so far.  

If I move left and right I it speaks just the first character in the hex field 
for example if there is

 

4D 5E  

 

And my cursor is on 4 I move right it says 5.  So it skips the D.  If I use 
control right it actually says 5E.

 

I am not sure how I am supposed to put in the two parts of the Hex number if it 
jumps over the second. 

 

Hmm I just deleted with delete and it deleted both  an D so I could put back in 
something like 2E.  I think I could get used to it but I wouldn’t call this 
super accessible.  It works 

 

Now the right side is a real mess.  When I tab and move around I hear a lot of

 

Dot dot dot dot dot dot dot

 

No idea what that is supposed to be.  You say it is supposed to be ascii and 
that should work like an editor and it does not seem to.  

 

I tried it both with NVDA and Jaws and it works the same.  AgaiI have been able 
to change some of the op codes on this bin but I think it would be better if I 
could use the regular left and right to go by half a hex value and then control 
left and right to go by whole.  As for the right window.  Who knows.  I am not 
sure how to fix something I don’t know what is doing. 

I

Fyou want I can set upa zoom meeting and you can watch and listen.

 

From: program-l-bounce@xxxxxxxxxxxxx <program-l-bounce@xxxxxxxxxxxxx> On Behalf 
Of Dante Gagne ("danteg")
Sent: Thursday, November 3, 2022 5:55 PM
To: program-l@xxxxxxxxxxxxx
Subject: [program-l] Re: Do folks edit binary files?

 

To a sighted user, there are effectively two sides. The left side is a large 
grid of numbers. Each ‘cell’ in the grid is a two ‘digit’ hex number which 
corresponds to a single 16-bit unit from the binary file. On the right side is 
an ascii representation of the same. The caret is on one side or the other and 
the matching unit has a placeholder highlight. Pressing <TAB> will toggle which 
side you’re on.

 

Typing while on the left side will replace the value in whichever cell you’re 
on and should only accept hexadecimal values (0-9,a-f). Typing on the right 
side will replace the current character with whatever is typed.

 

What I DON’T know is how all of this works with a screen reader. To be fair, I 
find using a binary editor to be fairly niche, and in my years in the industry, 
I’ve never had to use one. But, I know that my type of application development 
has been fairly specialized (even before coming to Microsoft). 

 

--Dante

 

From: program-l-bounce@xxxxxxxxxxxxx <mailto:program-l-bounce@xxxxxxxxxxxxx>  
<program-l-bounce@xxxxxxxxxxxxx <mailto:program-l-bounce@xxxxxxxxxxxxx> > On 
Behalf Of kperry@xxxxxxxxxxxxx <mailto:kperry@xxxxxxxxxxxxx
Sent: Thursday, November 3, 2022 2:45 PM
To: program-l@xxxxxxxxxxxxx <mailto:program-l@xxxxxxxxxxxxx
Subject: [program-l] Re: Do folks edit binary files?

 

Well I never knew that binary editor was there.  I just tried it and it seems a 
bit unclear.  I am not seeing what I see in my other hex editor which is sets 
of hex digits that I can edit like  a text file for example in my editor I see:

 

4D 0E 4B … … … … 

 

Etc…

 

In visual studio professional I see 

300493002245060334230From: program-l-bounce@xxxxxxxxxxxxx 
<mailto:program-l-bounce@xxxxxxxxxxxxx>  <program-l-bounce@xxxxxxxxxxxxx 
<mailto:program-l-bounce@xxxxxxxxxxxxx> > On Behalf Of Dante Gagne ("danteg")
Sent: Thursday, November 3, 2022 4:42 PM

 

Or something like that. I have no idea what I am editing


To: program-l@xxxxxxxxxxxxx <mailto:program-l@xxxxxxxxxxxxx
Subject: [program-l] Re: Do folks edit binary files?

 

The reason why I ask… there is a binary editor in Visual Studio, and I’m not 
actually sure of the how accessible it is. Simply put, if it *IS* accessible, 
then I’m not particularly concerned. If it’s not accessible, I’d love feedback 
on the “Must fix” and “nice to haves”. 

 

If we’re going to break into it to address accessibility issues, I’d like to 
know what we could do with it.

 

--D

 

From: program-l-bounce@xxxxxxxxxxxxx <mailto:program-l-bounce@xxxxxxxxxxxxx>  
<program-l-bounce@xxxxxxxxxxxxx <mailto:program-l-bounce@xxxxxxxxxxxxx> > On 
Behalf Of Florian Beijers
Sent: Thursday, November 3, 2022 1:35 PM
To: program-l@xxxxxxxxxxxxx <mailto:program-l@xxxxxxxxxxxxx
Subject: [program-l] Re: Do folks edit binary files?

 

Hex and binary editing does happen a lot in malware research and exploitation 
development in the cybersecurity side of things, and I know very few tools that 
do it well. In fact, I had not heard of frhed, will give that a look

 

Op do 3 nov. 2022 om 20:45 schreef Soronel Haetir <soronel.haetir@xxxxxxxxx 
<mailto:soronel.haetir@xxxxxxxxx> >:

Editing binary files is extremely uncommon for me, and VS works well
enough when I do. Usually for viewing I use the *nix hexdump -C in a
regular console, piped through less.

On 11/3/22, Day Garwood <day@xxxxxxxxxxx <mailto:day@xxxxxxxxxxx> > wrote:

Hi,
Frhed is what I use. It's a little odd but once you get used to it you
can edit things pretty easily with it.
Cheers.


On 03/11/2022 04:38 pm, Dante Gagne (danteg) wrote:
Hey folks,

Out of curiosity, do folks find themselves needing to edit binary files
very often? If so, what tools do you use?

--Dante
** To leave the list, click on the immediately-following link:-
** [mailto:program-l-request@xxxxxxxxxxxxx ;
<mailto:program-l-request@xxxxxxxxxxxxx> ?subject=unsubscribe]
** If this link doesn't work then send a message to:
** program-l-request@xxxxxxxxxxxxx <mailto:program-l-request@xxxxxxxxxxxxx
** and in the Subject line type
** unsubscribe
** For other list commands such as vacation mode, click on the
** immediately-following link:-
** [mailto:program-l-request@xxxxxxxxxxxxx ;
<mailto:program-l-request@xxxxxxxxxxxxx> ?subject=faq]
** or send a message, to
** program-l-request@xxxxxxxxxxxxx <mailto:program-l-request@xxxxxxxxxxxxx>  
with the Subject:- faq
** To leave the list, click on the immediately-following link:-
** [mailto:program-l-request@xxxxxxxxxxxxx ;
<mailto:program-l-request@xxxxxxxxxxxxx> ?subject=unsubscribe]
** If this link doesn't work then send a message to:
** program-l-request@xxxxxxxxxxxxx <mailto:program-l-request@xxxxxxxxxxxxx
** and in the Subject line type
** unsubscribe
** For other list commands such as vacation mode, click on the
** immediately-following link:-
** [mailto:program-l-request@xxxxxxxxxxxxx ;
<mailto:program-l-request@xxxxxxxxxxxxx> ?subject=faq]
** or send a message, to
** program-l-request@xxxxxxxxxxxxx <mailto:program-l-request@xxxxxxxxxxxxx>  
with the Subject:- faq



-- 
Soronel Haetir
soronel.haetir@xxxxxxxxx <mailto:soronel.haetir@xxxxxxxxx
** To leave the list, click on the immediately-following link:-
** [mailto:program-l-request@xxxxxxxxxxxxx ;
<mailto:program-l-request@xxxxxxxxxxxxx> ?subject=unsubscribe]
** If this link doesn't work then send a message to:
** program-l-request@xxxxxxxxxxxxx <mailto:program-l-request@xxxxxxxxxxxxx
** and in the Subject line type
** unsubscribe
** For other list commands such as vacation mode, click on the
** immediately-following link:-
** [mailto:program-l-request@xxxxxxxxxxxxx ;
<mailto:program-l-request@xxxxxxxxxxxxx> ?subject=faq]
** or send a message, to
** program-l-request@xxxxxxxxxxxxx <mailto:program-l-request@xxxxxxxxxxxxx>  
with the Subject:- faq

Other related posts: