Giter Club home page Giter Club logo

bread's Issues

Available for hire?

Hello,
I have a very old custom system that is locked down by design (locked good). I'd like to at least enable keyboard support so I can get into the BIOS and see if there is anything in there I can disable other 'features' they have done to make life difficult for anyone trying to bypass their features.

A lot of this is over my head. I really want to learn more, but it can possibly take years for me to get up to speed.

On that note, are you available for hire to take a look and see what can possibly be done to make this system operate like a normal PC again?

The maker of the modular cpu design is Kontron.
The cpu modules are made by Adastra
The BIOS is Phoenix
Old Celeron CPU

Many programs in BIOS... Need to jump over.

Thank you

format/parameter order error in errx usage.

Thanks for the BREAD! :-)

In the usages below the command buf is provided first in the errx macro usage, but the printf format is expecting the size to be first.

gdb.c: In function ‘handle_gdb_state_cmd’:
gdb.c:1014:22: warning: format ‘%zu’ expects argument of type ‘size_t’, but argument 3 has type ‘char *’ [-Wformat=]
 1014 |                 errx("Command exceeds buffer size (%zu): %s\n",
      |                      ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
 1015 |                         gh->cmd_buff, sizeof gh->cmd_buff);
      |                         ~~~~~~~~~~~~
      |                           |
      |                           char *
util.h:93:41: note: in definition of macro ‘errx’
   93 |                         fprintf(stderr, __VA_ARGS__); \
      |                                         ^~~~~~~~~~~
gdb.c:1014:54: note: format string is defined here
 1014 |                 errx("Command exceeds buffer size (%zu): %s\n",
      |                                                    ~~^
      |                                                      |
      |                                                      long unsigned int
      |                                                    %s
In file included from gdb.c:31:
gdb.c:1014:22: warning: format ‘%s’ expects argument of type ‘char *’, but argument 4 has type ‘long unsigned int’ [-Wformat=]
 1014 |                 errx("Command exceeds buffer size (%zu): %s\n",
      |                      ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
 1015 |                         gh->cmd_buff, sizeof gh->cmd_buff);
      |                                       ~~~~~~~~~~~~~~~~~~~
      |                                       |
      |                                       long unsigned int
util.h:93:41: note: in definition of macro ‘errx’
   93 |                         fprintf(stderr, __VA_ARGS__); \
      |                                         ^~~~~~~~~~~
gdb.c:1014:59: note: format string is defined here
 1014 |                 errx("Command exceeds buffer size (%zu): %s\n",
      |                                                          ~^
      |                                                           |
      |                                                           char *
      |                                                          %ld

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.