Where communities thrive


  • Join over 1.5M+ people
  • Join over 100K+ communities
  • Free without limits
  • Create your own community
People
Repo info
Activity
  • Apr 23 02:21
    Jed-Z commented #66
  • Apr 20 12:47
    vladisoc opened #77
  • Apr 02 14:03
    CharcoStudios opened #76
  • Mar 11 20:01
    Niko-O commented #66
  • Mar 03 02:50
    stef-levesque closed #75
  • Mar 03 02:50
    stef-levesque commented #75
  • Feb 25 13:22
    worstpractice opened #75
  • Feb 19 13:00
    stef-levesque commented #33
  • Feb 19 12:55
    kaedros commented #33
  • Feb 15 01:07
    stef-levesque assigned #74
  • Feb 14 21:31
    WebFreak001 commented #39
  • Feb 14 17:57
    stef-levesque closed #39
  • Feb 14 17:34
    stef-levesque commented #39
  • Dec 16 2020 06:10
    BlueGGuy commented #33
  • Dec 13 2020 05:32
    PhyX-Meow commented #39
  • Nov 30 2020 02:44
    kldjaff opened #74
  • Oct 12 2020 00:25
    Ishaangandhi opened #73
  • Sep 11 2020 02:59
    stef-levesque closed #69
  • Sep 11 2020 02:59
    stef-levesque commented #69
  • Sep 11 2020 02:58
    stef-levesque closed #71
stef-levesque
@stef-levesque
I'm about to fix the issue with the hover window
Horace He
@Chillee
@stef-levesque Just wanted to say that this extension is great and the best hex editor extension that I've personally used.
stef-levesque
@stef-levesque
Thanks, it is a bit limiting what we can do with VSCode as an extension, but it can still be useful :)
m43
@m43
Anybody online?
stef-levesque
@stef-levesque
Yes
m43
@m43
image.png
U just have a question, not sure if right place to ask?
However, here I go
So in hexdump, that right part (green circle), how does it handle nonASCII characters
"D0 4B" is turned into "PK"
That's not unicode, right?
"D0" would be Đ in unicode and utf8 as well
Am I missing something banal? I just started playing with digital forensics
stef-levesque
@stef-levesque
The right side of the hexdump is only meant to display as ASCII characters
Have you tried to select "D0 4B" and have a look with the Inspector ?
m43
@m43
The inspector goes only byte after byte, not more than that, it's slow that way and I do not really need the information listed
I switched to temporary to x-ways winhex for more functionality, the vscode extension is nevertheless usefull when taking a quick look, doing some basic things etc
stef-levesque
@stef-levesque
Hm, the Inspector use to work, displaying the selection as a full Unicode string, buy something is broken right now. I'll have a look
James Ford
@jamesford42
"cannot edit in read-only editor" ... is that a limitation, or something i can toggle? because id love the ability to actually type in dword hex values
stef-levesque
@stef-levesque
There is no way (afaik) to validate the input of the user in editable editor
But with the latest version of the editor, you can edit multiple bytes at the time. Just provide then as an hexadecimal string in the palette box
James Ford
@jamesford42
palette box?
image.png
my screen looks like this
stef-levesque
@stef-levesque
See #45
James Ford
@jamesford42
how do i edit even a single byte though?
oh. i see. i have to right click "edit value under cursor"
stef-levesque
@stef-levesque
Yes
James Ford
@jamesford42
unfortunately this isn't really adequate for what i intend to do
is there no hex editor around that you use like a standard text document, ie, obey insert/overwrite
Debashish Sahu
@debsahu
I would like to get string literal for C/C++, https://unix.stackexchange.com/questions/176111/how-to-dump-a-binary-file-as-a-c-c-string-literal is it possible using this extension?
stef-levesque
@stef-levesque
You can use the command ˋhexdump.copyAsFormat` and export as ´C’
That would copy the selection (or the whole file if there is no selection) to the clipboard, in the format you prefer
You will end up with an array of unsigned char in C. Is that what you want ?
Debashish Sahu
@debsahu
yes!
thank you
stef-levesque
@stef-levesque
Good, I’m still working on that feature, but since it is in a functioning state, I’m make sure to document it in the README.md
Nicolò Carandini
@ncarandini
image.png
Hi, I'm working on bmp file formats so I've tried to use this plugin to see the file content as hex code, but the right click menu don't show the command.
stef-levesque
@stef-levesque
Try the icon in the top corner
stef-levesque
@stef-levesque
VSCode don't let extensions add commands on the "Open Editors" section, only for files in the "Folder" section.
But you can use the binary icon in the upper right corner to launch hexdump on the opened file.
Nicolò Carandini
@ncarandini
Thanks @stef-levesque, shame on me , I didn't notice the icon. :-)
It works like a charm.
stef-levesque
@stef-levesque
👍🏼
flow2k
@flow2k
Hello, just found hexdump and used it today - amazing tool. One question: it's not possible to search by hexadecimal currently, right?
flow2k
@flow2k
Never mind, I found that this feature is implemented, but opt-cmd-f is overridden by Spectable app on macOS, which is why I couldn't use it.
mmedvedmtd
@mmedvedmtd
Hi @stef-levesque , thanks for hexdump, its really nice
Are there rules for when export to binary from a hexdump works? I cant seem to save a file back out after changing some values
did the ctrl+shift+s, and in windows nothing happens, on linux I got a little box that says hexdump.exportToFile not found