Added open_file for ARM
Better constant handling for shellcraft