OpenBSD CVS

CVS log for src/usr.sbin/crunchgen/elf_hide.c


[BACK] Up to [local] / src / usr.sbin / crunchgen

Request diff between arbitrary revisions


Default branch: MAIN


Revision 1.11 / (download) - annotate - [select for diffs], Sun Oct 29 08:45:53 2017 UTC (6 years, 7 months ago) by mpi
Branch: MAIN
CVS Tags: OPENBSD_7_5_BASE, OPENBSD_7_5, OPENBSD_7_4_BASE, OPENBSD_7_4, OPENBSD_7_3_BASE, OPENBSD_7_3, OPENBSD_7_2_BASE, OPENBSD_7_2, OPENBSD_7_1_BASE, OPENBSD_7_1, OPENBSD_7_0_BASE, OPENBSD_7_0, OPENBSD_6_9_BASE, OPENBSD_6_9, OPENBSD_6_8_BASE, OPENBSD_6_8, OPENBSD_6_7_BASE, OPENBSD_6_7, OPENBSD_6_6_BASE, OPENBSD_6_6, OPENBSD_6_5_BASE, OPENBSD_6_5, OPENBSD_6_4_BASE, OPENBSD_6_4, OPENBSD_6_3_BASE, OPENBSD_6_3, HEAD
Changes since 1.10: +2 -2 lines
Diff to previous 1.10 (colored)

Prefer <elf.h> to the non portable <sys/exec_elf.h>.

ok jca@, deraadt@

Revision 1.10 / (download) - annotate - [select for diffs], Thu Aug 20 22:39:29 2015 UTC (8 years, 9 months ago) by deraadt
Branch: MAIN
CVS Tags: OPENBSD_6_2_BASE, OPENBSD_6_2, OPENBSD_6_1_BASE, OPENBSD_6_1, OPENBSD_6_0_BASE, OPENBSD_6_0, OPENBSD_5_9_BASE, OPENBSD_5_9
Changes since 1.9: +3 -3 lines
Diff to previous 1.9 (colored)

stdlib.h is in scope; do not cast malloc/calloc/realloc*
ok millert krw

Revision 1.9 / (download) - annotate - [select for diffs], Sun Jan 18 05:30:58 2015 UTC (9 years, 4 months ago) by guenther
Branch: MAIN
CVS Tags: OPENBSD_5_8_BASE, OPENBSD_5_8, OPENBSD_5_7_BASE, OPENBSD_5_7
Changes since 1.8: +3 -6 lines
Diff to previous 1.8 (colored)

The world is ELF: use <sys/exec_elf.h> instead of <a.out.h> or <sys/exec.h>
Use a better test for an input being ELF: struct exec is dead and there are
defines for the ELF magic.  Reorder #includes and do some whitespace cleanup.
Oh, and don't lead the fd if an input file isn't ELF.

ok deraadt@

Revision 1.8 / (download) - annotate - [select for diffs], Tue May 20 01:25:24 2014 UTC (10 years ago) by guenther
Branch: MAIN
CVS Tags: OPENBSD_5_6_BASE, OPENBSD_5_6
Changes since 1.7: +2 -2 lines
Diff to previous 1.7 (colored)

Use errc/warnc to simplify code.
Also, in 'ftp', always put the error message last, after the hostname/ipaddr.

ok jsing@ krw@ millert@

Revision 1.7 / (download) - annotate - [select for diffs], Tue Nov 12 19:48:40 2013 UTC (10 years, 6 months ago) by deraadt
Branch: MAIN
CVS Tags: OPENBSD_5_5_BASE, OPENBSD_5_5
Changes since 1.6: +7 -4 lines
Diff to previous 1.6 (colored)

add missing protos

Revision 1.6 / (download) - annotate - [select for diffs], Tue Jul 20 02:08:15 2010 UTC (13 years, 10 months ago) by deraadt
Branch: MAIN
CVS Tags: OPENBSD_5_4_BASE, OPENBSD_5_4, OPENBSD_5_3_BASE, OPENBSD_5_3, OPENBSD_5_2_BASE, OPENBSD_5_2, OPENBSD_5_1_BASE, OPENBSD_5_1, OPENBSD_5_0_BASE, OPENBSD_5_0, OPENBSD_4_9_BASE, OPENBSD_4_9, OPENBSD_4_8_BASE, OPENBSD_4_8
Changes since 1.5: +1 -4 lines
Diff to previous 1.5 (colored)

delete unused variable

Revision 1.5 / (download) - annotate - [select for diffs], Fri Dec 4 04:59:48 2009 UTC (14 years, 6 months ago) by drahn
Branch: MAIN
CVS Tags: OPENBSD_4_7_BASE, OPENBSD_4_7
Changes since 1.4: +4 -27 lines
Diff to previous 1.4 (colored)

Change crunchgen to mangle names in sequence instead of randomly,
save the sequence numbers between runs, currently uses file 'mangledata'
this may be changed to be specified on the command line later.
Requested by Theo.

Revision 1.4 / (download) - annotate - [select for diffs], Mon Nov 2 23:59:29 2009 UTC (14 years, 7 months ago) by deraadt
Branch: MAIN
Changes since 1.3: +4 -5 lines
Diff to previous 1.3 (colored)

that is not a small hack, it is big and gruesome and has very bad effects

Revision 1.3 / (download) - annotate - [select for diffs], Mon Nov 24 17:23:26 2008 UTC (15 years, 6 months ago) by drahn
Branch: MAIN
CVS Tags: OPENBSD_4_6_BASE, OPENBSD_4_6, OPENBSD_4_5_BASE, OPENBSD_4_5
Changes since 1.2: +21 -25 lines
Diff to previous 1.2 (colored)

Change mips detection in crunchgen from ifdef to command line flag
ok deraadt@, fkr@, rainer@. manpage cleanup thanks to jmc@

Revision 1.2 / (download) - annotate - [select for diffs], Mon Sep 8 20:42:24 2008 UTC (15 years, 9 months ago) by deraadt
Branch: MAIN
Changes since 1.1: +5 -3 lines
Diff to previous 1.1 (colored)

clean warnings on all architectures

Revision 1.1 / (download) - annotate - [select for diffs], Fri Aug 22 15:18:55 2008 UTC (15 years, 9 months ago) by deraadt
Branch: MAIN

Merge crunchgen & crunchhide (using name checking), and move to usr.sbin
next step is to not install it as two programs, but be even more clever

This form allows you to request diff's between any two revisions of a file. You may select a symbolic revision name using the selection box or you may type in a numeric name using the type-in text box.