purduesigbots / pros

Source code for PROS kernel: open source C/C++ development for the VEX V5 microcontroller
https://pros.cs.purdue.edu
Other
259 stars 76 forks source link

Warning: bin/hot.package.elf has a LOAD segment with RWX permissions #538

Closed hiibolt closed 1 year ago

hiibolt commented 1 year ago

PROS-CLI

Steps to reproduce:

Enter nix-shell with the following environment. { pkgs ? import <nixpkgs> {} }:; pkgs.mkShell rec { buildInputs = with pkgs; [ python310 gcc-arm-embedded git ]; shellHook = '' source enviro/bin/activate pros mut ''; } Program compiles fine, but I would like to run the --fatal-warnings flag, which this prevents.

System information:

Robot:

Platform: V5 V5: Up-to-date

System:

OS: NixOS Specs: Intel i7-1265P, 16gb DDR5 PROS Toolchains/CLI: Up-to-date

Screenshots/Output Dumps/Stack Traces

image

mattfbacon commented 1 year ago

Likely the solution is to simply disable this warning. The vulnerability that it is warning about is simply not a concern here.