GithubHelp home page GithubHelp logo

google / aarch64-esr-decoder Goto Github PK

View Code? Open in Web Editor NEW
79.0 5.0 17.0 1.56 MB

A utility for decoding aarch64 ESR register values.

License: Apache License 2.0

Rust 94.86% HTML 2.47% JavaScript 2.05% CSS 0.62%
aarch64

aarch64-esr-decoder's Introduction

aarch64-esr-decoder

crates.io page docs.rs page

A small utility for decoding aarch64 ESR register values.

This is not an officially supported Google product.

Usage

Install a Debian package from the latest release, install with cargo install aarch64-esr-decoder, or try the web version.

For the command-line version, just pass the ESR value you're interested in as a parameter, in decimal or hexadecimal:

$ aarch64-esr-decoder 0x96000050
ESR 0x00000000000000000000000096000050:
# Data Abort taken without a change in Exception level
37..63 RES0: 0x0000000 0b000000000000000000000000000
32..36 ISS2: 0x00 0b00000
26..31 EC: 0x25 0b100101
  # Data Abort taken without a change in Exception level
25     IL: true
  # 32-bit instruction trapped
00..24 ISS: 0x0000050 0b0000000000000000001010000
  24     ISV: false
    # No valid instruction syndrome
  14..23 RES0: 0x000 0b0000000000
  13     VNCR: false
  11..12 SET: 0x0 0b00
    # Recoverable state (UER)
  10     FnV: false
    # FAR is valid
  09     EA: false
  08     CM: false
  07     S1PTW: false
  06     WnR: true
    # Abort caused by writing to memory
  00..05 DFSC: 0x10 0b010000
    # Synchronous External abort, not on translation table walk or hardware update of translation table.

For long field names, add -v.

License

Licensed under the Apache License, Version 2.0.

Contributing

If you want to contribute to the project, see details of how we accept contributions.

aarch64-esr-decoder's People

Contributors

qwandor avatar dependabot[bot] avatar jvr2022 avatar misaleh avatar vdonnefort avatar charlycst avatar

Stargazers

aswasn avatar Joe avatar Andrin Bertschi avatar Aubrey avatar Jerry Dai avatar Gregor Bigalke avatar David M. Golembiowski avatar Zigao Wang avatar Chris Reed avatar Zhang Renpeng avatar Daniel avatar Jon Palmisciano avatar Matteo Golin avatar  avatar denuitt avatar Igor Prusov avatar Jianyue Wu avatar Ryan Wong avatar Marek Słowiński avatar zhouxia avatar Takeshi Yoneda avatar Kevin Tan avatar Luke Hutton avatar guoziliang avatar LastRitter avatar linux_fans avatar  avatar Rafael Ristovski avatar Masanori Ogino avatar Manos Pitsidianakis avatar andyzsh avatar Gao feng avatar Weizhao Ouyang avatar  avatar Sergiu Moga avatar Michalis Pappas avatar Daniel C avatar Yuvraj Sakshith avatar  avatar lifetimeosdev avatar Wei avatar  avatar Shawn Feng avatar Rizmy Abdulla avatar Michael avatar Pavel Skripkin avatar leopold avatar Pete Markowsky avatar Stefan Liao avatar Seonghyun Park avatar  avatar Doruk Sarp Aydın avatar  avatar Jason Molenda avatar  avatar Simon Shi avatar Ramon Fried avatar Maria Sfiraiala avatar Eduard Vintilă avatar  avatar Gareth Stockwell avatar neo yang avatar  avatar Suibin avatar  avatar Proteas avatar bperris avatar Simone Ferrini avatar Jevin Sweval avatar  avatar Berkus Decker avatar Robert avatar yiersan avatar Shaneal Findley avatar Reza Eskandari avatar Kai Devrim avatar Andre Richter avatar Jakub L. avatar Koichi Shiraishi avatar

Watchers

 avatar Jevin Sweval avatar James Cloos avatar  avatar  avatar

aarch64-esr-decoder's Issues

Add long names for fields

In the web interface this could be mouseover text, in the command-line version it could be an extra flag.

Web app prints "Invalid ESR" if `0x` prefix is missing

If I copy a hex value without the 0x prefix in the ESR: field on the esr.arm64.dev website, I only get the error message "Invalid ESR". This is confusing because the value that I pasted isn't fundamentally invalid (in the sense that the value itself is wrong), it just doesn't stick to the format that the field expects. It would be better if it said that the 0x prefix is missing or if the accepted format was obvious.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.