Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • Home
  • SEARCH
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 66293
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 10, 20262026-05-10T19:04:50+00:00 2026-05-10T19:04:50+00:00

Is there a way to see, via hex editor or otherwise, if data in

  • 0

Is there a way to see, via hex editor or otherwise, if data in a binary file is aligned or packed, specifically for an HPUX system?

  • 1 1 Answer
  • 2 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. 2026-05-10T19:04:51+00:00Added an answer on May 10, 2026 at 7:04 pm

    If you know what you are looking for and can recognize it in a hex dump, then you can make informed estimates about whether the data is aligned or not, or packed. But in many ways, your question is unanswerable. Where did the data come from? Why can’t you ask the person (driving a program, presumably) how it was created?

    If you are asking ‘what tools could I use to view the data’, then you can consider:

    • od (octal dump – probably with the -c option too)
    • hd (hex dump – not always available, and seems to be absent on HP-UX)
    • sed l (that’s a lower-case ell – it means list the data; not a good option unless the majority of the data is plain text)

    Or you could do it in Perl. Once upon a long time ago (1987 or so), I wrote a program odx (octal dump in hex – weird) that I continue to use – it gives me a hex dump, 16 bytes per line, plus an image of the printable characters. This example isn’t very exciting (odx run on itself – on a Sun Sparc):

    Black JL: odx odx | sed 10q 0x0000: 7F 45 4C 46 01 02 01 00 00 00 00 00 00 00 00 00   .ELF............ 0x0010: 00 02 00 12 00 00 00 01 00 01 0D 84 00 00 00 34   ...............4 0x0020: 00 00 77 9C 00 00 01 00 00 34 00 20 00 05 00 28   ..w......4. ...( 0x0030: 00 24 00 23 00 00 00 06 00 00 00 34 00 01 00 34   .$.#.......4...4 0x0040: 00 00 00 00 00 00 00 A0 00 00 00 A0 00 00 00 05   ................ 0x0050: 00 00 00 00 00 00 00 03 00 00 00 D4 00 00 00 00   ................ 0x0060: 00 00 00 00 00 00 00 11 00 00 00 00 00 00 00 04   ................ 0x0070: 00 00 00 00 00 00 00 01 00 00 00 00 00 01 00 00   ................ 0x0080: 00 00 00 00 00 00 22 86 00 00 22 86 00 00 00 05   ......'...'..... 0x0090: 00 01 00 00 00 00 00 01 00 00 22 88 00 02 22 88   ..........'...'. Black JL: 
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

Is there a way to see all I have installed via MacPorts? I know
Is there a way to see controls which are created via code in designer
Is there a way to see what's been saved to NSUserDefaults directly? I'd like
Is there a way to see how many items in a dictionary share the
Is there any way to see what a control will look like in the
Is there a way to see how many context switches each thread generates? (both
Is there a way to see users that have certain security role assigned? I'm
Is there a way to see the messages that RIA services/clients send?
Is there any way to see how many queries are executed in like every
Is there a simple way to see assigned shortcuts with given prefix? Something similar

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.